1. We've removed some functionality from SMD in preparation for a migration to new forum software. We expect to make the move before the end of August.

    Suggestions for Ship/Fleet AI Behavior Settings

    Discussion in 'Suggestions' started by Coyote27, Mar 25, 2019.

    Tags:
    1. Coyote27

      Joined:
      Jul 30, 2017
      Messages:
      193
      It's generally accepted that the ship Ai needs to be a lot more flexible and therefore more useful, so here's some suggestions for behaviors that can be toggled - either on the Bobby AI module itself for individual ships, or in the fleet settings for fleets (having both is not particularly necessary).
      Please suggest any more simple but useful additions that you can think of, as well.

      These would all be toggleable settings of which you could choose one from each section.


      -Preferred Combat Distance-

      []75% weapons range (max AI engage range)
      []50% weapons range (medium range)
      []25% weapons range (close range)

      -Preferred Movement-


      []Circle Target at engage range (present behavior)
      []Attack Pass - approach target at max speed and fly past it within 10-25% of weapons range, then continue on path until at 125% weapons range. Then turn around and repeat.
      []Evasive Maneuvers - Thrust in random direction at max power, changing direction every 1-3 seconds. Try to maintain engage range while doing so, but this doesn't need to be all that strictly enforced.
      []Retreat Fire - Move to engage range, fire all available weapons, and then reverse back toward 125% weapons range until all weapons are reloaded, then repeat.

      -Preferred Facing-


      []Front to Target - keep nose pointed at target (present behavior)
      []Broadside Target - similar to above, but turn the closest side toward the target at 90 degrees
      []Movement Vector - Face in direction of the ship's movement, like an airplane
      []Thrust Vector - Face in the direction that thrust is being applied, like a rocket
      []Random Spin - Keep turning in random directions

      -Retreat Conditions-

      []Immediately - Flee combat as soon as it begins (either as soon as the ship's own weapons fire or its shields go below 100%, unless the mere presence of an enemy can trigger this)
      []Shields Down - Flee combat when shields are depleted
      []Reactor [__]% Damaged - Flee when RHP has taken a chosen amount of damage
      []No retreat - Fight until destroyed (current behavior)

      []Whole Fleet Retreats with [___] Ships Retreating - Whenever at least the specified number of ships in the fleet have fled battle, the rest of the fleet follows. Without this set all ships retreat individually, possibly putting the last ones to run in the worst danger

      -Chamber Settings-


      []Use Jump in Combat - Ships can use their jump drives for tactical movement to enter or escape combat or maintain range, if doing so is faster
      []Use Jump for Travel - Will use jump drive to travel to waypoints when not in combat
      []Use Inhibitor In Combat - Ships with inhibitors equipped will turn them on during combat. (Maybe not a good combo with combat jumping, but you might have ships that can overpower their own inhibitors.)

      []Use Stealth in Combat - Stealth drive activated while ships are in combat
      []Use Stealth Always - Ships keep their stealth drives on all the time, and jam even when unloaded so they're not visible on the map except to their own faction

      []Scan in Combat - Ships use recon chamber scanners in combat, repeating scans as soon as either the previous one expires or the chamber recharges, or perhaps on some kind of timer. Ships with continuous scan can just turn it on and leave it on until combat ends.
      []Scan Always - As above, but ships with this enabled will repetitively scan all the time, combat or no, as long as they're loaded.

      -Misc. Settings-


      []Use Friendly Warpgates - Route to travel through friendly warpgates if it reduces travel time, even if the physical distance is longer
      []Use Neutral Warpgates - Implies the above, plus warpgates owned by neutrals as well
      []Use Wormholes - Route to travel through wormholes if it reduces travel time, even if the distance is longer

      []Avoid Star Heatzones - Ships will route around the heatzones of stars and will not enter them under any circumstances

      []Auto-Salvage Wreckage - Ships with salvage beams and free cargo space will automatically salvage overheated ships nearby, even when unloaded. Stops when cargo is full.
       
      • Like Like x 8
    2. Crimson-Artist

      Crimson-Artist Wiki Administrator

      Joined:
      Sep 10, 2013
      Messages:
      1,650
      hopefully settings like these get added during the universe update
       
      • Like Like x 1
    3. JNC

      JNC

      Joined:
      Nov 11, 2013
      Messages:
      142
      And/or if/when we see live crew instead of Bobby.
       
      • Like Like x 1
    4. Lone_Puppy

      Lone_Puppy Me, myself and I.

      Joined:
      Mar 12, 2015
      Messages:
      1,246
      Nice! :)

      How about...

      -Surrender Conditions-

      []Immediately - As soon as it begins
      []Shields Down - When shields are % or completely depleted
      []Reactor [__]% Damaged - When RHP has taken a chosen amount of damage

      It would be cool if a popup happens on the HUD that doesn't interfere with anything.
      Message would be something like...

      Do you accept my Surrender? Y/N

      If you click N, then the AI uses the -Retreat Conditions-
      If you click Y, the ship is unfactioned for easy transfer of ownership.

      What you think?
       
      • Like Like x 4
    5. Crimson-Artist

      Crimson-Artist Wiki Administrator

      Joined:
      Sep 10, 2013
      Messages:
      1,650
      definitely need some kind of non lethal win state for fights. Being a pirate right now is no different than being a assassin.
       
      • Like Like x 3
    6. Lone_Puppy

      Lone_Puppy Me, myself and I.

      Joined:
      Mar 12, 2015
      Messages:
      1,246
      Agreed! I would like to see an option for players to surrender also. Perhaps a radial menu option.
       
    7. Coyote27

      Joined:
      Jul 30, 2017
      Messages:
      193
      Why would anyone choose to surrender an entire ship if they could have a damaged ship flee back to be scrapped or repaired instead?

      Maybe if there's expensive crew involved, and surrendering means you get all the crew back whereas fleeing might result in them getting chased down and blasted, and fighting to the end would for sure. It'd make sense in that context, but it doesn't currently when ship components are the valuable part.
       
      • Like Like x 1
    8. MacThule

      Joined:
      Jan 31, 2015
      Messages:
      1,689
      Good point. If I know I'm losing a ship, the last thing I want to do is "pay" the individual taking it out by surrendering it. Even if I can't damage them in the process of losing, I'd rather the ship be destroyed. It would be cool if there were a way ships could be taken, but my guess is that it would have to come down to crippling their engines, jamming their jump, and boarding the ship (NPC Marines would sure be nice...).
       
      • Like Like x 2
    9. Coyote27

      Joined:
      Jul 30, 2017
      Messages:
      193
      That feels like one of the most obvious uses for crew, IMO, but might be difficult to actually get working the way we want.
       
      • Like Like x 1
    10. MacThule

      Joined:
      Jan 31, 2015
      Messages:
      1,689
      Agreed. Pathing code would have to be very robust, because the ship could literally be changing on the fly (getting holes punched in it).

      With good pathing though, it should be as direct as a mob of NPC toons with laser rifles, torches and heavy armor targeting the ship's faction module (and/or other systems? cool if we could set targets for 'rines the way we do with turrets: "take out their weapon computers and faction module"), and making their way there by the quickest path possible while mowing down anything that gets in their way (walls, hostiles, neutrals, etc).
       
    11. StormWing0

      StormWing0 Leads the Storm

      Joined:
      Jun 26, 2015
      Messages:
      2,115
      hmm for pathing the ship AI could treat all entities as some kind of ellipsoid with the various max bounds set by the entity's initial stats to nav around when not docking to it. As for docking with need another function to play with that lets us define docking fly in paths in some manner. >.>
       
    Loading...