Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-25-2001, 07:24 AM
Jonnyb504 Jonnyb504 is offline
Registered User
Join Date: Oct 2001
Location: Louisiana
Posts: 9
Jonnyb504 is on a distinguished road
Send a message via AIM to Jonnyb504
Exclamation 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...
__________________
Reply With Quote
  #2  
Old 10-26-2001, 03:37 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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.


Last edited by nyghtGT; 10-26-2001 at 03:41 AM..
Reply With Quote
  #3  
Old 10-26-2001, 06:46 AM
ssjg2k123 ssjg2k123 is offline
Registered User
Join Date: Oct 2001
Location: USA
Posts: 85
ssjg2k123 is on a distinguished road
Send a message via AIM to ssjg2k123
__________________

Reply With Quote
  #4  
Old 10-26-2001, 09:38 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by ssjg2k123
-_-'
Please do us all a favor and stop spaming and go jump off a cliff
Reply With Quote
  #5  
Old 11-03-2001, 10:31 AM
Jonnyb504 Jonnyb504 is offline
Registered User
Join Date: Oct 2001
Location: Louisiana
Posts: 9
Jonnyb504 is on a distinguished road
Send a message via AIM to Jonnyb504
thnx man!
__________________
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 03:46 AM.


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