Results 1 to 2 of 2

Thread: How to modify stamina?

  1. #1

    Default How to modify stamina?

    Hi, I was wondering if anyone knew how to modify a unit's stamina. For example, I was wanting to boost the stamina of elephant units since they tire out so quickly. Thanks!

  2. #2
    Sovereign of all England! Member Donkey Kong Champion Arthur, king of the Britons's Avatar
    Join Date
    Jan 2010
    Location
    King Arthur's Court at Camelot
    Posts
    1,338

    Default Re: How to modify stamina?

    In your "export_descr_unit" in the "sp game edu backup",change this:

    Code:
    ;487
    type             african elephant forest
    dictionary       african_elephant_forest      ; African Forest Elephants
    category         cavalry
    class            heavy
    voice_type       Medium_1
    soldier          hellenic_elephant_archer, 6, 6, 1
    mount            elephant forest untowered
    mount_effect     horse +3, chariot +3
    attributes       sea_faring, can_run_amok, frighten_foot, frighten_mounted, hardy
    formation        7, 9, 13, 13, 1, square
    stat_health      1, 3
    stat_pri         0, 0, no, 0, 0, no, no, no, none, 0 ,0.1
    stat_pri_attr    no
    stat_sec         5, 50, no, 0, 0, melee, other, blunt, none, 0 ,0.2
    stat_sec_attr    area, ap, launching
    stat_pri_armour  12, 6, 0, leather
    stat_sec_armour  23, 7, leather
    stat_heat        0
    stat_ground      0, 0, -4, -3
    stat_mental      8, normal, trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        2, 10000, 2500, 270, 400, 10000
    ownership        egypt, numidia, saba, slave, seleucid



    To this:

    Code:
    ;487
    type             african elephant forest
    dictionary       african_elephant_forest      ; African Forest Elephants
    category         cavalry
    class            heavy
    voice_type       Medium_1
    soldier          hellenic_elephant_archer, 6, 6, 1
    mount            elephant forest untowered
    mount_effect     horse +3, chariot +3
    attributes       sea_faring, can_run_amok, frighten_foot, frighten_mounted, very_hardy
    formation        7, 9, 13, 13, 1, square
    stat_health      1, 3
    stat_pri         0, 0, no, 0, 0, no, no, no, none, 0 ,0.1
    stat_pri_attr    no
    stat_sec         5, 50, no, 0, 0, melee, other, blunt, none, 0 ,0.2
    stat_sec_attr    area, ap, launching
    stat_pri_armour  12, 6, 0, leather
    stat_sec_armour  23, 7, leather
    stat_heat        0
    stat_ground      0, 0, -4, -3
    stat_mental      8, normal, trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        2, 10000, 2500, 270, 400, 10000
    ownership        egypt, numidia, saba, slave, seleucid
    The same of course goes for any other elephants(/or units in general for that part) you'd might want to edit; also remember to make a back up before you edit the file.

    Good luck!
    Last edited by Arthur, king of the Britons; 11-27-2010 at 13:51.


    King Arthur's Court at Camelot

    Spoiler Alert, click show to read: 


    Marble bust of Arthouros the Divider, first man to pass a Koinon Law since the foundation of the Alliance.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO