New missiles, bombs and equipment
Moderators: winston, another_commander
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
I've downloaded it. Excellent. I'm looking forward to use it, although the price is a bit high for my average commander atm. Still have to earn more money
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- Cmdr. Maegil
- Sword-toting nut-job
- Posts: 1294
- Joined: Tue Feb 27, 2007 10:28 pm
- Location: On the mend in Western Africa
Would my missile variations deface your OXP too much? If not, please feel free to merge it (mind the anthill, though ).
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
I'm obviously not one of them.
- Cmdr. Maegil
- Sword-toting nut-job
- Posts: 1294
- Joined: Tue Feb 27, 2007 10:28 pm
- Location: On the mend in Western Africa
Erm... sorry, check out this thread to see what I was talking about.
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
I'm obviously not one of them.
Just a heads up to say that Missiles and Bombs has been updated to v1.0 - this is now compatible with Oolite v1.71.2, but otherwise the features are pretty much the same. If anyone's using earlier Oolite versions (especially pre-1.70) they should continue to use Missiles and Bombs v0.5, which is still available at the link below.
Download Resistance Commander plus many other exciting OXPs HERE
I've made a further update to M&B with the following changes:
- I've reinstated the anti-missile system; this never worked very well in v1.65 but seems to be more effective in 1.71.
- the electronic override missile now causes random system failure to both players and NPCs
- the anti-thargoid warheads will target both thargoids and thargons in the area
- I've reinstated the anti-missile system; this never worked very well in v1.65 but seems to be more effective in 1.71.
- the electronic override missile now causes random system failure to both players and NPCs
- the anti-thargoid warheads will target both thargoids and thargons in the area
Download Resistance Commander plus many other exciting OXPs HERE
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
Think it needs an ECM pulse to detonate it, so NPCs won't make sensible use of it.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Slight error on my part - the remote mine has a secondary role of missile so it may well be launched by an NPC but won't necessarily be detonated. It's hard to see from a distance but when the a red light on top begins to flash, the weapon is armed. Press E and it will explode.
I did think of making this a cascade bomb for better visual effect but I thought that would be too uber. Instead, have some fun by leaving one just outside a station and wait for some police ships to launch...
I did think of making this a cascade bomb for better visual effect but I thought that would be too uber. Instead, have some fun by leaving one just outside a station and wait for some police ships to launch...
Download Resistance Commander plus many other exciting OXPs HERE
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Hi, Ramirez!
Missiles and Bombs needs a small update for 1.72, namely in the override-script.js, because parts of 'player.foo' have changed to 'player.ship.foo'.
By the way, I always was wondering where the strange equipment-failure message came from, that I'm getting from time to time. I simply didn't relate it to Missiles and Bombs.
So I didn't only make the small changes required, but also changed the commsMessage to make it clear what's happening. And I renamed the script to override-missile-script.js. This is to help me remember in which OXP the script is located, in case I should get any error messages in my log again. Because the log-warning that something is wrong with 'override-script' unfortunately doesn't give me a clue where to find the script.
Therefore you may even consider changing its name (and all other file- and entity-names in the OXP) to something more unique and identifiable.
Anyway, my customized script now looks like this:
and is now called 'override-missile-script.js'. Don't forget to change the script-entry in shipdata as well, if you also like to rename it.
Again by the way: You can also specify the type of system failure in the commsMessage, if you like. Just change the message to:
Missiles and Bombs needs a small update for 1.72, namely in the override-script.js, because parts of 'player.foo' have changed to 'player.ship.foo'.
By the way, I always was wondering where the strange equipment-failure message came from, that I'm getting from time to time. I simply didn't relate it to Missiles and Bombs.
So I didn't only make the small changes required, but also changed the commsMessage to make it clear what's happening. And I renamed the script to override-missile-script.js. This is to help me remember in which OXP the script is located, in case I should get any error messages in my log again. Because the log-warning that something is wrong with 'override-script' unfortunately doesn't give me a clue where to find the script.
Therefore you may even consider changing its name (and all other file- and entity-names in the OXP) to something more unique and identifiable.
Anyway, my customized script now looks like this:
Code: Select all
this.name = "override-missile-script";
this.author = "Ramirez";
this.copyright = "June 2008";
this.description = "Randomly damages a ship's systems when a Violet Flax is detonated";
this.version = "1.0";
this.damageSystems = function()
{
var list = ["EQ_ADVANCED_COMPASS",
"EQ_DOCK_COMP",
"EQ_ECM",
"EQ_FUEL_INJECTION",
"EQ_TARGET_MEMORY",
"EQ_SCANNER_SHOW_MISSILE_TARGET"]
var equipment = list[Math.floor(Math.random() * list.length)]
if(player.ship.hasEquipment(equipment))
{
player.ship.setEquipmentStatus(equipment, "EQUIPMENT_DAMAGED")
player.commsMessage("Warning: Missile caused System Failure", 5);
}
}
Again by the way: You can also specify the type of system failure in the commsMessage, if you like. Just change the message to:
Code: Select all
player.commsMessage("Warning: Missile detonation caused failure of " + EquipmentInfo.infoForKey(equipment).name, 5);
One comment I would like to make about this suggestion for script naming. In this case it would be OK, but more generally could I council that people think very carefully before changing script names please.
As OXP-writers are getting more proficient and scripts are getting more complex, some people (like Eric and myself that I know of, and probably several others too) are setting things up that one script checks for the presence of another to do things (e.g. Eric uses his to see if certain OXP ships are available, and if not drafts in alternatives, and I use this kind of check in RepairBots so they can fix certain bits of OXP equipment). If the script names get changed, then this kind of linkage will not function and problems may then result.
I would fully support though the recommendation about scripts and files having unique and identifiable names, but please be careful about doing it retrospectively on already existing OXPs. In this case it shouldn't cause harm, but in others it might.
As OXP-writers are getting more proficient and scripts are getting more complex, some people (like Eric and myself that I know of, and probably several others too) are setting things up that one script checks for the presence of another to do things (e.g. Eric uses his to see if certain OXP ships are available, and if not drafts in alternatives, and I use this kind of check in RepairBots so they can fix certain bits of OXP equipment). If the script names get changed, then this kind of linkage will not function and problems may then result.
I would fully support though the recommendation about scripts and files having unique and identifiable names, but please be careful about doing it retrospectively on already existing OXPs. In this case it shouldn't cause harm, but in others it might.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Thanks for those. I'm happy with all the suggesions - I always intended to have the equipment name being displayed but didn't think it was possible with the script at the time, hence the rather generic message. I'll do an update when I have a moment.
Fair point on the script name. I suppose a good convention would be to make sure that a clear reference is made right back to the OXP name, as each author is bound to make use of a whole load of internal names (not least M&B's collection of rainbow codes) which players aren't necessarily going to make sense of when going through the error logs.
Fair point on the script name. I suppose a good convention would be to make sure that a clear reference is made right back to the OXP name, as each author is bound to make use of a whole load of internal names (not least M&B's collection of rainbow codes) which players aren't necessarily going to make sense of when going through the error logs.
Download Resistance Commander plus many other exciting OXPs HERE
I've updated M&B to Version 1.2. This fixes the bug noted above and includes a more descriptive console message for the Violet Flax.
I've also incorporated Commander McLane's Status Quo Q-bomb OXP into the cascade missile. In this case, if the missile attempts to detonate too close to a planet or sun it will just explode harmlessly.
Version 1.2 is available at the link below.
I've also incorporated Commander McLane's Status Quo Q-bomb OXP into the cascade missile. In this case, if the missile attempts to detonate too close to a planet or sun it will just explode harmlessly.
Version 1.2 is available at the link below.
Download Resistance Commander plus many other exciting OXPs HERE