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?
|
All times are GMT +2. The time now is 05:14 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.