[Bonus Plugin] Missile Defense Mosquito

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
jlehtone
Posts: 21808
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone » Wed, 22. Aug 07, 14:38

The missile fire probability is used by the AI combat logic. Basically they do:
1. Fly to target
2. Do not collide
3. Shoot
And that 'Shoot' step rolls dice and if below probability, fires a missile. Else it shoots with guns.

IIRC, the MDM script never queries the probability. It would make no sense. Not sure about the other.

Note that if there are multiple incoming missiles (a spam), MDM won't always handle them all.

Tritous
Posts: 899
Joined: Sat, 15. Jan 05, 17:20
x3tc

Post by Tritous » Mon, 28. Jul 08, 15:36

I've had a slight disagreement with the MDM: I get a missle on my tail and it fires a mosquito at it, fair enough, but it shoots more and more at them, I've seen it shoot up to 30 mosquitos at a single incoming missile.

Perhaps some sort of target checker is in order? no more than 2 mosquitos fired per incoming missile (2 is in case 1 misses). It may up the loading on the script though
Give a man a fire, he'll stay warm for a day
Set a man on fire, he'll stay warm for the rest of his life ;)

Dahkteromar
Posts: 8
Joined: Mon, 26. Aug 13, 15:39

Post by Dahkteromar » Fri, 30. Aug 13, 10:43

Does this work only on Group Managment System created group Leads and protects their ships or does it protect simply any ship that follows the same ship as the one which the command is run on?
Dahkteromar

Post Reply

Return to “X³: Reunion - Scripts and Modding”