View Single Post
  #19  
Old 02-09-2006, 12:55 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
well.. what would make sense would be to enable making creating level links and signs from NPCs, and then a sort of levelsave() function. It would also be good if you could also create an NPC of "classname" or no class.

What would be the most awesome is if you could, in the level file, if it could interpret some kind of syntax like

IL CLASSNAME params[0][0] params[0][1]
IL being in line
or

CLASSNAME params[0][0] params[0][1]
params[1][0]
params[1][1]
params[1][2]
CLASSNAMEEND

Like, with level links

LINK levelname x y w h newx newy

where the params are loaded both serverside and clientside, and the class can handle initialization outside of their events... or perhaps load the params in the event created perhaps?

It would make stuff a lot more readable in text files, and probably a lot easier for tile editing. Like, if lights were made into a class

LIGHT imagename x y zoom r g b a

and then you could have like a sort of dropdown menu for hiding different groups of NPCs. Would be so useful (although you can already detect joined classes, I think this would be especially useful for editing as text, which I do a lot of)
Reply With Quote