Results 1 to 6 of 6

Thread: Changing Missle Attack

  1. #1

    Default Changing Missle Attack

    Would be very grateful if someone could tell me what i need to do to change the missle attack of certain units, such as longbowmen, gunners, crossbows etc.

    I think it is in the export_descr_unit section but do not know what to change.
    Last edited by CodOfDuty; April 29, 2008 at 11:34 AM.

  2. #2
    Bacon!'s Avatar Decanus
    Join Date
    Jun 2007
    Location
    United Kingdom, England!
    Posts
    546

    Default Re: Changing Missle Attack

    say if you wanted to change it for longbowmen it would be:

    type Longbowmen
    dictionary Longbowmen ; Longbowmen
    category infantry
    class missile
    voice_type Light
    banner faction main_missile
    banner holy crusade
    soldier Longbowmen, 48, 0, 0.8
    attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit, stakes, stakes
    formation 1.2, 1.2, 2.4, 2.4, 4, square
    stat_health 1, 0
    stat_pri 5, 1, quality_bodkin_arrow, 190, 24, missile, missile_mechanical, piercing, none, 0, 1
    stat_pri_attr ap
    stat_sec 1, 1, no, 0, 0, melee, melee_blade, blunt, mace, 0, 1
    stat_sec_attr ap
    stat_pri_armour 0, 3, 2, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 4
    stat_ground 1, -1, 2, 1
    stat_mental 6, normal, untrained
    stat_charge_dist 15
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 460, 190, 65, 50, 460, 4, 140
    armour_ug_levels 0, 1, 2
    armour_ug_models Longbowmen, Longbowmen_ug1, Longbowmen_ug2
    ownership england, slave
    era 1 england
    era 2 england
    recruit_priority_offset 5

    This line, longbow's current ranged attack is 5 so change that to what you want to change there ranged attack:

    stat_pri 5, 1, quality_bodkin_arrow, 190, 24, missile, missile_mechanical, piercing, none, 0, 1

    and yes it is in the export_descr_unit file
    Soylent Green is people!!!

  3. #3
    MiiKLL's Avatar Semisalis
    Join Date
    May 2006
    Location
    Spokane, Washington
    Posts
    451

    Default Re: Changing Missle Attack

    Hello, here is a example of where to look...I highlighted the line and the number that you need to change. Also, Chimraeira has a mod that does just this. Check it out...it' very nice.


    type Longbowmen
    dictionary Longbowmen ; Longbowmen
    category infantry
    class missile
    voice_type Light
    banner faction main_missile
    banner holy crusade
    soldier Longbowmen, 48, 0, 0.8
    attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit, stakes, stakes
    formation 1.2, 1.2, 2.4, 2.4, 4, square
    stat_health 1, 0
    stat_pri 5, 1, quality_bodkin_arrow, 190, 24, missile, missile_mechanical, piercing, none, 0, 1
    stat_pri_attr ap
    stat_sec 1, 1, no, 0, 0, melee, melee_blade, blunt, mace, 0, 1
    stat_sec_attr ap
    stat_pri_armour 0, 3, 2, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 4
    stat_ground 1, -1, 2, 1
    stat_mental 6, normal, untrained
    stat_charge_dist 15
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 460, 190, 65, 50, 460, 4, 140
    armour_ug_levels 0, 1, 2
    armour_ug_models Longbowmen, Longbowmen_ug1, Longbowmen_ug2
    ownership england, slave
    era 1 england
    era 2 england
    recruit_priority_offset 5

    LOL...very fast Bacon!

    "Nothing is more destructive than the charge of artillery on a crowd."
    Napoleon Bonaparte

  4. #4

    Default Re: Changing Missle Attack

    yep yep their both right and for further notice the top of that file has all the info you need to know if you want to make further changes

  5. #5

    Default Re: Changing Missle Attack

    what exactly does stat_food do?


    edit: nevermind, must be upkeep. Sounds silly for some reason though.
    Last edited by userfri3ndly; April 30, 2008 at 11:40 AM.

  6. #6

    Default Re: Changing Missle Attack

    Quote Originally Posted by userfri3ndly View Post
    what exactly does stat_food do?


    edit: nevermind, must be upkeep. Sounds silly for some reason though.
    stat_food is no longer used in M2TW.
    upkeep is the third number in the stat_cost line.
    Artifex
    Under the patronage of King Kong
    Proud patron of y2day and yelowdogg23

Posting Permissions

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