![]() |
Problem with making offline map of world
1 Attachment(s)
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? |
Try posting it in your offline tileset? offlinetiles.txt or somethign like that
|
Quote:
tilesetnamehere.png,,0,0,0 |
try specify level prefix?
Also is the image the correct format etc.. (if png, is it indexed? etc..) |
1 Attachment(s)
Quote:
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): |
Quote:
|
Quote:
|
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. |
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_. |
Quote:
Quote:
|
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; |
Quote:
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 |
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).
|
Quote:
|
hmm, I have no idea if this changes it, but, are you placing the scripts in the upper left corner?
|
Quote:
|
try? ;o
|
Hmm, did you try setting the backpal like:
setbackpal yournewtileset.png; |
Quote:
Quote:
|
Try just deleting the tiledefs folder (or renaming it) all together?
Are the invidual levels messed up or only once it's on a gmap? |
Quote:
Let me clarify...the levels, and the tileset only go screwy when I try to make a map. If I close it, then re-open, the levels are fine. |
Have you tried letting someone else try to make a map and see what happens? Post the level that it starts doing it in(in the map, warp to the first level that appears to be messed up, in the order the same as reading, left to right, up to down), and maybe we can find out what's causing it.
|
Quote:
|
Quote:
Edit> Ah, found the problem...it was a backpal that I didn't see, mixed with another npc. Thanks Dusty, and everyone else who tried to help. :D |
Quote:
|
Quote:
|
Quote:
|
I think it is a new map, but she copied a script from an older map, and didn't realize the setbackpal was in there.
|
Quote:
|
| All times are GMT +2. The time now is 09:09 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.