missile reactions...
Moderators: winston, another_commander
missile reactions...
Hi,
I've had some fun with disabling my MASC and then trying to change the AMS/chaff behaviour: my ship now automatically does use it's chaff on !standard missiles and only switches to darts if the chaff is exhausted
However, I'm considering something which apparantly is not possible yet: automatically using the ECM against missiles. Toggling the cloak on and off appears to be too powerful, though it would be interesting to give it a try.
How do you feel about such a thing like auto-ECM as an upgrade? Interested?
Are there any suggestions upon where in the code I could add the possibility to use ECM from JS?
I also have the impression that the analyzer does switch the target to the most recently launched missile, but that turrets won't fire on it. Suggestions on where to find that code part? Would you want turrets to shoot on missiles? I'd like it...
Screet
I've had some fun with disabling my MASC and then trying to change the AMS/chaff behaviour: my ship now automatically does use it's chaff on !standard missiles and only switches to darts if the chaff is exhausted
However, I'm considering something which apparantly is not possible yet: automatically using the ECM against missiles. Toggling the cloak on and off appears to be too powerful, though it would be interesting to give it a try.
How do you feel about such a thing like auto-ECM as an upgrade? Interested?
Are there any suggestions upon where in the code I could add the possibility to use ECM from JS?
I also have the impression that the analyzer does switch the target to the most recently launched missile, but that turrets won't fire on it. Suggestions on where to find that code part? Would you want turrets to shoot on missiles? I'd like it...
Screet
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Yes, I'd love auto-defense systems against non-standard missiles! Lately whilst trying to take down my RH targets, I seem to get a lot of ships launching nukes etc at me, sometimes on high-speed injector passes. There often simply isn't enough time in the heat of battle to disable targeting, toggle to the correct defence weapon, re-target and deploy the defence device in the two seconds or so from missile ID warning until spacebar time.
For that matter, shouldn't missile selection be totally independant of target selection anyway? I'm constantly being annoyed by the fact that when my multi-targetting system is down, I can no longer toggle between missiles.
Auto-ECM seems like a useful upgrade. Having turrets fire on missiles sounds good too.. not that Gunboat Diplomat has any turrets..
For that matter, shouldn't missile selection be totally independant of target selection anyway? I'm constantly being annoyed by the fact that when my multi-targetting system is down, I can no longer toggle between missiles.
Auto-ECM seems like a useful upgrade. Having turrets fire on missiles sounds good too.. not that Gunboat Diplomat has any turrets..
Last edited by Diziet Sma on Sun Apr 26, 2009 11:07 am, edited 2 times in total.
It's not currently possible. It was part of the original blueprint for AMS to do so for standard missiles, but it can't be done at the moment.
And there is the school of thought that says having ECM automatic would be an unfair advantage and make the game too easy with regard to missiles. This isn't a view I subscribe to, but I know some people do as I did discuss it with some.
And there is the school of thought that says having ECM automatic would be an unfair advantage and make the game too easy with regard to missiles. This isn't a view I subscribe to, but I know some people do as I did discuss it with some.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Well, the NPC ships apparantly can do instant-ECM. I also had the impression that they once blew me up that way.Thargoid wrote:It's not currently possible. It was part of the original blueprint for AMS to do so for standard missiles, but it can't be done at the moment.
And there is the school of thought that says having ECM automatic would be an unfair advantage and make the game too easy with regard to missiles. This isn't a view I subscribe to, but I know some people do as I did discuss it with some.
Anyway, even if I (or someone else) manages to add this to the code, it wouldn't have to be that every ECM does that, but probably only an additional upgrade to the standard ECM (probably via OXP then) which not everyone would have to buy. Thus, who does prefer the original ECM would not have to bother...
Because I'm now getting a little bit more familiar with the code, I asked for suggestion on where I could try to add such functionality
Screet
Like I said, personally I don't think it would be too unbalancing (indeed it's a natural evolution, and something that the military have in real life, or at least the current tech equivalent of). Indeed auto-ECM OXP is one I did think of and look into a while back. But it hit the rather fundamental brick wall that there is no function within JS to fire the ECM, at least that I could find anywhere.
Of course if you can find something I've missed, go for it It's where AMS came from as a subsitiute.
Of course if you can find something I've missed, go for it It's where AMS came from as a subsitiute.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
This has been implemented for 1.73Diziet Sma wrote:For that matter, shouldn't missile selection be totally independant of target selection anyway? I'm constantly being annoyed by the fact that when my multi-targetting system is down, I can no longer toggle between missiles.
The glass is twice as big as it needs to be.
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
...
If you do, Screet, I suggest naming it the "Naval ECM System".
Oolite might not be Elite and even less its later versions, but naming things after things that have been in later Elite games and therefore can be expected to show up in Oolite's "future" would be a nice little twist imo.
L
Oolite might not be Elite and even less its later versions, but naming things after things that have been in later Elite games and therefore can be expected to show up in Oolite's "future" would be a nice little twist imo.
L
Although now I think about it again, I think I can possibly see a way...
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
SVN 2144 contains now a fireECM() function for the OOJSShip class. This means, that you can order any ship (player included) to fire its ECM like in the examples below:
or
But I have to say that I am no fan of having equipment reacting automatically. As I've said in the past many times, too much automation kills the fun. But whoever feels like using the fireECM() can now do so.
Code: Select all
player.ship.fireECM();
Code: Select all
player.ship.target.fireECM();
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
I see your point, but for a heavily outnumbered bounty-hunter concentrating on getting the scumbags into his crosshairs, any machine that watches his back for him just has to be a 'Bounty-Hunter's Best Friend'TManother_commander wrote:But I have to say that I am no fan of having equipment reacting automatically. As I've said in the past many times, too much automation kills the fun.
It's one of the few things that's never quite rung true for me in Oolite, that ECM isn't automated. From a realism view it would be the first thing to be automatic, given the risk to the ship and how simple the technology would be.
Even today military aircraft and warships have automatic response to missile and active radar lock-ons (hence the urban myths about the low flying fighter jets and the police with hand-held radar speed guns). And as said above it always seems that the NPC ships have their ECM automatic due to how their AIs work.
And I'm not sure that it would affect game balance, given how many missiles these days virtually ignore ECM, and also the fact that ECM affects all missiles in range (hence it can put a dent in any missiles you've fired as well).
Even today military aircraft and warships have automatic response to missile and active radar lock-ons (hence the urban myths about the low flying fighter jets and the police with hand-held radar speed guns). And as said above it always seems that the NPC ships have their ECM automatic due to how their AIs work.
And I'm not sure that it would affect game balance, given how many missiles these days virtually ignore ECM, and also the fact that ECM affects all missiles in range (hence it can put a dent in any missiles you've fired as well).
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
I'd call that a good reason for retaining the requirement for manual activation.Thargoid wrote:nd I'm not sure that [automated ECM] would affect game balance, given how many missiles these days virtually ignore ECM, and also the fact that ECM affects all missiles in range (hence it can put a dent in any missiles you've fired as well).
We're talking OXP anyway, so you pays your money, takes your choice and install it or don't
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Hi,
just trying if this works...would almost sound too easy, modifying a single line:
I guess even if it works, it'll be difficult for the turrets to shoot the missile...and I'm not sure if it gives undesired side-effects, as that is the modified version of "hasHostileTarget".
However, I believe that targeted missiles heading for the player should be considered hostile targets
Grrr...it's sooo difficult to try these missile things out...it's game over so easily!
Screet
just trying if this works...would almost sound too easy, modifying a single line:
Code: Select all
return (([playersTarget isMissile] || ([playersTarget isShip] && [playersTarget hasHostileTarget])) && [playersTarget primaryTarget] == self);
However, I believe that targeted missiles heading for the player should be considered hostile targets
Grrr...it's sooo difficult to try these missile things out...it's game over so easily!
Screet
Confirmed: That simple one-line-change allows turrets to fire at missiles which did lock on to the ship
I'll leave that line in for my version...now it's just the question wether this should be included in the trunk version.
It practically requires the missile analyzer as that does auto-lock onto missiles heading for the player...
Screet
I'll leave that line in for my version...now it's just the question wether this should be included in the trunk version.
It practically requires the missile analyzer as that does auto-lock onto missiles heading for the player...
Screet