Graal Forums  

Go Back   Graal Forums > PlayerWorlds > PlayerWorlds Main Forum
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
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
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 07:40 AM.


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