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 09-19-2001, 07:31 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
Map

if (playerenters) {
setmap graalmap.png, map.txt, x,y;
}

Why does'nt that work?
i have map.txt and graalmap.png in the same directly as all the levels so.... ;\
Reply With Quote
  #2  
Old 09-19-2001, 07:36 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Re: Map

Quote:
Originally posted by Merlin
if (playerenters) {
setmap graalmap.png, map.txt, x,y;
}

Why does'nt that work?
i have map.txt and graalmap.png in the same directly as all the levels so.... ;\
like does the levels connect or does it just not show the map (mabie the maps .png is like wronge cuz I do that all hte time and it doesn't show the map because it has to many colors I think 24 bit png, I dont think it supports that)
__________________
Thanks,
-KJL
Reply With Quote
  #3  
Old 09-19-2001, 07:42 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
Re: Re: Map

Quote:
Originally posted by KJS


like does the levels connect or does it just not show the map (mabie the maps .png is like wronge cuz I do that all hte time and it doesn't show the map because it has to many colors I think 24 bit png, I dont think it supports that)
it connects its basic i just generated it
Reply With Quote
  #4  
Old 09-19-2001, 07:45 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
so the levels are connecting (meaning nothing is wrong with the txt file)....

but then it is the picture (what I always to is convert it to a .gif then use graals gif2mng program to convert it into a png... I do that even if it is already a .png)

it also could be that you have 2 file names the same...
__________________
Thanks,
-KJL
Reply With Quote
  #5  
Old 09-19-2001, 07:49 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
It's this script
if (playerenters) {
setmap graalmap.png, bigmap.txt, x,y;
}

with this image
Attached Thumbnails
Click image for larger version

Name:	graalmap.png
Views:	153
Size:	26.9 KB
ID:	4572  
Reply With Quote
  #6  
Old 09-19-2001, 07:50 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by Merlin
It's this script
if (playerenters) {
setmap graalmap.png, bigmap.txt, x,y;
}

with this image
just try making it a gif then do it...

and if that works then use graals gif2mng converter
__________________
Thanks,
-KJL
Reply With Quote
  #7  
Old 09-19-2001, 07:50 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
and this txt
Attached Files
File Type: txt bigmap.txt (2.3 KB, 125 views)
Reply With Quote
  #8  
Old 09-19-2001, 07:52 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
i changed to gif and it worked thanks
Reply With Quote
  #9  
Old 09-19-2001, 07:55 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by Merlin
i changed to gif and it worked thanks
see now you can use the gif2mng program graal supplies...

the reason I think it doesn't work with the file graal creates for the map is because I think the png that the game makes is 24 bit and I dont think graal supports 24 bit...
__________________
Thanks,
-KJL
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:43 AM.


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