Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-13-2007, 05:07 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Problem with making offline map of world

I made a map offline of a world that I made just to play around with. The first time that I made the map, I was using the regular tileset (pics1), and the map was created fine, but I changed the tileset to a different one, and put a npc on the first level with this in it:

if (created) {removetiledefs;
addtiledef tilesetnamehere.png,,0;
}

where the tilesetnamehere is the name of the tileset I am using.

I also have an npc on the first level with this in it:

if (created) loadmap mgworld;

As I said, everything was fine until I starting using a different tileset. Now when I make a map, the colors go all crazy.

Any idea why?
Attached Thumbnails
Click image for larger version

Name:	graalmap.png
Views:	97
Size:	114.7 KB
ID:	42420  
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #2  
Old 08-13-2007, 05:15 PM
pooper200000 pooper200000 is offline
The Blackswan
Join Date: May 2006
Location: Asylum
Posts: 5,060
pooper200000 will become famous soon enough
Send a message via AIM to pooper200000
Try posting it in your offline tileset? offlinetiles.txt or somethign like that
__________________
Always Watching!
Reply With Quote
  #3  
Old 08-13-2007, 05:27 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by pooper200000 View Post
Try posting it in your offline tileset? offlinetiles.txt or somethign like that
It is already in my offline tiledef folder.

tilesetnamehere.png,,0,0,0
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #4  
Old 08-13-2007, 05:34 PM
Chompy Chompy is offline
»\(║_o)/»
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
try specify level prefix?
Also is the image the correct format etc.. (if png, is it indexed? etc..)
__________________
Reply With Quote
  #5  
Old 08-13-2007, 05:38 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by Chompy View Post
try specify level prefix?
Also is the image the correct format etc.. (if png, is it indexed? etc..)
I don't know what you mean by "specify level prefix"
The map format is correct, as it worked before I changed the tileset, and I checked it.

I just noticed that the offline txt tiledef doc was different then what I had in the npc, so I changed it in the txt, and it still does the same thing.

Below is the map before I started using a different tileset, both have the same properties. Both are 256 indexed (8bit):
Attached Thumbnails
Click image for larger version

Name:	mg_map.png
Views:	58
Size:	96.8 KB
ID:	42421  
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #6  
Old 08-13-2007, 05:44 PM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally Posted by Darlene159 View Post
I don't know what you mean by "specify level prefix"
The prefix to the filenames of all of the .nw files in your map.
__________________
- Jordan
Reply With Quote
  #7  
Old 08-13-2007, 05:47 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by haunter View Post
The prefix to the filenames of all of the .nw files in your map.
Never done it like that before. How would I add that, and where?
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #8  
Old 08-13-2007, 05:57 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 19,993
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Send a message via AIM to Crono
I think some of my .graal levels from an old ass backup do this sometimes.

Delete everything in your offline tiledefs .txt, it might work. Yes, I do mean "tilesetnamehere.png,,0,0,0" too. Wipe it clean.
__________________
Reply With Quote
  #9  
Old 08-13-2007, 06:02 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
if (created) {
removetiledefs;
addtiledef tilesetnamehere.png,prefix,0;
}
prefix would be whatever all the levels have as a common prefix. Like world_c-10.nw the prefix you would use would be world_. What this does is apply the tileset to every level that starts with world_, meaning the whole overworld and nothing else(unless you have more levels that start with world_.
Reply With Quote
  #10  
Old 08-13-2007, 06:37 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by Gerami View Post
I think some of my .graal levels from an old ass backup do this sometimes.

Delete everything in your offline tiledefs .txt, it might work. Yes, I do mean "tilesetnamehere.png,,0,0,0" too. Wipe it clean.
Quote:
Originally Posted by DustyPorViva View Post
if (created) {
removetiledefs;
addtiledef tilesetnamehere.png,prefix,0;
}
prefix would be whatever all the levels have as a common prefix. Like world_c-10.nw the prefix you would use would be world_. What this does is apply the tileset to every level that starts with world_, meaning the whole overworld and nothing else(unless you have more levels that start with world_.
Tried both, still does it.
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #11  
Old 08-13-2007, 06:47 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Hmm, happen to have a backpal set any where? That looks like the same effect as a backpal would create, and backpals and addtiledef don't seem to like each other.

Try setting
setbackpal yournewtileset.png;
Reply With Quote
  #12  
Old 08-13-2007, 06:49 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by DustyPorViva View Post
Hmm, happen to have a backpal set any where? That looks like the same effect as a backpal would create, and backpals and addtiledef don't seem to like each other.
Hmm, I will have to look. I know I have some light npc's in various places.

Edit> No backpals.
Most of this is only levels, as that is why I am making it, for level practice. The only thing I have are light npc's, and some treetop npc's
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #13  
Old 08-13-2007, 07:00 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Looks like it is having a rendering problem. Try re-downloading GraalEditor.exe or maybe you need to re-download some of the dlls (re-install Graal in another folder).
__________________
Do it with a DON!
Reply With Quote
  #14  
Old 08-13-2007, 07:23 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by zokemon View Post
Looks like it is having a rendering problem. Try re-downloading GraalEditor.exe or maybe you need to re-download some of the dlls (re-install Graal in another folder).
I just tried both of those, and it still doesn't work.
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #15  
Old 08-13-2007, 07:39 PM
Chompy Chompy is offline
»\(║_o)/»
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
hmm, I have no idea if this changes it, but, are you placing the scripts in the upper left corner?
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:20 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.