Skip navigation

moding (hegemony gold)

Forum NavigationHome > Forum Index > Hegemony > moding (hegemony gold)
Level 7 Human gamer
Alignment: True neutral
Posted on October 22, 2014 at 4:44 pm

how to make unit have a size of 8x8 (on default)?

Level 7 Extraplanar programmer
Alignment: Good
Posted on October 22, 2014 at 9:08 pm

If I may quote one of Rick's posts...
Hey guys,

If you really want to get your hands dirty, I've posted a compressor/decompressor for the entities file. Just download this .exe file, put it in your Entities folder, open a cmd window, and run this command:

BuildArchive entities.arc /X

That will create a "resources" folder, which you can mess with. To recompress, run:

BuildArchive entities.arc /I "resources/" /O "resources/" "entities/*.xnt" "entities/*.ent" "entities/*.inc"

Some things to be careful of:
* This tool might not run on Windows XP.
* You might need to install the VC++ Redistributable for it to run.
* Remember that the Program Files directory is not user-writable by default. If you're not sure how to get around this, then modding probably isn't for you.
* If I recall, the game searches the resources folder for more entity files, so make sure you don't leave the decompressed files sitting around or it might try to read them twice!
This tool opens up a way to edit brigade properties.

The first thing you do is back up your Resources/Data/entities.arc file. Make a copy, put it somewhere. That way, you'll be able to switch back if something goes wrong without reinstalling the entire game.

After decompressing using that tool, you should have a Resources/Entities/Brigades folder. Open whichever brigade you want to change, edit "<basenumunits>30</basenumunits>" to "<basenumunits>64</basenumunits>" and "<defaultformation>open</defaultformation>" to "<defaultformation>square</defaultformation>"

After you recompress the archives (if you don't none of your changes will take effect), your brigade should default to an 8 by 8 square of units.

Level 7 Human gamer
Alignment: True neutral
Posted on October 24, 2014 at 12:50 pm

Christopher big thanks!

Level 7 Human gamer
Alignment: True neutral
Posted on October 25, 2014 at 5:15 am

sorry for my English - it's a machine translation.

tell me what are these values?

<mindefensivethreatratio>2.0</mindefensivethreatratio>
<raidthreatratio>1.5</raidthreatratio>
<maxmanagedgoals>4</maxmanagedgoals>
<managedgoalthresholddropperday>0.03</managedgoalthresholddropperday>

<!-- recruitment levels -->
<recruitment level="off">0.0</recruitment>
<recruitment level="normal">0.0275</recruitment>
<recruitment level="high">0.10</recruitment>

Level 7 Human gamer
Alignment: True neutral
Posted on October 27, 2014 at 2:40 pm

AU! answer anybody.

Level 7 Extraplanar programmer
Alignment: Good
Posted on October 27, 2014 at 10:13 pm

"<mindefensivethreatratio>2.0</mindefensivethreatratio>
<raidthreatratio>1.5</raidthreatratio>"
These values are part of how the AI perceives and reacts to other factions.

"<maxmanagedgoals>4</maxmanagedgoals>
<managedgoalthresholddropperday>0.03</managedgoalthresholddropperday>"
These values affect how many goals an AI can try and use a unit for at the same time.

"<recruitment level="off">0.0</recruitment>
<recruitment level="normal">0.0275</recruitment>
<recruitment level="high">0.10</recruitment>"
These values affect how quickly new recruits come in on various recruitment settings. You should be able to change which setting is used in the game's options menu.

Level 7 Human gamer
Alignment: True neutral
Posted on October 28, 2014 at 4:18 pm

Christopher very thx!

Level 7 Human gamer
Alignment: True neutral
Posted on August 27, 2015 at 4:36 pm

hello!
I want to add new portraits to the units. advise how plz.