Results 1 to 3 of 3

Thread: A Few Newbie Questions

Hybrid View

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

    Default A Few Newbie Questions

    Note: I know how export_descr works, I just have a few gaps in my knowledge.

    1. How can I change the speed of a unit?

    2. How can I change the name of a unit?

    3. Can I add a secondary weapon to a unit solely through the descr file? If yes, how? If not, don't worry about it.

  2. #2

    Default Re: A Few Newbie Questions

    1) I think all infantry go at the same speed and cavalry im not sure

    2) Export_Units.string bin in the text folder

    3) You can use modeldb to make its secondary weapon have the animation but unless its there it will look wrong

  3. #3
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: A Few Newbie Questions

    Quote Originally Posted by Swanny777 View Post
    Note: I know how export_descr works, I just have a few gaps in my knowledge.

    1. How can I change the speed of a unit?

    2. How can I change the name of a unit?

    3. Can I add a secondary weapon to a unit solely through the descr file? If yes, how? If not, don't worry about it.
    1. using move_speed_mod like so:

    attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit, hardy, start_not_skirmishing
    move_speed_mod 0.9
    formation 1.2, 1.2, 2.4, 2.4, 4, square

    In that example movement speed is reduced by 10%, 1.4 would be 140%, etc.

    2. open 'text' folder, edit export_units.txt then delete export_units.txt.strings.bin and start the game to rebuild it.

    3. In most cases you cannot. You will need to edit the model itself if you want to add a secondary weapon unless one is already present. You will need to edit battle_models if the weapon is present on the model but the animations are not set up correctly.

    If you're lucky and there is a secondary weapon then you need to edit this line:

    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 10, 1

    To look more like this one:

    stat_sec 11, 3, no, 0, 0, melee, melee_blade, slashing, sword, 40, 1

Posting Permissions

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