Jump to content

What Tool's/Programs do you need to mod?


MythyCool
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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/

 

  • Like 1
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

explorer.png

  • Like 2
Link to comment
Share on other sites

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.

explorer.png

Thank you so much I found them thank you!!!

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...