View Single Post
  #12  
Old 05-27-2002, 02:40 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
Make an NPC first, usualy the map goes in your system NPC:

-----------------------------
// NPC made by Urizen (Admin)

if (created) {
setmap ,overworld_map.txt,,;
setminimap ,overworld_map.txt,,;
}

if (playerenters) {
if (!isweapon) {
toweapons -system-;
}
}

-----------------------------

*Note that creating the NPC with "-"'s arround the name makes it hidden.

your overworld_map.txt should contain the levels in order:

e.g. for a 4 level map (2 x 2) your map file would contain:
-----------------------------

"overworld_0,0.graal","overworld_1,0.graal"
"overworld_0,1.graal","overworld_1,1.graal"

-----------------------------

you can also set images for your map's most people now-a-days leave the "m" map image blank, but add one for the mini-map. I like to do both.

Here is an example of the modified system NPC with map images:

-----------------------------
// NPC made by Urizen (Admin)

if (created) {
setmap big-map-image.png, overworld_map.txt,0,0;
setminimap mini-map-image.png, overworld_map.txt,0,0;
}

if (playerenters) {
if (!isweapon) {
toweapons -system-;
}
}

-----------------------------

Hope that helped a little.

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