Does anyone know of any guides for modding CAI recruitment, mainly the cdir_unit_balances_tables and related tables
cheers
Does anyone know of any guides for modding CAI recruitment, mainly the cdir_unit_balances_tables and related tables
cheers
so far I've got this: but I'm sure there's more to it
cdir_military_generator_configs_tables
Contains faction names and faction group names linked to cdir_military_generator_template_priorities_tables
-------------------------------------------------
cdir_military_generator_template_priorities_tables - 3 Columns
1 'Config_key' Contains faction names, Links to cdir_military_generator_configs_tables,
2 'Priority' Numbers indicating Priority, Higher number = higher Priority ??
3 'template_key' links to cdir_military_generator_templates_tables
-----------------------------------------------------
cdir_military_generator_template_ratios_tables - 3 Columns,
1 'Ratio' - how many of that unit to build as a ration of the total units
2 'Key Template' links to 'cdir_military_generator_templates_tables' Army Type?
3 'unit_group_key' links to 'cdir_military_generator_unit_groups_tables' Units within army type.
-----------------------------------------------------
cdir_military_generator_templates_tables
List of factionxxxxxx_land etc links to 'cdir_military_generator_template_ratios_tables'
-----------------------------------------------------
cdir_military_generator_unit_groups_tables
contains units types which links to the 'cdir_military_generator_template_ratios_tables' AND 'cdir_military_generator_unit_qualities_tables'
-----------------------------------------------------
cdir_military_generator_unit_qualities_tables - 3 Columns
1 'group_key' links to the 'cdir_military_generator_unit_groups_tables'
2 'quality' Quality of unit created, may control recruitment or custom battle outcome ????? Higher Better, may only effect within same group_key.
3 'unit_key' Links to the UNIT.
-----------------------------------------------------
These tables appear redundant
cdir_unit_balances_tables - 7 Columns
1 'Template Ref ID' list MAY BE from 'cdir_military_generator_templates_tables' normally 3 entries. The Type of army. Also seems to a table with TWS2 factions???
2 'min_units' Minimum number Units in the generated army
3 'max_units' Maximum number Units in the generated army
4 'group key' Links to 'cdir_unit_balance_groups_tables' but unable to work out what next, Also seems to a table with TWS2 factions???
-----------------------------------------------------
cdir_unit_balance_groups_tables
Links to cdir_unit_balances_tables Also seems to a table with TWS2 factions???
Last edited by Balbor; August 08, 2014 at 03:15 PM.
Tables starting with cdir_unit appear to be redundant and unused.
can delete this Thread now