Log in

View Full Version : Factions/Units that are actually being used in Kingdoms



barvaz
09-02-2007, 22:26
How can you tell which factions and units are actually being used by the various Kingdoms campaigns?

I unpacked the packs for all four campaigns of Kingdoms and it seems that export_descr_unit.txt and descr_sm_factions.txt contain all/most the units and factions also from the original M2TW campaign even if they are not relevant to the Kingdoms campaign in question.

How does the game determine which factions are being used in each campaign?

How does the game determine which units can be used? I assume they can be filtered by the factions being used but what about all the units that belong to the slave/merc faction? How do I know which are being actually used?

Is there any additional files that need to be parsed? Any special flags or parameters to look for?

I am asking this because I want to extract all the factions/units that are being used by each of the Kingdoms campaigns and only them, without all the noise.

Thanks

- barvaz

alpaca
09-02-2007, 23:04
I think you should be able to check which factions are used in descr_strat

Red Spot
09-03-2007, 11:43
like Alpaca said, descr_strat dictates what (eventually) will be on your map
export_descr_buildings dictates what these factions can build/recruit ..

descr_rebel_factions dictates what rebels spawn
and descr_mercenaries dictates wich mercs can be hired ...


iirc thats all the places you can set diff. units to be used (and the campaign-scripts ofcourse)


G

Lusted
09-03-2007, 12:54
All the M2TW factions are available in custom battles in each campaign along with all the new factions if you set the era to all. That is why their units are in the unit file. All the new units appear at the bottom of the file.

barvaz
09-03-2007, 19:25
Excellent

These seems to be the files I was looking for.

Thanks guys.

- barvaz

barvaz
09-04-2007, 09:02
One thing though - the Americas and Crusades campaigns don't seem to have descr_rebel_factions.txt file anywhere. Does this mean that there are not rebels at this campaign at all?

- barvaz

alpaca
09-04-2007, 18:50
One thing though - the Americas and Crusades campaigns don't seem to have descr_rebel_factions.txt file anywhere. Does this mean that there are not rebels at this campaign at all?

- barvaz
Are you sure? The screens I saw of the map had a lot of rebel provinces at the start.
It could be it just uses the vanilla ones though which probably are mesoamerican rebels or whatever.

barvaz
09-04-2007, 20:22
Are you sure? The screens I saw of the map had a lot of rebel provinces at the start.
It could be it just uses the vanilla ones though which probably are mesoamerican rebels or whatever.

Yes, I am sure the files are not there. But I started the Crusades campaign and there are plenty of rebels out there (like "Arab Rebels").

So do you think it is taking the data from the descr_rebel_factions.txt of the original campaign?

Red Spot
09-04-2007, 22:51
Iirc the game defaults to using brigands if no rebel entry is found, at least the error-log of M2 makes me believe so ...


G

alpaca
09-04-2007, 23:06
Yes, I am sure the files are not there. But I started the Crusades campaign and there are plenty of rebels out there (like "Arab Rebels").

So do you think it is taking the data from the descr_rebel_factions.txt of the original campaign?
Well have a look at descr_regions to see which rebel factions it describes, if a file is not present it'll default to the vanilla one, yes.