Thread: NPC Include
View Single Post
  #1  
Old 07-06-2002, 04:21 AM
iniquitus iniquitus is offline
Oldbie
Join Date: Dec 2001
Location: Maine
Posts: 606
iniquitus is on a distinguished road
Send a message via AIM to iniquitus
NPC Include

A way to include files into NPC's, e.g:

you have your system.txt organised into time.txt, daynight.txt, map.txt, message.txt, and music.txt, your system.txt, which would be the actual NPC would be something like:

if (created) {

toweapons -system-;

include time.txt;
include daynight.txt;
include map.txt;
include message.txt;
include music.txt;

}

If this is alredy possible, let me know, I just think it would be nice for organisational purpouses, also, a file extention for npc scripts would be good too, like .npc or maybe .gs (graal script, not to be confused with ghost script)

maybe a way to compile npc's too, .gsc (graal script compiled) and .gss (graal script source) maybe not... i dont think it's needed, unless it would add speed and reduce server load. (less lag)

what about .gss (graal server script) i like that one. sounds alot beter than "non playing charector" or whatever it is

Urizen
__________________
What am I still doing here?
Reply With Quote