adding tile defs are messed up compleatly...
If you add a tile def (addtiledef2 img,levelstart,x,y
1) It will never change back to the default tileset unless you log off
2) You can't use addtiledef or addtiledef2 again.
3) You can't use removetiledefs command either because it doesn't work.
Sample code
NPC Code:
//#CLIENTSIDE
if (playerenters) {
addtiledef2 tiles_kart.png,worldf-13,928,256;
addtiledef2 tiles_kart.png,worldg-13,928,256;
addtiledef2 tiles_kart.png,worlde-14,928,256;
addtiledef2 tiles_kart.png,worldf-14,928,256;
addtiledef2 tiles_kart.png,worldg-14,928,256;
addtiledef2 tiles_kart.png,worldf-15,928,256;
addtiledef2 tiles_kart.png,worldg-15,928,256;
}
Those tiles will stay on the tileset untill you log off.
They will effect any level you walk into, it doesn't matter what the levels starts with.
Places this happens are....
Kart Tracks
Halloween Area
Lazer Tag
Apple Bakeing
Here is a screen shot.
The level on the left side has the add tile def on it. However the one on the right is removing the tile defs from the kart level on the left. My graal character is in the level with the remove tile defs in it but the tile defs weren't removed.