Reply to load_tile() bug
If you don't have an account, just leave the password field blank.
Category: Game Info
Version: 1.08+
Prototype:
void load_tile(string[191] tile_bmp, int tile_index);
load_tile replaces the tiles at tile_index with tile_bmp. By default, TS01.bmp through TS41.bmp are loaded into indexes 1-41. By default, this command will look in the D-Mod's tiles directory, and if tile_bmp cannot be found, it will look in Dink's tiles directory...
This only works if the tile sheet is in the DMOD's directory. It doesn't check the original Dink's tiles as said. I've tested this and I am 100% sure.
-I copied the darkland tiles to my DMOD's tiles section.
-I tested to make sure my code was right.
-All the tiles changed properly.
-I deleted them from my DMOD's tiles directory.
-The tiles no longer change.
I double-checked myself by putting the tiles back in my DMOD. They started working again. I didn't mess with any scripting or the map in between. I deleted them again. Now they stopped working again. It seems as if the tiles I'm loading need to be in the DMOD's directory.
Edit: This occurs in both aural+ and v1.08. Truecolor and non.
Version: 1.08+
Prototype:
void load_tile(string[191] tile_bmp, int tile_index);
load_tile replaces the tiles at tile_index with tile_bmp. By default, TS01.bmp through TS41.bmp are loaded into indexes 1-41. By default, this command will look in the D-Mod's tiles directory, and if tile_bmp cannot be found, it will look in Dink's tiles directory...
This only works if the tile sheet is in the DMOD's directory. It doesn't check the original Dink's tiles as said. I've tested this and I am 100% sure.
-I copied the darkland tiles to my DMOD's tiles section.
-I tested to make sure my code was right.
-All the tiles changed properly.
-I deleted them from my DMOD's tiles directory.
-The tiles no longer change.
I double-checked myself by putting the tiles back in my DMOD. They started working again. I didn't mess with any scripting or the map in between. I deleted them again. Now they stopped working again. It seems as if the tiles I'm loading need to be in the DMOD's directory.
Edit: This occurs in both aural+ and v1.08. Truecolor and non.






