Results 1 to 18 of 18

Thread: Units keep starting in Guard Mode

Threaded View

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

    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.

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