Posted: Tue Aug 11, 2020 10:10 pm Post subject:
New mod feature in the latest patch
CCHyper clued me into a new feature in the latest patch that modders will be interested in.
The engine now supports a file called gameconstants_mod.xml that will be read and used to override gameconstants.xml.
If for example you want to override the zoom levels, you would make a gameconstants_mod.xml that contains something like this:
You then change the numbers to whatever you want (the above numbers are the stock settings)
When the game loads, it will use these settings in gameconstants_mod.xml instead of the stock settings in gameconstants.xml. The overwrite="true" bit is important to make it work.
You should be able to override anything in gameconstants.xml this way (although exactly how much of that is actually useful to override I dont know) QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum