MythyCool Posted January 9, 2019 Report Share Posted January 9, 2019 I'm looking to see what I would need for adding new civilizations without changing animations or unit stats? Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 9, 2019 Report Share Posted January 9, 2019 In this case any advanced text editor such as notepad++, vscode, sublime, emacs, vim will be enough. Happy modding. 1 Quote Link to comment Share on other sites More sharing options...
asterix Posted January 9, 2019 Report Share Posted January 9, 2019 Also look here on how we develop our mods https://github.com/0ADMods Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 1 hour ago, asterix said: Also look here on how we develop our mods https://github.com/0ADMods how do i get to files for units and civs i cant seem to find them? Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 1 hour ago, stanislas69 said: In this case any advanced text editor such as notepad++, vscode, sublime, emacs, vim will be enough. Happy modding. thank you for your help i cant find the files for the units and civs im on windows. 1 hour ago, asterix said: Also look here on how we develop our mods https://github.com/0ADMods im on windows. Quote Link to comment Share on other sites More sharing options...
feneur Posted January 9, 2019 Report Share Posted January 9, 2019 1 minute ago, MythyCool said: thank you for your help i cant find the files for the units and civs im on windows. im on windows. 4 https://trac.wildfiregames.com/wiki/Modding_Guide is a good place to start, as well as https://trac.wildfiregames.com/wiki/Mod_Layout for where to find which files (you only need to include the folders/files you are modifying, no need to have it all if you are just editing parts of it, but it's probably a good idea to read through it all anyway so you know what is available). There isn't just one file which contains everything for one civilization though, so the best way to learn what you can do/need to edit to do what you want is probably to go through a few different files. A good start is probably the civ files in binaries\data\mods\public\public.zip\simulation\data\civs and the unit files in binaries\data\mods\public\public.zip\simulation\templates and more specifically in binaries\data\mods\public\public.zip\simulation\templates\units . The files inherit from other files, so something might be defined in one file, and then another file builds upon it - or changes something - so you don't need to add everything for every unit in every file, but it does mean that you might need to go "higher up in the chain" to see some specific data, if you only want to change for example the unit information but not the stats it's probably mostly going to be the most specific files you want to edit. 1 Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 9 minutes ago, feneur said: https://trac.wildfiregames.com/wiki/Modding_Guide is a good place to start, as well as https://trac.wildfiregames.com/wiki/Mod_Layout for where to find which files (you only need to include the folders/files you are modifying, no need to have it all if you are just editing parts of it, but it's probably a good idea to read through it all anyway so you know what is available). There isn't just one file which contains everything for one civilization though, so the best way to learn what you can do/need to edit to do what you want is probably to go through a few different files. A good start is probably the civ files in binaries\data\mods\public\public.zip\simulation\data\civs and the unit files in binaries\data\mods\public\public.zip\simulation\templates and more specifically in binaries\data\mods\public\public.zip\simulation\templates\units . The files inherit from other files, so something might be defined in one file, and then another file builds upon it - or changes something - so you don't need to add everything for every unit in every file, but it does mean that you might need to go "higher up in the chain" to see some specific data, if you only want to change for example the unit information but not the stats it's probably mostly going to be the most specific files you want to edit. I was just try to do a copy and paste of a civilization already in the game im having the problem i dont know how to get to those files? Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 9, 2019 Report Share Posted January 9, 2019 They are usually on Windows in %localappdata%\0 A.D. Alpha\binaries\data\mods\public\public.zip. If you want to look at a standalone civ have a look at. https://github.com/0ADMods/HanChina You can download a zip version from here: https://github.com/0ADMods/HanChina/archive/master.zip You can also clone the repository from GitHub.com/0ad/0ad.git to get the latest version of the game. 1 Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 6 minutes ago, stanislas69 said: They are usually on Windows in %localappdata%\0 A.D. Alpha\binaries\data\mods\public\public.zip. If you want to look at a standalone civ have a look at. https://github.com/0ADMods/HanChina You can download a zip version from here: https://github.com/0ADMods/HanChina/archive/master.zip You can also clone the repository from GitHub.com/0ad/0ad.git to get the latest version of the game. I searched through my this PC section %localappdata%\0 A.D. Alpha\binaries\data\mods\public\public.zip and it didnt find anything Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 9, 2019 Report Share Posted January 9, 2019 Where did you install the game ? Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 3 minutes ago, stanislas69 said: Where did you install the game ? I downloaded the file as normal but the game i had to add a short cut to show from my games section in my left tool bar Quote Link to comment Share on other sites More sharing options...
Nescio Posted January 9, 2019 Report Share Posted January 9, 2019 You can also browse the most recent game files at https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/ If you want to add a civilization, at the very least you'll need to create a {civ}.json file and place it under simulation/data/civs/ You probably also want to have a look at the templates under simulation/templates/structures/ and ../units/ 1 Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 2 minutes ago, Nescio said: You can also browse the most recent game files at https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/ If you want to add a civilization, at the very least you'll need to create a {civ}.json file and place it under simulation/data/civs/ You probably also want to have a look at the templates under simulation/templates/structures/ and ../units/ should i re download the game in a different folder to see the files? Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 but thank you all for your help im sorry im a total noob to modding. Quote Link to comment Share on other sites More sharing options...
feneur Posted January 9, 2019 Report Share Posted January 9, 2019 15 minutes ago, MythyCool said: should i re download the game in a different folder to see the files? There should be no need to. If you didn't change anything when installing the game you should just be able to copy and paste %localappdata%\0 A.D. Alpha\binaries\data\mods\public\public.zip into the address field, then press enter, see the attached image. 2 Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 11 minutes ago, feneur said: There should be no need to. If you didn't change anything when installing the game you should just be able to copy and paste %localappdata%\0 A.D. Alpha\binaries\data\mods\public\public.zip into the address field, then press enter, see the attached image. Thank you so much I found them thank you!!! 1 Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 9, 2019 Author Report Share Posted January 9, 2019 I've always have learned things better with visual aid thanks. Quote Link to comment Share on other sites More sharing options...
MythyCool Posted January 12, 2019 Author Report Share Posted January 12, 2019 (edited) On 1/9/2019 at 4:00 AM, asterix said: Also look here on how we develop our mods https://github.com/0ADMods could you test this mod for me i added a civ called legendary this is just a test of what i can do at the moment but if you dont want to you dont Edited January 12, 2019 by MythyCool 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.