Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Maps.... (https://forums.graalonline.com/forums/showthread.php?t=15725)

royce 10-29-2001 10:27 AM

Maps....
 
When I try to make a map when i open graal and go into it in the training mode and go into my level to edit..it takes 3 secs and saves a a big black image....but when i go into the folder which my levels are in and so open with...graal.exe and press m to load my map, it works....Why is that?

Tyhm 10-30-2001 02:26 AM

Either:
You neglected to play a level with the script if(playerenters) setmap map.png,map.txt,1,1;
OR
You did that part right, but you're trying to use the original, unedited, 16.7 million color png as your map image; you have to open it in Paint Shop Pro (Photoshop, whatever) and Reduce Color Depth to 256 for it to work.

royce 10-30-2001 06:50 AM

its gif man...thats 256 and still dont work

nyghtGT 10-30-2001 08:22 AM

Re: Maps....
 
Quote:

Originally posted by royce
When I try to make a map when i open graal and go into it in the training mode and go into my level to edit..it takes 3 secs and saves a a big black image....but when i go into the folder which my levels are in and so open with...graal.exe and press m to load my map, it works....Why is that?
ok ... do this ... make a really big gif (about 1864x1864) and make it completely black ... Then save it in your 'graal2001/maps' folder as graalmap.gif. Next make a txt with all your levels and stuff, (a map) you should know how to do this and save it in your maps folder as whatever you want as a txt. Then put a npc in one of the levels found on your map and include this in it:
NPC Code:

NPC Code:

if (created) {
setmap graalmap.gif,mapname.txt,1,1;
}





After you have done that play the level then press 'f4' then once in editor press 'm' and go through the process finally save the image and voila. If you followed me correctly you should have a map.

nyghtGT 10-30-2001 08:24 AM

use gif
 

I use gifs because they are a lot easier then pngs and can be modified through paint whereas png's cannot.

royce 10-30-2001 08:54 AM

lol my pw map is 2352x2352...i think i know the prob...i didnt put the text in the maps folder...so it dont work that way...but hwen i load the levels by using open with graal.exe it searches the script in that folder!! i think thats right....


All times are GMT +2. The time now is 05:54 AM.

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