hello, I am making a mod with many new units. in the troop.txt file, you can assign troops different uniforms. however, how do I give the units a custom skin?
I have created a skin called 'british_64th_ranker.dds' but when I assign the unit the uniform ( [itm_british_64th_ranker,...]) and then run the build, it doesn't work! it says that it is invalid! please help!
You should look around for some basic tutorials before attempting to do this. But main workflow (if you're talking about adding completely new clothes and not just reskin) goes like this:
- Use openBRF to import new model (if any), texture and create new material. Setup the material to use the new texture(s) and the model to use the new material.
- In items.txt or module_items.py add a new item to the list, and make sure it references the new model by the name you gave it in openBRF (the 3d mesh model itself, not the .dds texture). Look at other clothes items for examples.
- In troops.txt or module_troops.py equip the troop with the new clothes item by referencing it by the name you gave it in items.txt
If you're not sure about how to do some of these steps you should really look more into basic tutorials, search around these forums.