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 08-08-2002, 06:32 PM
Magicks Magicks is offline
Registered User
Join Date: Aug 2002
Posts: 19
Magicks is on a distinguished road
Map setting.

Hm...

if (created)
setmap servermap.png,servermap.txt,0,0;

is not working it shows up all white..lol and i have a blank gif for it...so yeas i dunno
Reply With Quote
  #2  
Old 08-08-2002, 08:13 PM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Re: Map setting.

Quote:
Originally posted by Magicks
Hm...

if (created)
setmap servermap.png,servermap.txt,0,0;

is not working it shows up all white..lol and i have a blank gif for it...so yeas i dunno
The command is right, But probably you made the map pressing M on the level editor, right? So the image is on 24bits.. Try use some graphic program and change it to 8 bits, or export as .gif
Reply With Quote
  #3  
Old 08-10-2002, 01:55 AM
zorakid2001 zorakid2001 is offline
Banned
Join Date: Jul 2002
Location: Oregon USA <-- this place sux0rs
Posts: 113
zorakid2001 is on a distinguished road
Send a message via ICQ to zorakid2001 Send a message via AIM to zorakid2001
<N00b question>how do u make a map?</N00b question>

i really needta know
Reply With Quote
  #4  
Old 08-11-2002, 06:13 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Quote:
Originally posted by zorakid2001
<N00b question>how do u make a map?</N00b question>

i really needta know
hmmm...
first.. make a Text file.. X.x.. probably you saw one before.. try look into map folder of graal..

Put a npc as
if(created){setmap door.gif,<file you made>.txt,0,0;}
its temporary...

play on this level.. and press F4 to back to the level editor.. now you can delete the script because the map info is in the Ram memory.. Press "M" on the level editor.. It will make the whole map file.. and you can save it as "name".png ..
its a 24bits image, you have to change it to 8bits in a graphic program.. so you can add it to the graal..

to see the map offline you can add now the commands "setmap"and "setminimap".. but online you can add these commands in the server options

^_^
Reply With Quote
  #5  
Old 08-11-2002, 10:04 AM
zorakid2001 zorakid2001 is offline
Banned
Join Date: Jul 2002
Location: Oregon USA <-- this place sux0rs
Posts: 113
zorakid2001 is on a distinguished road
Send a message via ICQ to zorakid2001 Send a message via AIM to zorakid2001
Thats cool thanks!
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 09:18 PM.


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