Cringe Posted October 4, 2021 Report Share Posted October 4, 2021 Doing some digging around in the game files i found some DDS files for Kushite female support units, and was trying to swap all of the existing models/deviations in favor of having all spawn as the exact same model. I found a way to swap the textures (or so i think) by going into public>art>textures>skins>skeletal, and then swapping all textures available for the one i want and then renaming them appropriately. problem is, as soon as i start the game, all Kushite models without the white dress remain their original physical model, but are now pink. any idea as to where i can find the models for these units and also change them if that will fix the issue? Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted October 4, 2021 Report Share Posted October 4, 2021 @Stan` Quote Link to comment Share on other sites More sharing options...
Langbart Posted October 4, 2021 Report Share Posted October 4, 2021 1 hour ago, Cringe said: and was trying to swap all of the existing models/deviations in favor of having all spawn as the exact same model. If you just want them all to look the same, try using the actor files by reducing variants. public/art/actors/units/kushites/female_citizen.xml public/art/actors/props/units/heads/head_kush_fem_light.xml 2 Quote Link to comment Share on other sites More sharing options...
Stan` Posted October 4, 2021 Report Share Posted October 4, 2021 You can also use the limit variation option in the menu Quote Link to comment Share on other sites More sharing options...
Cringe Posted October 4, 2021 Author Report Share Posted October 4, 2021 12 hours ago, Langbart said: If you just want them all to look the same, try using the actor files by reducing variants. public/art/actors/units/kushites/female_citizen.xml public/art/actors/props/units/heads/head_kush_fem_light.xml Thanks for your response, I updated the XML files, and I believe it worked, but I hit a problem after the jmod file didn’t work. I tried changing it to everything but the game wouldn’t let me past the mod selection screen. Any idea as to how I can fix this? I tried having the modification in the public folder and as a seperate folder in the mods folder Quote Link to comment Share on other sites More sharing options...
Langbart Posted October 5, 2021 Report Share Posted October 5, 2021 (edited) 7 hours ago, Cringe said: the jmod file didn’t work By jmod do you mean the mod.json file? You can just copy the file from another mod, for example the 0ad-space mod, and make small changes to it. It should look similar to this, be sure to use the correct brackets. Add the mod to your 0ad mods folder (see wiki/GameDataPaths). If you created the mod.json file correctly and placed the files in the right place, you should now be able to activate the mod in the mod selection and see your changes in the game. Edit1 15 hours ago, Stan` said: You can also use the limit variation option in the menu @Cringe Since A25 there is an option called "Model appearance randomization" which makes each structure/unit look uniform. Edited October 5, 2021 by Langbart added Edit1 comment 1 Quote Link to comment Share on other sites More sharing options...
Cringe Posted October 5, 2021 Author Report Share Posted October 5, 2021 21 hours ago, Langbart said: By jmod do you mean the mod.json file? You can just copy the file from another mod, for example the 0ad-space mod, and make small changes to it. It should look similar to this, be sure to use the correct brackets. Add the mod to your 0ad mods folder (see wiki/GameDataPaths). If you created the mod.json file correctly and placed the files in the right place, you should now be able to activate the mod in the mod selection and see your changes in the game. Edit1 @Cringe Since A25 there is an option called "Model appearance randomization" which makes each structure/unit look uniform. Thanks, the mod.json file worked, but ive hit another problem. Even with the mod enabled there is absolutely no change to the variation, despite me going back and changing the actor files several times. Do you know what specifically within the actor files i should change to make this work? Below ive made a quick list of how i made the mod 1. opened the mods folder and made an exact copy of "public" 2. modified public so that there is nothing but the art folder, within that is units > kushite and finally a lone XML file for the female unit 3. Opened the XML file and changed the variation value (ive attached a poorly drawn photo showing the lines that i toyed with) 4. after changing the variation lines i closed the XML, made sure that windows didnt turn it into a TXT for no random reason, backed out and then compressed the whole mod back into a zip, as well as slapping a copy of the public mod's json file that i appropriately renamed. Once again, I'd like to thank you for your time, i'm an idiot when it comes to code i know lol Quote Link to comment Share on other sites More sharing options...
Langbart Posted October 6, 2021 Report Share Posted October 6, 2021 Create a folder and recreate the folder structure, first the "art" folder, next "actors", next "units", next "kushites" and in the last folder you place the female_citizen.xml file. Download it from here: trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/art/actors/units/kushites/female_citizen.xml Add your mod.json file to it Enable the mod with the 0AD app Open the "Scenario Editor" and select the 4th icon called "Object", select "units/kush/support_female_citizen" and place some units on the field. Open the female_citizen.xml file from your mod and start making changes by deleting variants. The results should be visible immediately. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.