Try adding a weapon named '-Tiles' .
In the script put
HTML Code:
//#CLIENTSIDE
function onCreated()
{
removetiledefs(" ");
addtiledef "TILENAMEHERE","","";
}
Then apply the weapon to add it.
Next edit that atts of your guy and click the 'Weapons' tab and type int he name you gave the script you just made. (Should be -Tiles if you named it what I said up top) Then make sure you tiles are uploaded in the levels/images folder just to make sure that they are there. Now your tiles should properly show up in your playerworld.
More Advanced: If you want different Tiles for different GMaps, then in the tile script put
HTML Code:
//#CLIENTSIDE
function onCreated()
{
removetiledefs(" ");
addtiledef "TILENAMEHERE","GMAP NAME","1";
}
So if I have a Gmap that is named ovrwld-1_ and another Gmap named ovrwld-2_ and I wanted ovrwld-1_ to have tiles named winter_tileset.png and I want ovrwld-2_ Gmap to have tiles summer_tileset.png. then in my script I would put
HTML Code:
//#CLIENTSIDE
function onCreated()
{
removetiledefs(" ");
addtiledef "winter_tileset.png","ovrwld-1_","1";
addtiledef "summer_tileset.png","ovrwld-2_","1";
}
Now both of those diff Gmaps will have two different tilesets.
If I'm wrong on any of this please correct me.
Well if you have any problems with these tiles still not working forum PM me.
(NOTE: Don't forget to add the weapons/NPC you just made to your atts on your player. You can have the npc added automatically upon login. If you need help with that forum PM me also, I would be glad to help you
)