Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Map setting. (https://forums.graalonline.com/forums/showthread.php?t=35394)

Magicks 08-08-2002 06:32 PM

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

amonrabr 08-08-2002 08:13 PM

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

zorakid2001 08-10-2002 01:55 AM

<N00b question>how do u make a map?</N00b question>

i really needta know

amonrabr 08-11-2002 06:13 AM

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

^_^

zorakid2001 08-11-2002 10:04 AM

Thats cool thanks!


All times are GMT +2. The time now is 01:04 AM.

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