[SCR] Missile Safety (v1.12)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
I'm not going to rename it to Underwear Safety, though.
If MS is installed as well, AI ships (including yours) should then make use of it.
There is no direct connection but for the OOS Rebalance I had to rewrite the stock ES scripts anyway so I placed the hooks for this one while I was there.aka1nas wrote:Woohooo! Can't wait until it's ready! Is that going to be a part of your OOS redux?
If MS is installed as well, AI ships (including yours) should then make use of it.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
If AI ships don't spontaneously combust for no apparent reason then it's probably working.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
I'm not rly interested in this for this for my personal craft
Does this work for all fighters, enemies included or just player owned ships?
Make a version that works for all fighters and i'm interested.......blowing up 4 of 7 M3 fighters with less than 5 shots cause they launch missiles at me pisses me off. Those are potentially salvageable craft dammit!
Does this work for all fighters, enemies included or just player owned ships?
Make a version that works for all fighters and i'm interested.......blowing up 4 of 7 M3 fighters with less than 5 shots cause they launch missiles at me pisses me off. Those are potentially salvageable craft dammit!
Then try the OOS combat Rebalance script because for that to work, the ES Scripts need to be overwritten and the OOSR does provide the necessary files.borgrel wrote:Make a version that works for all fighters and i'm interested.......
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
-
- Posts: 189
- Joined: Mon, 20. Jul 09, 13:01
[quote]Note that this is not foolproof. A lucky shot can still detonate a missile even if the warhead isn't armed.
(Firing at warheads is neither safe nor recommended by the manufacturer) [/quote]
So what this is saying is that all this time my in-the-face explosions have 99% been from the missile thinking the bullet traveling by it was target? That must mean there are far more prox-det missiles than I thought.
Was always wondering why missiles were so easy to shoot down. And while during pirate busting it didn't matter where I aimed at the target ship, it's dying missile launch always resulted in self-cremation.
(Firing at warheads is neither safe nor recommended by the manufacturer) [/quote]
So what this is saying is that all this time my in-the-face explosions have 99% been from the missile thinking the bullet traveling by it was target? That must mean there are far more prox-det missiles than I thought.
Was always wondering why missiles were so easy to shoot down. And while during pirate busting it didn't matter where I aimed at the target ship, it's dying missile launch always resulted in self-cremation.
-
- Posts: 359
- Joined: Sun, 10. Jan 10, 23:48
dctrjons wrote:So what this is saying is that all this time my in-the-face explosions have 99% been from the missile thinking the bullet traveling by it was target? That must mean there are far more prox-det missiles than I thought.Note that this is not foolproof. A lucky shot can still detonate a missile even if the warhead isn't armed.
(Firing at warheads is neither safe nor recommended by the manufacturer)
Was always wondering why missiles were so easy to shoot down. And while during pirate busting it didn't matter where I aimed at the target ship, it's dying missile launch always resulted in self-cremation.
I thought that as in FL, missiles didn't lock onto bullets, but rather bullets aiming for the Player Ship hit the missiles...?
Also, could someone please with a radish on top tell me if this mod effects m6's? Since those are currently my number one "Aaaaarrrrrgggghhh" ships...
If you use it in conjunction with Gazz's OOS rebalance scripts, it should affect all ships. Otherwise, by itself it only affects the player ship.
This is script is awesome, and has made missile usage much less aggravating. One little niggling issue I still run into a lot with missile combat and NPCs is that there is a big tendency for missiles to take out ships after they have already bailed. This is especially true with scripts like RRF and the OOS Rebalance as you have ships firing missiles from across a sector and taking a few minutes to reach their target.
Would it be possible (or reasonable) to add a self-destruct or disarm for the missile if the target bails en route?
This is script is awesome, and has made missile usage much less aggravating. One little niggling issue I still run into a lot with missile combat and NPCs is that there is a big tendency for missiles to take out ships after they have already bailed. This is especially true with scripts like RRF and the OOS Rebalance as you have ships firing missiles from across a sector and taking a few minutes to reach their target.
Would it be possible (or reasonable) to add a self-destruct or disarm for the missile if the target bails en route?
How would the missile know the target bailed, after all it's just a fancy named heatseeker or dumbfire...aka1nas wrote:Would it be possible (or reasonable) to add a self-destruct or disarm for the missile if the target bails en route?
"If you’re not prepared to be wrong, you’ll never come up with anything original."
Sir Ken Robinson
Sir Ken Robinson
At least a few of them have rudimentary IFF capability as they can re-target other enemies. They should be able to tell if something changes from enemy to neutral and disable the warhead if so.TrixX wrote:How would the missile know the target bailed, after all it's just a fancy named heatseeker or dumbfire...aka1nas wrote:Would it be possible (or reasonable) to add a self-destruct or disarm for the missile if the target bails en route?
AFAIK, there is no way to find out a missile's target without checking every single ship and station in the sector and backtrack from there by checking what missiles, if any, are incoming to the object.aka1nas wrote:Would it be possible (or reasonable) to add a self-destruct or disarm for the missile if the target bails en route?
There is no way to record that information at launch because missiles can change targets in mid-flight.
I guess you could write some kind of missile defense script that runs on a ship and auto-detonates all missiles that were fired from non-hostile races but that would probably break one helluvalot of missions.
Many missions spawn Neutral.Race ships, only altering their relation to the playership to hostile.
The missiles would not know this so all missiles fired by the player would be detonated because they were fired by a race that is "not hostile" to the target.
Maybe you can find a workaround for this but... good luck.
I prefer to have a script that does only one thing but does it well.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Some browsers have problems handling graphical links in this forum.
Use the text link if you can't use the graphical one...
Use the text link if you can't use the graphical one...
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Sorry for bumping this old thread but I'd be very interested in using this in AP, though primarily to get around the horribly frustrating experience of enemy fighters consistently detonating themselves in dogfights (and thus denying credit for kills or any chance at salvage).
Assuming that this plugin is AP-compatible; is there any chance that the new OOS code in AP would also mean that this plugin will affect all ships in combat and not just $playership?
Edit:
----
Tried it out - Doesn't appear to be working even for playership in AP. Would love to see an update for this script (especially if such an update would affect enemy ships too..); but I'm willing to take a stab at it myself if there's a lack of time for this plugin.
Assuming that this plugin is AP-compatible; is there any chance that the new OOS code in AP would also mean that this plugin will affect all ships in combat and not just $playership?
Edit:
----
Tried it out - Doesn't appear to be working even for playership in AP. Would love to see an update for this script (especially if such an update would affect enemy ships too..); but I'm willing to take a stab at it myself if there's a lack of time for this plugin.
when you say not working, did you put it in the scripts folder in AP? (Not TC\scripts). I would be interested in this too.
(oh and ofc activate the MSCI)
I can't off the top of my head, immediately think what would be incompatible with this as it doesn't reference any Tships etc or CAT\DAT that may have changed.
(oh and ofc activate the MSCI)
I can't off the top of my head, immediately think what would be incompatible with this as it doesn't reference any Tships etc or CAT\DAT that may have changed.
Sorry, I should've been clearer - It drives me crazy when someone says something's "not working". I was half-asleep when I posted.
I placed the plugin scripts into the addon\scripts folder and it shows up under AL fine, but when enabled it doesn't appear to actually work in terms of making missiles safe until they've passed 200m.
For instance, I was able to shoot down my own hurricane missiles as soon as they left the ship.
Edit:
----
It seems I misunderstood how the plugin works! Missiles can still be shot down (as mentioned in the OP ) but should not detonate when doing so. Shooting down one's own missiles as soon as they've left the ship appears to destroy them 'safely' with or without the plugin, so I'm not sure of the best way to test this.
Edit 2:
----
The plugin disables collision-detection of unarmed missiles and in testing that appears to work fine.
Roughly how many AI scripts would need to be edited/overriden to make the AI missiles affected by this? I'm familiar with scripting, but I have no idea which scripts control AI missile launch behaviour.
I placed the plugin scripts into the addon\scripts folder and it shows up under AL fine, but when enabled it doesn't appear to actually work in terms of making missiles safe until they've passed 200m.
For instance, I was able to shoot down my own hurricane missiles as soon as they left the ship.
Edit:
----
It seems I misunderstood how the plugin works! Missiles can still be shot down (as mentioned in the OP ) but should not detonate when doing so. Shooting down one's own missiles as soon as they've left the ship appears to destroy them 'safely' with or without the plugin, so I'm not sure of the best way to test this.
Edit 2:
----
The plugin disables collision-detection of unarmed missiles and in testing that appears to work fine.
Roughly how many AI scripts would need to be edited/overriden to make the AI missiles affected by this? I'm familiar with scripting, but I have no idea which scripts control AI missile launch behaviour.
!plugin.acp.fight.attack.object.xmlZurechial wrote:Roughly how many AI scripts would need to be edited/overriden to make the AI missiles affected by this? I'm familiar with scripting, but I have no idea which scripts control AI missile launch behaviour.
!fight.attack.object.std.xml
!fight.attack.object.owp.xml
Arguably !plugin.gz.missile.def.mk3.xml because the missile turrets on M8 are still pretty close to the center of the ship.
I would recommend only running it on ships where get size reports < 500.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.