Bridge Commander Central
BC Forums => BC Scripting => Topic started by: Anew9 on May 17, 2011, 01:28:26 AM
-
How do we change the subsystem targeting priority when we lock onto an enemy? I want to replace enemies targeting my warp core with my shield generator and I've already tried cutting the pasting the shield subsystem 1st in the py file but its not working...
-
I'm not sure if what you're requesting would be something that can be done easily. If I were to take a shot in the dark I would assume you would need to play with the AI's, though don't quote me on it. One thing I am sure of is that you can't do what you're suggesting by editing the hardpoints - those only define the ships properties (strength, speed, weaponry, etc.). The hardpoint does tell the ship what AI to use (unless a mission dictates otherwise), but it doesn't tell that AI to behave a certain way (target priorities, combat effectiveness, etc.).
-
I think what your looking for (swappin the AI's targeting priority) might be in the engine itself.
it doesn't look like it's in the AI scripts.
-
So no matter what I do in the py script I cannot change the order in which subsystems appear in the targeting menu?
-
you can change the order in which the susbsystems are displayed in the target menu when playing QB, sure... but the order in which they are displayed does not mean that's the order in which they are targetted by the AI enemy...