BDArmory icon indicating copy to clipboard operation
BDArmory copied to clipboard

TODO list (DocNappers)

Open BrettRyland opened this issue 4 years ago • 0 comments

Vessel switcher
  • Add a portrait mode to the vessel switcher window. (maybe? low priority)
Spawning
  • Add option for scripted spawns from mission files.
  • Allow changing planetary bodies with the interesting spawning points.
  • Combat seats as the root part can cause other parts to be offset.
  • Detect the Kraken during spawning and reset.
  • Fix staging in spawning so that staging works properly.
  • Add GUI for selecting vessels to be spawned and connect this to tournament/competition logic.
Pilot AI
  • On takeoff, look diagonally down and turn if the terrain slope is too steep. Currently, it checks the terrain, but holds a straight line while taking off.
  • Make a base class for airborneAI and make pilotAI derive from it. This is to allow different controls for a helicopterAI.
  • Survive mode instead of orbiting if ramming is disabled and no usable weapons remain.
  • Allow reloading of missile configs in the editor.
  • Something has changed in the PID or steer limiter calculations that is causing wobbles and instability in Legodlak's plane and sometimes the dynamic damping values freeze for several seconds. (Is this specific to Legodlak or more general?)
Aiming
  • Advanced targeting seems to be messing with the long-range targeting.
  • Use the optimal firing angle instead of current firing angle for a more stable aiming direction calculation.
UI
  • Add pop-up for entering score weights in the vessel switcher and sort by score instead of just hits. Right click sorting button should toggle this pop-up. This is needed for dynamic tournament generation (e.g., ranked).
  • Add an option for this: "it would be cool if the auto camera switching also has a mode to make it always just stay on the plane with the most hits in each round". Maybe right click the 'A' and indicate this visually by toggling it to 'a'?
Local Tournaments
  • Add a randomised vs ranked toggle for heat generation.
  • Tournaments: add "K Choose N" option
  • Team names seem to be getting lost sometimes when resuming a folders tournament.
Missiles
  • Firing actively guided missiles at multiple targets simultaneously.
  • Better checks for when to acquire a new target when we have a missile in the air that needs guidance.
  • Use separate data structures for heat guided missiles so that they don't interfere with radar guidance.
  • Reliability settings for missiles: on launch, have chance of failure where various types of failure could occur (adjusting parameters, engine failure, arming failure, guidance failure, etc.)
  • Bombs in bomb bay aren't getting dropped.
  • Allow reloading of missile configs in the editor.
  • Add SAM guidance mode for shooting missiles at satellites. RCS final guidance seems a good mode to switch to afterwards.
Kerbal Safety
  • In "Full" mode, if a NaN orbit is detected, try resetting the orbit of the kerbal based on the orbit of the part it left.
  • If "Full" mode can be made to work safely, add extra conditions on when the kerbals should eject:
    • When switching parts, loop until no kerbals escape.
    • Add abandon ship AG that ejects kerbals every 10 frames.
    • No Engines
    • V/speed negative + other reason
    • Imminent impact
    • Co# moves % of craft dimension from original position
Asteroids
  • Asteroid Field: finish implementing the semi-static asteroid field.
  • Asteroid Field: magnetic asteroids option where asteroids get pulled towards planes. "Anomalous (vessel) attraction"?
  • Inbuilt [AsteroidSpawner] triggers occasionally and causes a pause.
Memory leakage
  • Vessel spawning is causing the memory leak (~100MB per spawn), but doesn' seem to affect the number of GameObjects too much.
  • In the profiler, "GameObjects in Scene" typically increases each round by several thousand. As does "Total Objects in Scene".
  • Something in KSP is holding onto dead part references, which seems to be the root cause of the leak.
General
  • Investigate reports of performance bias due to which plane is watched.
  • Find and fix the cause of "[FlightIntegrator]: Root part's drag cube is still zeroed!" messages in the log as the stack trace generation causes a significant delay.
  • Add ability to generically add a new competitor to a competition while it's running (score, ramming info, etc).

BrettRyland avatar Sep 03 '20 07:09 BrettRyland