Results 1 to 5 of 5

Thread: Dismounted Family Members

  1. #1

    Default Dismounted Family Members

    How would I go about making the English Family members have a dismounted bodyguard?

    Code:
    This unit is already in the dscr_unit file
    type             King Henry
    dictionary       King_Henry      ; King Henry V
    category         infantry
    class            heavy
    voice_type       General
    banner faction   main_infantry
    banner holy      crusade
    soldier          Dismounted_NE_Late_Bodyguard, 24, 0, 0.6
    attributes       sea_faring, hide_forest, very_hardy, can_withdraw, general_unit, no_custom
    formation        1.2, 1.2, 2.4, 2.4, 3, square
    stat_health      2, 0
    stat_pri         16, 3, no, 0, 0, melee, melee_blade, piercing, sword, 0, 0.7
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    no
    stat_sec         0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 0.7
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  12, 13, 3, metal
    ;stat_armour_ex   9, 0, 0, 0, 9, 3, 3, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        6
    stat_ground      1, -2, 3, 2
    stat_mental      11, disciplined, trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 1080, 375, 110, 85, 780, 4, 190
    armour_ug_levels 5
    armour_ug_models Dismounted_NE_Late_Bodyguard
    ownership        england
    ;unit_info        16, 0, 42
    There's also another file for a body guard unit for England and 4 or 5 other countries.
    Can I just replace the NE Late Bodyguard file
    Code:
    NE Late Bodyguard
    dictionary       NE_Late_Bodyguard      ; General's Bodyguard
    category         cavalry
    class            heavy
    voice_type       General
    banner faction   main_cavalry
    banner holy      crusade_cavalry
    soldier          NE_Late_Bodyguard, 16, 0, 0.5
    mount            armoured horse
    mount_effect     elephant -4, camel -4
    attributes       sea_faring, hide_forest, very_hardy, can_withdraw, general_unit, general_unit_upgrade
    formation        2, 4.4, 3, 6, 2, square
    stat_health      2, 0
    stat_pri         13, 8, no, 0, 0, melee, melee_blade, piercing, spear, 0, 0.7
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    no
    stat_sec         14, 4, no, 0, 0, melee, melee_blade, piercing, sword, 0, 0.7
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  11, 8, 3, metal
    ;stat_armour_ex   9, 10, 0, 0, 5, 3, 3, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        6
    stat_ground      0, -2, -4, 0
    stat_mental      11, normal, trained
    stat_charge_dist 45
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 1070, 250, 120, 95, 1070, 1, 210
    armour_ug_levels 5, 6
    armour_ug_models NE_Late_Bodyguard, NE_Late_Bodyguard_ug1
    ownership        england, scotland, france, hre, denmark, poland, hungary
    era 2            england, scotland, france, hre, denmark, poland, hungary
    ;unit_info        13, 0, 34
    with the dismount info for it to work?
    Thanks

  2. #2
    Hiding in a bush near you Member Sir Robin the Brave's Avatar
    Join Date
    Dec 2006
    Location
    Ol' Blighty (England)
    Posts
    72

    Default Re: Dismounted Family Members

    try it out and see what happens
    Brave Sir Robin ran away.
    Bravely ran away, away!
    When danger reared its ugly head,
    He bravely turned his tail and fled.
    Yes, brave Sir Robin turned about
    And gallantly he chickened out.
    Bravely taking to his feet
    He beat a very brave retreat,
    Bravest of the brave, Sir Robin!

  3. #3

    Default Re: Dismounted Family Members

    It crashed. I'm assuming that there is a line of code somewhere that tells a family member what unit to be in, but I don't know where to find it

  4. #4
    Member Member Musashi's Avatar
    Join Date
    Nov 2002
    Location
    The Mists of Legend
    Posts
    811

    Default Re: Dismounted Family Members

    Make sure to add the "general_unit, general_unit_upgrade" bit to the dismounted unit you're making into their general unit.
    Fear nothing except in the certainty that you are your enemy's begetter and its only hope of healing. For everything that does evil is in pain.
    -The Maestro Sartori, Imajica by Clive Barker

  5. #5

    Default Re: Dismounted Family Members

    The dismounted bodyguards already have the general_unit tag, when I removed that tag from the mounted NE Bodyguard to see if the generals unit would then use the dismounted bodyguard it didn't change the generals unit.

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