-
March 29, 2009, 09:58 AM
#1
AOR units??
Has anyone figured out how to make a unit AOR for one region? For example I want cossacks only availible in Don Voisko region, but when I edit DBs, the unit just dissapears. Are there any solution?
-
March 29, 2009, 01:41 PM
#2
Re: AOR units??
I second this, we defintely need troops for every single region!!!
-
March 29, 2009, 02:40 PM
#3
Re: AOR units??
I got it to work. You need to edit startpos.esf, db\region_unit_resources_tables and db\units_tables.
First, go to startpos.esf with the ESF Editor by just, and go to main\startpos.esf\CAMPAIGN_STARTPOS\CAMPAIGN_ENV\CAMPAIGN_MODEL\WORLD\REGION_MANAGER\REGIONS_ARRAY\
There, you will see a list of REGIONS_ARRAY, you have to click (+) for each one of them and click REGION to check the region ID, until you come to the one you want.
For me, don_voisko is the eighth region down the list. Click the (+) on REGION, then RESOURCES_ARRAY.
You should be here:
main\startpos.esf\CAMPAIGN_STARTPOS\CAMPAIGN_ENV\CAMPAIGN_MODEL\WORLD\REGION_MANAGER\REGIONS_ARRAY\REGIONS_ARRAY\REGION\RESOURCES_ARRAY\
The REGION_ARRAY values you see are for different AORs. For example: "steppes", "russia_home_region", "global".
I changed "russia_home_region" to "don_cossacks". This is your AOR region ID.
Save.
Next, you give a screen name to your AOR region ID in db\region_unit_resources_tables, which you can find in main.pack. You have to add a new row, make the first column your AOR region ID, and give it a name in the second column. Make it a mod, save, etc.
Then, in db\units_tables, just change Region IDRef for your unit to don_cossacks (or whatever your AOR region ID is) and then make it a mod, save, etc.
Have fun. (I hope this makes your mod come sooner, HellFell. XD)
Last edited by Being Earnest; March 29, 2009 at 02:44 PM.
-
March 29, 2009, 02:58 PM
#4
Re: AOR units??
thank you, Being Earnest. So Startpos.esf is involved... it seems that the mod will be 60 mb larger than I expected ))
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules