|
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... |