Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Its BoneCrusher I need help........ (https://forums.graalonline.com/forums/showthread.php?t=15421)

Jonnyb504 10-25-2001 07:24 AM

Its BoneCrusher I need help........
 
Hey first how do i make a map I know it to somewhat of an exstent but its not working also does anyone have a wrking mine script that i can look off of......cause i almost got the script workin but im having problems with the strings...

nyghtGT 10-26-2001 03:37 AM

ok ....
 
here is how ...
NPC Code:

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.


ssjg2k123 10-26-2001 06:46 AM

:megaeek:

Python523 10-26-2001 09:38 AM

Quote:

Originally posted by ssjg2k123
:megaeek:
-_-'
Please do us all a favor and stop spaming and go jump off a cliff

Jonnyb504 11-03-2001 10:31 AM

thnx man!


All times are GMT +2. The time now is 11:37 PM.

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