Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-29-2001, 10:27 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
Unhappy 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?
Reply With Quote
  #2  
Old 10-30-2001, 02:26 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
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.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #3  
Old 10-30-2001, 06:50 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
its gif man...thats 256 and still dont work
Reply With Quote
  #4  
Old 10-30-2001, 08:22 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
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.
Reply With Quote
  #5  
Old 10-30-2001, 08:24 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
use gif


I use gifs because they are a lot easier then pngs and can be modified through paint whereas png's cannot.
Reply With Quote
  #6  
Old 10-30-2001, 08:54 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
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....
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 10:47 AM.


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