[RETIRED] [SERVER] Bot Attack Fix 1.0.2

Discussion in 'Released Mods' started by Quitch, July 10, 2017.

  1. Quitch

    Quitch Post Master General

    Messages:
    5,675
    Likes Received:
    6,032
    Units with a brake value of -1 will often move to point-blank range to attack other units. This mod changes all -1 brakes to values that equal the unit's acceleration value. This should prevent this behaviour from occurring.

    The priority of the mod is set to 110 so that mods which make conflicting unit changes should override it.



    Version 1.0.2 - 2017/09/05
    • Added positive brake value to the Atlas
    Version 1.0.1 - 2017/07/10
    • Priority correctly set to avoid conflicting with other mods
    Version 1.0 - 2017/07/10
    • Added positive brake value to
      • Commander baseline
      • Dox
      • Slammer
      • Bot baseline
      • Boom
      • Grenadier
      • GIL-E
      • Bluehawk
      • Spark
      • Fabrication Bot
      • Advanced Fabrication Bot
      • Stitch
      • Mend
    Last edited: September 5, 2017
    elodea, dom314, NikolaMX and 3 others like this.
  2. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    That's the cause?! Thanks, putting the fix into all PO units that were formerly broken.
  3. Quitch

    Quitch Post Master General

    Messages:
    5,675
    Likes Received:
    6,032
    Certainly my testing seems to suggest so, and with this fix applied the AI doesn't run its bots into Infernos either.
  4. Quitch

    Quitch Post Master General

    Messages:
    5,675
    Likes Received:
    6,032
    Version 1.0.1 - 2017/07/10
    • Priority correctly set to avoid conflicting with other mods
  5. elodea

    elodea Post Master General

    Messages:
    1,694
    Likes Received:
    3,040
    Yep this is correct. Brake value is needed to determine distance from which the unit should slow down. My guess was that -1 means it never slows down when given an attack order.
  6. Quitch

    Quitch Post Master General

    Messages:
    5,675
    Likes Received:
    6,032
    Version 1.0.2 - 2017/09/05
    • Added positive brake value to the Atlas
  7. sardaukar666

    sardaukar666 Well-Known Member

    Messages:
    128
    Likes Received:
    282
    would it not be ideal for the atlas to always charge in?
  8. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    They've got a special attribute in their json that makes them do it anyway.
  9. Quitch

    Quitch Post Master General

    Messages:
    5,675
    Likes Received:
    6,032
    As Stuart said, I found there's a value assigned specifically to manage this and therefore decided to fix the brake issue to allow that setting to operate correctly.
  10. Quitch

    Quitch Post Master General

    Messages:
    5,675
    Likes Received:
    6,032
    The latest PTE includes a proper fix for this issue. I'll retire the mod once it hits stable.
    NikolaMX likes this.

Share This Page