View Single Post
  #5  
Old 12-29-2003, 09:24 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by Kigan
If you're talking different map's for different levels, just make an NPC that uses the level name. If you have a common naming scheme like "overworld-0,1.graal" set up the npc to set the map for all levels begining with "overworld" to overworld.txt or gmap or w/ever. If your working offline, you could make it a toweapons NPC.

Thats the way I've always done it, but then again, this was before the level generator or the nw level format, I'm sure a lot has changed.
Huh? I have an NPC in a level with this...

NPC Code:

//#CLIENTSIDE
if (playerenters) {
setmap bella_angler.png,bella_angler.txt,9.7,15.3;
}



And the text file says this:

Quote:
"bella_angler2.nw","bella_angler3.nw"
When I go into edit mode in bella_angler2.nw and hit 'M' it says the thing about "This may take a while" I hit OK, and the save as window comes up, but it doesn't read the txt file... The file is in the same directory as the levels...


EDIT: It seems to be working now... I don't know what I did... Perhpas the .txt was in the wrong directory... Though I still believe that you should be able to choose the .txt file from a browser window, it would make this a lot less frustrating...
Reply With Quote