Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #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
  #3  
Old 05-03-2003, 02:33 AM
Falados Falados is offline
Cucumber NPC
Falados's Avatar
Join Date: Jan 2003
Posts: 141
Falados is on a distinguished road
Send a message via ICQ to Falados Send a message via AIM to Falados
Re: Re: Level Modification Scripting Command Suggestions

Quote:
Originally posted by Jeff

Security hazard.
Not if it is serverside, unless someone Hacks RC and does it, but who would do that when they have the FTP right infront of them?
__________________

subliminal message: 1+1=3
Reply With Quote
  #4  
Old 05-03-2003, 03:06 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
createlevel could be cool, but I dunno if it could support something like that, 4096 size array =.. big o.o
__________________

Reply With Quote
Reply


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 03:01 PM.


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