- Make the escape pod a lot more expensive, up to a considerable fraction of your ship's price. Then deliver the replacement ship with full working equipment. Drawback: escape pods would become unaffordable especially for beginner pilots, who may need them the most.
- Leave the escape pod as it is, but make it clear that the insurance only covers the hull, not the installed equipment. Only a change in the long text in equipment.plist and the documentation is needed. (By the way: the current text reads "purchase includes comprehensive insurance for your ship and systems", which can easily be construed to mean repaired (or working) systems.)
- Alternatively, additionally, the damaged equipment could be repaired, but for the usual repair price, which would be automatically taken from the player's credit balance. Some thought would need to be spent on what happens if there is no sufficient balance.
Battle Damage OXP
Moderators: winston, another_commander
- 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:
Re: Battle Damage OXP
I can see two potential routes to go:
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Battle Damage OXP
v1.1 is now available.
This addresses the 'escape pod' problem where if a player ejects from a damaged ship the replacement ship was also damaged. The replacement ship will now be delivered with the hull in good working order.
Thanks to Mauiby for the bug report.
This addresses the 'escape pod' problem where if a player ejects from a damaged ship the replacement ship was also damaged. The replacement ship will now be delivered with the hull in good working order.
Thanks to Mauiby for the bug report.
Last edited by Smivs on Thu Sep 05, 2013 2:57 pm, edited 1 time in total.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Battle Damage OXP
I favour this solution with the following extensions:Commander McLane wrote:2. Leave the escape pod as it is, but make it clear that the insurance only covers the hull, not the installed equipment.
- covers Lasers, Large Cargo Bay and Passenger Berths also due to these cannot be damaged by enemy fire,
- make buyable a costly insurance which give back all equipments in working state.
I do not want to force money spending to repair equipments, better if the player can spend the money to buy the most important parts.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Battle Damage OXP
Regarding this OXP I do not intend to change or alter the core game behaviour. The fix mentioned above is to ensure that the previous (silly) situation whereby the new ship was supplied damaged does not occur.
Battle Damage OXP deals purely with hull damage - equipment damage is a seperate issue and it might be that changes are needed within the core game to address this.
Battle Damage OXP deals purely with hull damage - equipment damage is a seperate issue and it might be that changes are needed within the core game to address this.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Battle Damage OXP
Thank you Smivs, now I understand that I and Commander McLane talking about a new thought which are independent from this OXP. Maybe a separated Insurance OXP (or McLane's auto eject OXP?) can provide a costly "Full Insurance" equipment (with damage_probability=0;) which repair all equipments after punch out.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Battle Damage OXP
I'm surprised that this has not come up before actually. The 'sales blurb' for the escape capsule (on the Outfitters screen) states
As I said above, my feeling is that this might require a core-game change.
which does sort of imply that the replacement ship should have the same equipment (in good working order) that the lost ship had."A simple emergency capsule with a life-support system, purchase includes comprehensive insurance for your ship and systems."
As I said above, my feeling is that this might require a core-game change.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Battle Damage OXP
It is enough:Smivs wrote:this might require a core-game change.
Code: Select all
equipment.plist:
(
( 0, 10000, "Full Insurance", "EQ_FULL_INSURANCE",
"You will get back all of your equipments in perfect state after ejected with this fully comprehensive insurance.",
{ available_to_all = true; damage_probability = 0; } )
)
script.js:
this.shipDockedWithStation = function(station) {
if( this.$player_ejected && player.ship.equipmentStatus("EQ_FULL_INSURANCE") == "EQUIPMENT_OK") {
player.consoleMessage("Full Insurance give undamaged equipments into your new ship", 5);
var eq = player.ship.equipment;
for( var i=0; eq[i]; i++ )
if( eq[i] && player.ship.equipmentStatus(eq[i].equipmentKey) == "EQUIPMENT_DAMAGED")
player.ship.setEquipmentStatus(eq[i].equipmentKey, "EQUIPMENT_OK");
player.ship.removeEquipment("EQ_FULL_INSURANCE");
}
this.$player_ejected = false;
}
this.shipLaunchedEscapePod = function(escapepod, passengers) {
this.$player_ejected = true;
}
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Battle Damage OXP
As this is a interesting topic (and has nothing to do with this OXP), I have made a post in Suggestion Box to hopefully start a more general debate.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Ranthe
- ---- E L I T E ----
- Posts: 330
- Joined: Sat Oct 13, 2012 7:35 pm
- Location: Paraparaumu, New Zealand (TL 8, Rich Agricultural, Multi-Government)
Re: Battle Damage OXP
Bug report: The same "port exhaust around 300m behind the ship" error for the Anaconda previously reported for the Smivs shipset also exists in this OXP (the Smivs replace set).
Line 139 in "shipdata-overrides.plist"
should be
Line 139 in "shipdata-overrides.plist"
Code: Select all
exhaust = ("-13.5 7.26 -843.0 8.0 8.0 8.0", "13.5 7.26 -83.0 8.0 8.0 8.0");
Code: Select all
exhaust = ("-13.5 7.26 -83.0 8.0 8.0 8.0", "13.5 7.26 -83.0 8.0 8.0 8.0");
Commander Ranthe: Flying the Anaconda-class transport Atomic Annie through Galaxy 2.
Combat Ranking: Dangerous
Combat Ranking: Dangerous
"Big ships take more booty on your interstellar flights..."
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Battle Damage OXP
Thanks for the report Ranthe, it looks like it c&p'd over from the shipset before the fix.
I'll get an update out later today. Updated 'forSmivs' version to v1.2 with bugfix. Wiki etc updated.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Battle Damage OXP
A small error has been detected which is causing log errors to show for some players. The affected OXP is BattleDamage for Smivs' v1.2. This is affecting all player ships and is causing the gun subentity to not appear, as well as the log errors.
I will not be fixing this immediately as the issue is a minor one and this OXP (along with many others) is due for an overhaul and update prior to releasing OXZ versions for Oolite v1.80, and the error can be fixed then.
In the meantime, anybody wanting to fix their version should open the shipdata-overrides.plist in any good text editor (usual warning - don't use Notepad) and change all instances of 'smivsgun' to smivs-gun (with a hyphen). A simple 'find and replace' should accomplish this.
Apologies all round
I will not be fixing this immediately as the issue is a minor one and this OXP (along with many others) is due for an overhaul and update prior to releasing OXZ versions for Oolite v1.80, and the error can be fixed then.
In the meantime, anybody wanting to fix their version should open the shipdata-overrides.plist in any good text editor (usual warning - don't use Notepad) and change all instances of 'smivsgun' to smivs-gun (with a hyphen). A simple 'find and replace' should accomplish this.
Apologies all round
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Battle Damage OXP
The 'universal' edition as now available as an OXZ. The forSmivs' version has not been converted due to the still uncertain future of SmivsShipset.
Grab it via the Expansions Manager, or the wiki.
Grab it via the Expansions Manager, or the wiki.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Battle Damage OXP
That makes 194 OXZs to date.. can we crack 200 before 1.80 is released? Truth is, we don't know!
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
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Battle Damage OXP
....but we can try
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Battle Damage OXP
As it happens, we do know - and the answer is no!Diziet Sma wrote:That makes 194 OXZs to date.. can we crack 200 before 1.80 is released? Truth is, we don't know!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!