View Single Post
  #2  
Old 05-03-2003, 01:52 AM
Jeff Jeff is offline
Registered User
Join Date: Oct 2002
Location: Nebraska, USA
Posts: 707
Jeff is on a distinguished road
Re: Level Modification Scripting Command Suggestions

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

Use tiles alteration.


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)


Copylevel already exists.


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


It's not that hard to do as is.

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


Warpto and putnpc2.

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

Use NPCs and/or a custom movement system


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

Security hazard.
__________________
Jeff, the Archduke of Dustari
Member of the LAT on Graal The Adventure
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GO d+ s++:+ !a C++ UL+(UL+++)@ P+ L+(++)>+++ E---- W++@ N- !o ?K w(w--) !O !M@ !V PS- PE+ Y PGP t+ 5 X R tv(tv+) b++(b+)>b++++ DI(DI+) D-- G e->e++++ h! !r y
------END GEEK CODE BLOCK------
Reply With Quote