Oolite Bulletins

For information and discussion about Oolite.
It is currently Thu Apr 27, 2017 12:51 pm

All times are UTC




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Sun May 01, 2011 7:39 am 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1960
This is a watered-down ECM-only antimissile system inspired by Ramirez's chaff launcher, Thargoid's Anti Missile System, Cmdr Wyvern's Automatic Chaff System (which was based on Thargoid's AMS and Ramirez's Chaff Dispenser), and Screet's Missile Countermeasures (which was based on Cmdr Wyvern's Automatic Chaff System).

It's not "intelligent" -- it just fires the ECM *ONCE* when a missile is fired at the player's ship. In a sense, you can assume many NPC ships already have this equipment. It will warn but not fire the ECM if the energy levels are really low. It can be enabled/disabled, via equipment activation...in case you'd prefer to manually use ECM or if you have other OXP equipment that has the same effect. Even when enabled, ECM can still be fired manually...but not more often than normal.

There may be a minor conflict with this and Cmdr Wyvern's Automatic Chaff System, Ramirez's Chaff Launcher, Thargoid's Anti Missile System, and/or Screet's Missile Countermeasures.
The ECM may fire multiple times consecutively per each incoming missile as a result, rapidly depleting your energy banks.
So it's best to have only 1 such system installed or activated. (Good thing Auto-ECM can be disabled!)
But even together, the OXPs will not cause the ECM to fire faster than you could manually.


Auto-ECM_0.4.oxz for Oolite v1.79:
https://app.boxcn.net/s/0oqu1vv1goka0qhkzghm

Auto-ECM v0.2 OXP for Oolite v1.77:
http://www.boxcn.net/s/uyfp85y0ayltk9fb6age

(v0.3 was an internal testing version for when I was converting from v1.77 to v1.79...I may use that version if I release an updated Auto-ECM for Oolite v1.77 only.)


Last edited by Switeck on Wed Mar 26, 2014 6:30 am, edited 4 times in total.

Top
   
PostPosted: Sun May 01, 2011 2:34 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Apr 11, 2006 1:47 am
Posts: 1564
Location: Somewhere in the great starry void
I hate to break it to you, but you've been beaten to the punch.

Not that someone couldn't find a use for this gadget, mind. :)

_________________
Thi'ena Uli-ka Roh'i - modified, iron assed Mussurana Ad Astra
Trader, scavenger, hunter - not necessarily in that order!


Top
   
PostPosted: Sun May 01, 2011 4:03 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1960
I'll add your Automatic Chaff System to the readme for the next release (v0.3 assuming there is one) and also edit my first post to reflect this. I'd mixed up your ACS with Ramirez's chaff launcher -- thinking they were made by the same person. :oops:

I recognize that there are quite a few anti-missile systems out there, most of which use the ECM as well. But I saw none that used ONLY the ECM, including yours.

Pretty much all of them seem to utilize hammerspace (http://tvtropes.org/pmwiki/pmwiki.php/Main/Hammerspace) with equipment that I don't see as very small. They need their own special ammo bin and launcher either firing forwards, firing/dropping rearwards, or both. Chopping specialized holes in the exterior of the player's ship can't help the overall resale value, especially if those items are later removed. While fluff-wise the Cobra 3 does have some unused internal space, I didn't get the impression it was in a convenient location for external exits. On top of this, the antimissile systems serve to devalue the somewhat expensive ECM-resistant "hardhead" missiles as well as quite a few even more expensive (but typically more powerful) OXP missiles. NPC ships cannot use the OXP antimissile equipment, at least not without additional complex scripting. In short, they all have serious game balance issues.

Incidentally, my other frustrations with your OXP specifically was partly why I made Auto-ECM. The ACS seemed pretty buggy regarding how many chaff bundles it had left -- it could be negative and still firing. It also seemed to have "messy" logic concerning whether to fire the ECM and/or chaff. Nested IFs can be useful, but that's the "deepest" If-else-if-else tree I've ever seen in any OXP! I spotted a couple places with:
&& missile.name == "Missile" && missile.name != "Missile"
...which doesn't make sense to me. (Not to say there's no reason for that -- I've been at a loss about a few ways Oolite syntax and logic works before!)


Top
   
PostPosted: Sun May 01, 2011 4:57 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Apr 11, 2006 1:47 am
Posts: 1564
Location: Somewhere in the great starry void
OK, you got me there! Touche, Commander. And to think I made ACS because Thargoid's AMS tends to fail more often than it succeeds, and with only a six-round magazine at extortionist's pricing to boot.
Quote:
The ACS seemed pretty buggy regarding how many chaff bundles it had left -- it could be negative and still firing.
I'll have to look into that. I haven't noticed that bug myself, as I tend to reload at every main station that carries the reloads; it's usually well before the chaff magazine is emptied.
I know, my scripting sucks. If I manage to get the gadget to work at all, it's a victory. At least ACS mostly does what it says on the tin, funny chaff count bug aside.

Getting NPCs to carry it would be a treat, but I don't think Oolite's js engine is up to that. In any case, the NPCs can and do hurl oxp missiles at you - including some that aren't available_to_all. WTF is Rocketeer missiles? Never heard of Rocketeer missiles till one was shot at me!

_________________
Thi'ena Uli-ka Roh'i - modified, iron assed Mussurana Ad Astra
Trader, scavenger, hunter - not necessarily in that order!


Top
   
PostPosted: Sun May 01, 2011 6:10 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1960
Can't say I don't agree there...Thargoid's AMS seems to be firing barely homing gold-plated struts rather than missiles. They're too slow and with a poor corner rate to catch missiles. The triple-pack of fast missiles in armory would probably be a better choice than what AMS uses. Rigging that up to work with auto-launching antimissile logic controls...I just don't know if a player's missile can be scripted to auto-launch. Maybe added/removed by script...and firing something similar though?

As for NPCs using anti-missile systems, I can at least say they try to shoot missiles sometimes. Thargoids with their omnidirectional laser even do an ok job of it. It's almost a waste of time to drop a stationary q-mine off near them because of it. My auto-ECM can almost be assumed to already be on many NPC ships, due to how quickly many ECM incoming missiles.

Your ACS logic tries to handle every possible contingency. I think that's what makes it so very complex script logic-wise. I even ran into a headache even with just the auto-ECM due to whether the player had intentionally disabled that or whether it was damaged -- I felt different messages were merited for each condition.

As for OXP missiles and bombs, I do have fuel tanks and military missiles installed...though I'm more likely to have a military missile fired at me than installed on my ship. Might as well call Military Missiles "boomerang" when fired by pirates + ECMed. :lol: I did make it rarer on NPC ships though in my hacked version.


Top
   
PostPosted: Sun May 01, 2011 7:09 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2257
Quote:
In any case, the NPCs can and do hurl oxp missiles at you - including some that aren't available_to_all. WTF is Rocketeer missiles? Never heard of Rocketeer missiles till one was shot at me!
He, funny missile isn't it (Vector.oxp)? I'm already working on some more NPC only things as I feel that the player has enough toys.

So the "Marc X Rocketeer" and "Barkas Barrier" will get some brothers and sisters in the next version (maybe something like "The Hugh Dave", "Big A's Revenge", "Mic Ha's Sorrowbringer", "Get A Fix - Shieldtest", "Jameson's Shaker", "Rincewinstons Nullifier" or "The Walch Pulsator") .-)


Top
   
PostPosted: Sun May 01, 2011 8:45 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Apr 11, 2006 1:47 am
Posts: 1564
Location: Somewhere in the great starry void
Quote:
..."The Walch Pulsator"...
Batteries not included, right? :lol:

...Yeah. Naughty Lizard! :oops: I'll be over there. :arrow:

_________________
Thi'ena Uli-ka Roh'i - modified, iron assed Mussurana Ad Astra
Trader, scavenger, hunter - not necessarily in that order!


Top
   
PostPosted: Sun May 01, 2011 9:45 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2257
Quote:
Quote:
..."The Walch Pulsator"...
Batteries not included, right? :lol:
Sometimes :mrgreen:


Top
   
PostPosted: Thu May 12, 2011 10:17 am 
Offline
Wiki Wizard
Wiki Wizard
User avatar

Joined: Wed Mar 10, 2010 12:30 pm
Posts: 1843
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Added to the [wiki]OXP List[/wiki], but without a page for now.


Top
   
PostPosted: Wed Mar 26, 2014 6:32 am 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1960
Auto-ECM_0.4.oxz
https://app.boxcn.net/s/0oqu1vv1goka0qhkzghm

This version is converted to using Oolite v1.79 trunk's OXZ file format!

...There may be problems with its OXZ formatting, so please report anything unusual if you use this OXZ!


Top
   
PostPosted: Wed Aug 06, 2014 4:36 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1960
I forgot to document that I also added a test mode for Auto-ECM -- it will tell you if it's active, disabled or damaged when you press the Equipment Mode key with the Auto-ECM equipment selected.


Top
   
PostPosted: Thu Aug 07, 2014 5:31 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Jun 11, 2011 6:07 am
Posts: 2161
Location: Western Australia
Quote:
I also added a test mode for Auto-ECM -- it will tell you if it's active, disabled or damaged when you press the Equipment Mode key with the Auto-ECM equipment selected.
Now that's a good idea.


Top
   
PostPosted: Thu Aug 07, 2014 7:32 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6175
Location: Aboard the Pitviper S.E. "Blackwidow"
Quote:
Quote:
I also added a test mode for Auto-ECM -- it will tell you if it's active, disabled or damaged when you press the Equipment Mode key with the Auto-ECM equipment selected.
Now that's a good idea.
Seconded.. very good idea indeed.

_________________
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 13 posts ] 

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited