Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-03-2003, 12:53 AM
DarkDragoon_Lloyd DarkDragoon_Lloyd is offline
Registered User
Join Date: Aug 2002
Posts: 157
DarkDragoon_Lloyd is on a distinguished road
Send a message via AIM to DarkDragoon_Lloyd
Post Level Modification Scripting Command Suggestions

I am a LAT, but I am starting to get into scripting. Most of the scripts I am making right now modify levels using commands such as tiles[x,y]=array;. Here is a list of commands that I think should be added, which would give me way more freedom!

putobject objectname,x,y; this is already a command, but I think it needs to be modifyed to work online.

createlevel levelname,{array}; this command should be added, and it should create a new level(called levelname) using the array data given... Ex: createlevel levels/newlevel.nw,{0x54,0x55,0x56,0x57,0x58,0x59,0x64,0x 65,0x66,0x67,0x68,0x69,0xA6,0xA7,0xA8,0xA9... ... ...}; (didn't include whole array because it would take up too much space)

puttiles x,y,w,h,{tilearray}; does pretty much the same thing as tiles[x,y]=array; only you can change more than just 1 tile...

putnpc2 imgname,script,x,y,level; I dunno if putnpc2 is already used, so maybe putnpc3? But it should allow you to put NPCs in different levels...

settileproperties x,y,w,h,{properties array}; this would do the same thing as setshape2, only it would modify the tiles, so I could change the grass tiles to blocking or whatever, without chaning the tiles image...

savelevel levelname; Would upload the level to the harddisk, like, if I changed a level using tiles[x,y]=array;, I could send the new data to the hard disk so it would be a permanent change, and not just until the level is updated...
__________________
Quote:
Originally posted by protagonist
YES OF COURSE I AM SO MISTAKEN LOLOL I SUCK AT THE INTERNET!
Quote:
Originally posted by unixmad
Rome have not been build in 1 day !
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:35 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.