
03-31-2002, 02:25 PM
|
|
Banned
|
 |
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
|
|
|
1st: Make the map layout in a notepad '.txt' file. The levels should
be arranged in this format:
"level1.graal","level2.graal","level3.graal" and so on ....
The above means that the level to the left of level2 is level1 and
the level to the right of level1 is level2. For levels above each
other you do ...
"level1.graal"
"level1-1.graal"
The above means that the level to the top of level1-1 is level1
and the level to the bottom of level1 is level1-1. Together they
make something like this ...
"level1.graal","level2.graal"
"level1-1.graal","level2-1.graal"
Say you have 8 levels and you dont have a level to the left of
level1 untill you rech level3. For empty level spacs you use "".
This interprets an empty space. Below is how you would map
them levels ...
"level1.graal","","level3.graal"
"level1-1.graal","level2-1.graal","level3-1.graal"
"level1-1.graal","level2-1.graal","level3-1.graal"
Finally save yur map in your 'Graal2001\maps' folder.
2nd: Making the map.gif is easy ... just make a .gif completely
black and around 1864x1864 and save it in your 'Graal2001
\maps' folder as graalmap.gif. Then load graal and make an NPC
with the following code.
NPC Code:--------------------------------------------------------------------------------if (created) {
setmap graalmap.gif,txt-filename.txt,1,1;
}
--------------------------------------------------------------------------------
Once that is done ave the level play it then load the editor again.
Then press 'm' with the editor open. Say yes and the levels
contained within the txt should flash in the editor screen briefly
and once it is done save yor map and voila you gotta map. |
|
|
|