Results 1 to 5 of 5

Thread: AI unit recruitments

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default AI unit recruitments

    Does anyone know of any guides for modding CAI recruitment, mainly the cdir_unit_balances_tables and related tables

    cheers
    Balbor

    Former Creative Director
    Former Head Unit Modeller and Texture
    Fourth Age:Total War

  2. #2

    Default Re: AI unit recruitments

    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.
    Balbor

    Former Creative Director
    Former Head Unit Modeller and Texture
    Fourth Age:Total War

  3. #3

    Default Re: AI unit recruitments

    Tables starting with cdir_unit appear to be redundant and unused.
    Balbor

    Former Creative Director
    Former Head Unit Modeller and Texture
    Fourth Age:Total War

  4. #4
    Litharion's Avatar Artifex
    Join Date
    Sep 2013
    Location
    Germany
    Posts
    2,622

    Default Re: AI unit recruitments

    Quote Originally Posted by Balbor View Post
    Tables starting with cdir_unit appear to be redundant and unused.
    yes only the cdir_military tables are used the cdir_unit ones are redundant.

    If interested I made a tutorial on AI recruitment
    http://www.twcenter.net/forums/showthread.php?661298-Campaign-AI-Recruitment-in-Rome-II

  5. #5

    Default Re: AI unit recruitments

    can delete this Thread now
    Balbor

    Former Creative Director
    Former Head Unit Modeller and Texture
    Fourth Age:Total War

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •