Results 1 to 18 of 18

Thread: Units keep starting in Guard Mode

Hybrid View

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

    Default Re: Units keep starting in Guard Mode

    The guard mode depends on what is written in the descr_formations_ai.txt in the "default_melee_state" line.
    For example, if you want that your missile unit to be in guard mode you need to add default_melee_state line:

    ; Screen of missile inf
    begin_block 0
    not_general
    unit_type missile infantry 1.0
    default_melee_state fire_at_will_and_defend
    unit_density close
    block_formation line
    block_relative_pos 0 0.0 -15.0
    inter_unit_spacing 6.0
    priority 1.0
    end_block

    if you want it to skirmish you add:

    ; Screen of missile inf
    begin_block 0
    not_general
    unit_type missile infantry 1.0
    default_melee_state fire_at_will_and_skirmish
    unit_density close
    block_formation line
    block_relative_pos 0 0.0 -15.0
    inter_unit_spacing 6.0
    priority 1.0
    end_block

    For hoplites to stay in guard mod you add this line:

    default_melee_state defend


    The only problem is you must do it for every unit in the formation!!!
    Last edited by dejan07; 08-06-2009 at 18:35.

  2. #2

    Default Re: Units keep starting in Guard Mode

    Quote Originally Posted by dejan07 View Post
    The guard mode depends on what is written in the descr_formations_ai.txt in the "default_melee_state" line.
    For example, if you want that your missile unit to be in guard mode you need to add default_melee_state line:

    ; Screen of missile inf
    begin_block 0
    not_general
    unit_type missile infantry 1.0
    default_melee_state fire_at_will_and_defend
    unit_density close
    block_formation line
    block_relative_pos 0 0.0 -15.0
    inter_unit_spacing 6.0
    priority 1.0
    end_block

    if you want it to skirmish you add:

    ; Screen of missile inf
    begin_block 0
    not_general
    unit_type missile infantry 1.0
    default_melee_state fire_at_will_and_skirmish
    unit_density close
    block_formation line
    block_relative_pos 0 0.0 -15.0
    inter_unit_spacing 6.0
    priority 1.0
    end_block

    For hoplites to stay in guard mod you add this line:

    default_melee_state defend


    The only problem is you must do it for every unit in the formation!!!
    Hence, just selecting all units and pressing D twice will give the desired result without tiring yourself out with scripting. I doubt that many people here will be bothered to do so.

    But really good idea! Take this.

    'Let no man be called happy before his death. Till then, he is not happy, only lucky." -Solon


  3. #3

    Default Re: Units keep starting in Guard Mode

    Its definately all about the short cuts, used to use them when i played NTW online, only recently starteed using them on sp EB, saves so much time.

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