Results 1 to 10 of 10

Thread: How do I change "default_melee_state" in the descr_formations_ai.txt file?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Now sporting a classic avatar! Member fallen851's Avatar
    Join Date
    Oct 2005
    Posts
    799

    Default How do I change "default_melee_state" in the descr_formations_ai.txt file?

    I just was just wondering how exactly I use the command : "default_melee_state"

    begin_block 1
    unit_type non_phalanx_spear 1.0
    unit_type heavy infantry 0.9
    default_melee_state
    block_formation line
    block_relative_pos 0 -2.0 0.0
    inter_unit_spacing 2.0
    priority 0.5
    end_block
    "It's true that when it's looked at isolated, Rome II is a good game... but every time I sit down to play it, every battle, through every turn, I see how Rome I was better. Not unanimously, but ultimately." - Dr. Sane

    http://www.youtube.com/watch?v=L6eaBtzqqFA#t=1h15m33s

  2. #2
    Now sporting a classic avatar! Member fallen851's Avatar
    Join Date
    Oct 2005
    Posts
    799

    Default Re: How do I change "default_melee_state" in the descr_formations_ai.txt file?

    Wow, I press tab to slide my text in line, and it posts the message, and of course I can't edit it... I love this forum.

    Anyway, what are the numbers or words I put after "default_melee_state" to change the melee states of units?

    Thanks.
    "It's true that when it's looked at isolated, Rome II is a good game... but every time I sit down to play it, every battle, through every turn, I see how Rome I was better. Not unanimously, but ultimately." - Dr. Sane

    http://www.youtube.com/watch?v=L6eaBtzqqFA#t=1h15m33s

  3. #3
    Simulation Monkey Member The_Mark's Avatar
    Join Date
    Dec 2004
    Location
    Helsinki, Finland
    Posts
    2,613

    Default Re: How do I change "default_melee_state" in the descr_formations_ai.txt file?

    engage_at_will, skirmish, fire_at_will and defend are the options, with any combination of them, as fire_at_will_and_defend, though the game only takes the combinations in a certain order (which I don't have at hand), so defend_and_fire_at_will won't work. If they're placed in the wrong order the unit will assume default stance.

  4. #4
    Now sporting a classic avatar! Member fallen851's Avatar
    Join Date
    Oct 2005
    Posts
    799

    Default Re: How do I change "default_melee_state" in the descr_formations_ai.txt file?

    Ok, I want some skirmishing units to stand their ground, what can I add to turn off their skirmish mode, and just have fire, and when the enemy gets close, engage hand to hand instead of running?

    I tried engage at will...

    Thanks.
    "It's true that when it's looked at isolated, Rome II is a good game... but every time I sit down to play it, every battle, through every turn, I see how Rome I was better. Not unanimously, but ultimately." - Dr. Sane

    http://www.youtube.com/watch?v=L6eaBtzqqFA#t=1h15m33s

  5. #5
    Now sporting a classic avatar! Member fallen851's Avatar
    Join Date
    Oct 2005
    Posts
    799

    Default Re: How do I change "default_melee_state" in the descr_formations_ai.txt file?

    Note (here is where I want my edit open so I don't have to add more replies!) I don't want to add the prec ability in export_descr_units.
    "It's true that when it's looked at isolated, Rome II is a good game... but every time I sit down to play it, every battle, through every turn, I see how Rome I was better. Not unanimously, but ultimately." - Dr. Sane

    http://www.youtube.com/watch?v=L6eaBtzqqFA#t=1h15m33s

  6. #6
    Simulation Monkey Member The_Mark's Avatar
    Join Date
    Dec 2004
    Location
    Helsinki, Finland
    Posts
    2,613

    Default Re: How do I change "default_melee_state" in the descr_formations_ai.txt file?

    Using the default_melee_state works so that it first turns all states (defend, skirmish, fire at will) off and then turns on the specified toggles. E.g. giving a skirmisher unit, that'd normally have both fire at will and skirmish on, default_melee_state fire_at_will command would cause the unit be on fire at will, but all other states will be off, so no skirmishing.

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