I've been enjoying playing 0AD recently, so I thought I'd try my hand at modding. I thought I'd start simple, and because I always find that I've not built enough houses, I thought I'd tweak the population bonus of the civic centre template. I've created a mod with the required mod.json and ./simulation/templates/template_structure_civic_civil_centre.xml. It works, in the sense that the population bonus is higher when I run the game with the mod. But it seems to break all the unit/structure right click info windows. Loads of error messages pop up in the game console when I right click on a unit icon in a build menu. I've seen some mention in the modding guide of having to save/reload, but that wasn't 100% clear. In any case I've opened/closed 0AD several times.
Game version is 0.27.1, running on Linux Mint.
How do I get the error messages outside of 0AD? I hoped there'd be some logs in ./local/share/0ad, but can't see anything in there.
Grateful for any help.
Also, on newbies starting modding, the user experience / guidance could probably do with some tweaking. My route into modding was to use the in-game mod.io downloader. I then tested the mod to see if it was working in the game. Then went into ./local/share/0ad/mods to edit it. I extracted the zip file and started playing around. No effect. I figured the game engine reads from the zip rather than folders by default, so I deleted the zip. And then the mod doesn't do anything any more. I finally realised that extracting the zip downloaded via mod.io doesn't generate the right folder structure. I think the below line from the tutorial is trying to get at this point, but it's not the clearest, particularly given the common definition of zip bomb: https://en.wikipedia.org/wiki/Zip_bomb.
If you extract the mod so you can further work on it beware a properly packaged mod is a zip-bomb.