Hi! Now I'm trying a little extra things before I'm going to release Zero, and one was reskinning the various droid units. I used 'overridetexture' function, and setclassproperty in the script, and included the texture called for in the script in the same side as the unit, but no succes. Ingame, it has no texture. Then i remembered someone saying that including a skin in the world's .lvl file will override the original one. Tried it, still no succes. Is there a way to change the skin for one unit in every script/map, without making new ODFs, REQs and localisations?
Thanks
Overiding skin in different levels
Moderator: Moderators
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Overiding skin in different levels
Sorry, I won't be online again as fast as I had first thought... *(in reference to a disconnected XFire chat)
Just like units are read in from a side file, use ReadDataFile() to read in your custom skin.
I don't know about world lvl files, but using a custom ingame.lvl or common.lvl overrides the items in those files.
Just like units are read in from a side file, use ReadDataFile() to read in your custom skin.
I don't know about world lvl files, but using a custom ingame.lvl or common.lvl overrides the items in those files.
