Battle Damage OXP

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Battle Damage OXP

Post by Smivs »

v1.3 OXZ now available via the Expansion Manager. See release post for details.

Picture this:- You are in the midst of a major battle. Taking multiple hits your shields are gone and the hull is taking direct laser fire. Every crashing thud sounds like your hull plates are being chewed up and mangled. You may be getting equipment damaged. Eventually the battle is over and you limp away to lick your wounds.
But what wounds? OK you might have lost your fuel scoops or something, but in the core game your ship is still apparantly sound even after many direct laser hits on the hull and will stay that way until the next routine maintenance overhaul. This just doesn't seem logical to me. Your hull plating should be a mess.

And that's what this OXP is all about. It adds hull damage when your hull takes direct hits (ie after the shields are down to zero). You will get console messages to tell you when your hull is taking damage, and when you dock you will be alerted to the damage and advised to get it repaired. Emergency hull repairs cost 75Cr at the outfitters, available anywhere.
If you do not have repairs made, you may experience mis-jumps or fuel leaks as a consequence of the damage. If you launch damaged the station staff will sometimes overlook this if the damage is not too severe although you may be reminded about the damage when you next dock. Sometimes the station you are leaving will point out the damage but let you go on your way, or you may encounter problems on launching and be urged to re-dock immediately for repairs, and you might even get a telling-off from one of the Dock officials and a small fine.

Taking damage in battle
Image
Report upon docking (There are several messages available, so you won't get the same one each time.)
Image
The outfitter screen
Image
Should you launch without making repairs...
Image

This OXP is available in two editions, a Universal version that should work with the core game and any combination of OXPs, and a special version for those who fly a player ship from Smivs'Shipset (v1.4.2). This version adds visible damage to the player's ship in the same way NPCs have visible damage, so you will be able to see the damage using the external views until repairs are made. There is also provision for those who have made a custom skin for their Cobra 3 using the 'Custom Cobra 3 Kit' which is a part of Smivs'Shipset.
To keep things simple, both are included in a single download...just select the appropriate version for you and install it.

Downloads are here.

Credits:- Many thanks to Capt. Murphy for suggestions, help and advice on the code and scripting, and for testing. Thanks also go to Commander McLane and Cim for further good advice, and to Solonar for testing.
Last edited by Smivs on Mon May 11, 2015 3:38 pm, edited 5 times in total.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Gimi
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: [WIP] Battle Damage OXP

Post by Gimi »

I'm using Griff's shipset, but your battle damage OXP is a really good idea. I'll gladly try it out.
Good work Smivs.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: [WIP] Battle Damage OXP

Post by JazHaz »

Excellent, well done. This will add lots more realism to the Ooniverse. Will probably just download the basic version when its done, as I don't use your shipset.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
SandJ
---- E L I T E ----
---- E L I T E ----
Posts: 1048
Joined: Fri Nov 26, 2010 9:08 pm
Location: Help! I'm stranded down here on Earth!

Re: [WIP] Battle Damage OXP

Post by SandJ »

Besides increased immersion, what's the balance?

Free meal & drink in Seedy Space Bars for the pilot with a story to tell?
Will you, when hull-damaged, attract more interest from Offenders and Fugitives?
Does it attract Viper escort?
And will they patch this battle damage for gratis during an annual maintenance?
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company :D
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [WIP] Battle Damage OXP

Post by Smivs »

SandJ wrote:
Besides increased immersion, what's the balance?

Free meal & drink in Seedy Space Bars for the pilot with a story to tell?
Will you, when hull-damaged, attract more interest from Offenders and Fugitives?
Does it attract Viper escort?
And will they patch this battle damage for gratis during an annual maintenance?
No balance. It's just more hassle and expense for the Commander. :lol: The price of realism :)
When the OXP is finished a standard overhaul will fix any battle damage.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Commander McLane
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: [WIP] Battle Damage OXP

Post by Commander McLane »

SandJ wrote:
Besides increased immersion, what's the balance?
I think the balance is that while there are lots and lots of OXPs out there that make things easier for the player, this one makes it a little harder. :wink:

EDIT: ninja'd by da man
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: [WIP] Battle Damage OXP

Post by Capt. Murphy »

Nice work Smivs - goes well with these http://wiki.alioth.net/index.php/Breaka ... pment_OXPs (which will be revamped and have a breakable standard energy unit, and breakable standard engines coming soon).
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [WIP] Battle Damage OXP

Post by Smivs »

Thanks for all the positive feedback so far.
Since my first post this morning I've got all the player-ship texture switching working for the Smivs'Shipset version (thanks to some plundered code courtesy of Capt Murphy :) ) so will have betas of both available for testing very soon. I say 'both' although my hope is that a single release version will cover everything.
At the moment it looks like the format will be a single download for general use, which will include a 'plug-in' for Smivs'Shipset users. I'll keep you posted on this.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: [WIP] Battle Damage OXP

Post by CommonSenseOTB »

good idea! :D
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [WIP] Battle Damage OXP

Post by Smivs »

Test versions are ready, and one willing volunteer has now been recruited.
There are two versions, a universal one which should work with pretty much anything from pure core game to multi-shipset installs, and a 'Smivs' version for use with Smivs'Shipset v4.1.2 which has the player-ship texture switching feature. Both are include in the .zip
Anybody interested in giving this a serious shakedown for me please PM and I'll give you the download link.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
snork
---- E L I T E ----
---- E L I T E ----
Posts: 551
Joined: Sat Jan 30, 2010 4:21 am
Location: northern Germany

Re: [WIP] Battle Damage OXP

Post by snork »

I did not understand this idea in the first place.
But what wounds? OK you might have lost your fuel scoops or something, but your ship is still sound even after many direct laser hits on the hull.
Huh ? My understanding was that the hull does get damaged, and the damage accumulates until hull repair is needed ?

So, your 75Cr repairs - do they restore the ship to 100% ? Resale value at the max ? Why so cheap ? Maybe a random value from a defined range ? Do they happen each time the hull was hit (shields were down) ?
Or is it sideways / additional /not interfering to Oolite's ship condition/ resale value ?

Anyway, if you now change it to
... thanks to Cim the Battle Damage repairs will now take around 18 hours which sounds much more reasonable.
then I think the wiki page for this oxp should have this mentioned /warn about, big and fat.
This could easily raise travelling times by - no know - 1/4, 1/3, more even ? (on short jumps courses).

so long ...
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: [WIP] Battle Damage OXP

Post by Eric Walch »

snork wrote:
Huh ? My understanding was that the hull does get damaged, and the damage accumulates until hull repair is needed ?
Yes, every time the ship receives a hit while the shields are down, either equipment or cargo get damaged, or the hull degrades.

Hull degradation leads to lower trade-in value and a higher change of equipment damage or fuel leaks when jumping to another system. Since 1.74? it also increases the change of equipment damage during fight.

But I can live with the higher change of damage and probably haven't done a single renovation for at least a few years now. :oops:
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [WIP] Battle Damage OXP

Post by Smivs »

snork wrote:
I did not understand this idea in the first place.
Smivs wrote:
But what wounds? OK you might have lost your fuel scoops or something, but your ship is still sound even after many direct laser hits on the hull.
Huh ? My understanding was that the hull does get damaged, and the damage accumulates until hull repair is needed ?
As Eric reports above, yes it does get 'damaged' and this is handled in a small way within the game engine. And for the record (apart from the mention of something along this line in the Overhaul) there is currently no such thing as 'Hull Repair'. I think there should be, and that's why I'm developing this OXP.
However, to quote the first line of my first post
Smivs wrote:
I'm developing a little OXP aimed at those players who like a bit of realism in the game to help immersion.
and the fact is the hull damage as it stands is negligible. It has no impact whatsoever on your ship or it's spaceworthiness, and I have a problem with this. Even today with laser weaponry in its infancy we can shoot down missiles and planes and even destroy a warship, so I can't believe in my mind (immersion mode) that a direct hit on the hull from a military laser (or even a pulse laser which is probably ten times more powerful than anything we have today) is not going to punch a bloody great hole in the hull. And this is something that will need an urgent fix.
snork wrote:
So, your 75Cr repairs - do they restore the ship to 100% ? Resale value at the max ? Why so cheap ? Maybe a random value from a defined range ? Do they happen each time the hull was hit (shields were down) ?
Or is it sideways / additional /not interfering to Oolite's ship condition/ resale value ?
The repairs are an emergency fix - picture big plates of Duralium hastily welded over the holes to keep the ship structurally sound and airtight where it needs to be. No finishing, no paint...jut a quick patch. So no effect on resale value or routine service intervals (where the job will be done properly).
Why so cheap? Well we are only talking a few hours labour and a few plates of metal!
In an ideal world it probably should be a bit more, but there is also another, more compelling reason for the low-looking cost, but I will come back to that later.
snork wrote:
Anyway, if you now change it to
... thanks to Cim the Battle Damage repairs will now take around 18 hours which sounds much more reasonable.
then I think the wiki page for this oxp should have this mentioned /warn about, big and fat.
This could easily raise travelling times by - no know - 1/4, 1/3, more even ? (on short jumps courses).
25 minutes just sounded ridiculous! I am open-minded about the time and having slept on it, 18 hours might be too long, so it may end up more like ten when the OXP is released. Of course this will be a factor for Commanders to consider, specially those on time-sensitive contracts. But then if you're on a contract you should surely be going out of your way to avoid trouble in the first place and not getting yourself shot to hell, shouldn't you?
Most people around here know that my Wiki entries/readme's etc are always informative and honest :wink:
As I said at the start of this thread, this is an OXP for those who like to get deeply immersed in the game, and where believable things happen, and consequences flow. I hope it will appeal to many Commanders, even Jamesons just starting out, and that is actually why I priced the repairs at 75Cr. Within the OXP, not having the repairs made is not an option (see first post) and it would be stupid to leave a Jameson who is probably worth no more than a couple of hundred credits stuck with a repair bill he cannot afford and no way to continue the game.
That would be a real game-breaker, and I will not do that.
And of course if you don't like the idea...don't use the OXP :wink:
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: [WIP] Battle Damage OXP

Post by CommonSenseOTB »

Hey, Smivs. This is a really good idea. I had a thought I'd like to share.

:idea: What if instead of just one level of damage there were instead actually 10? The first level costing 25 credits to fix and add another 25 for each level up to 8. Perhaps call it "Hull Integrity at (x)%, repair it", with 5% at level 8. At level 9 have the ship start "leaking" cargo. This way you might realize that you really have to get out of there quick with your injectors or hyperspace out before the fuel leaks out. You lost your cargo, now don't lose your life and be grateful for the second chance. Also have the cargo "leak" out after launching at level 9 damage. At this point have a separate "repair cargo hold" for 200 credits. You have to repair the cargo hold before you can repair levels 1 to 8 of damage. :wink: At level 10 cause an immediate fuel leak and only at level 10 do you get the fuel leaking on launching, etc. At this point have a separate "repair fuel leak" for 400 credits. You have to repair the fuel leak before you can repair the cargo hold :wink: . In the repair descriptions state that the previous items can only be repaired after this one is repaired(for both repair cargo hold and repair fuel leak descriptions). In this way you could fly around with a battered up ship like the 'Dubious Profit' for awhile so you could finish your contract full well knowing you are that much closer to cargo leaking out or a fuel leak when sustaining unshielded hits.

For your shipset you could then have more damage indicated on the texture based upon damage level 1-8 giving a visual change of how damaged your ship is.

This is just a thought I had over coffee this morning. :)
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [WIP] Battle Damage OXP

Post by Smivs »

CSOTB, that is a really nice idea :)
Having said that it would take quite a bit of writing/extra work and as the OXP is in final testing, I'm a bit reluctant to start messing with it right now.
However, I also have had some more ideas on how to develop the OXP further in the future, so there may well be a version 2 which incorporates some or all of your ideas.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Post Reply