Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: Modding - Disable Retreat  (Read 3437 times)

Trylobot

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1170
    • View Profile
    • Github profile
Modding - Disable Retreat
« on: June 12, 2011, 03:08:17 AM »

Add an option to the Mission Plugin API to enable/disable the ability to retreat, for a given FleetSide.

For the player, this should act the same as when they near the edge of the map and then immediately click "No"

For the A.I., it would be a little more complicated. The thing that seems to make the most sense to me is, if the AI would normally be about to retreat, but that ability has been disabled, it would instead make them suddenly and completely suicidal. Since retreat isn't an option, that's really all it leaves; try to do as much damage as possible.
Logged