Posted By: HellThunder
Save changed skin of an entity? - 09/27/13 16:46
Hi there!
I got a small problem with my Map Editor.
It has the ability to create Tiles as "*.wmb" with
After that the user can change the skin of the tile Object with
So far, so good.
This is the result of the ingame mapeditor.
After using "wwmp2wmb.exe" in order to save my map, I reload my map and all changed skins got lost.
Perhaps the ent_setskin function isn't the right way to my solution - I really don't know. I didn't found anything in the manual about this problem.
Is there any way to save the changed skin?
Or is there a way to place WMP file Format into a Map via Lite C?
Thanks in advance.
Marco
I got a small problem with my Map Editor.
It has the ability to create Tiles as "*.wmb" with
Code:
ent_create("Tile.wmb",a Vector,null);
After that the user can change the skin of the tile Object with
Code:
ent_setskin(TileEntity,Texture,1);
So far, so good.
This is the result of the ingame mapeditor.
After using "wwmp2wmb.exe" in order to save my map, I reload my map and all changed skins got lost.
Perhaps the ent_setskin function isn't the right way to my solution - I really don't know. I didn't found anything in the manual about this problem.
Is there any way to save the changed skin?
Or is there a way to place WMP file Format into a Map via Lite C?
Thanks in advance.
Marco