Results 1 to 3 of 3

Thread: Preventing units to rout

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Preventing units to rout

    In a mod that i have played there was a unit that never routed no matter what. I have got rid of that mod now and i want to try and edit a file to make a unit do the same and not rout.

    what file do i edit to all this?

  2. #2
    Primo's Avatar Protector Domesticus
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    4,007

    Default Re: Preventing units to rout

    Quote Originally Posted by Rometotalwar View Post
    In a mod that i have played there was a unit that never routed no matter what. I have got rid of that mod now and i want to try and edit a file to make a unit do the same and not rout.

    what file do i edit to all this?
    Open RomeFolder/Data/export_descr_unit.txt

    Search for your unit. For example:

    PHP Code:
    type             greek levy pikemen
    dictionary       greek_levy_pikemen      
    Levy Pikemen
    category         infantry
    class            spearmen
    voice_type       Light_1
    soldier          greek_levy_pikeman
    6000.35
    mount_effect     horse 
    +2chariot +2camel +2elephant +2
    attributes       sea_faring
    hide_forestcan_sap
    formation        1
    10.7110squarephalanx
    stat_health      1
    0
    stat_pri         4
    0no00meleebladepiercingspear40 ,0.72
    stat_pri_attr    spear
    spear_bonus_12long_pike
    stat_sec         6
    1no00meleesimplepiercingsword,0.65
    stat_sec_attr    no
    stat_pri_armour  4
    94leather
    stat_sec_armour  0
    0flesh
    stat_heat        1
    stat_ground      0
    0, -10
    stat_mental      10
    disciplinedhighly_trained 
    stat_charge_dist 2
    stat_fire_delay  0
    stat_food        60
    300
    stat_cost        1
    3501504050350
    ownership        macedon
    seleucid 
    Change the number of stat_mental to 99, and it should never rout.
    Last edited by Primo; July 25, 2011 at 10:43 AM.

  3. #3
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Preventing units to rout

    ahh thats brilliant, thanks for a great quick reply +rep

Posting Permissions

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