Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Griff's normalmapped ship remakes

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

Moderators: winston, another_commander

User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8512
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Griff wrote:
hmm, well there is a 'damage' shader binding available
http://wiki.alioth.net/index.php/Shader ... :_uniforms

Code: Select all

damage  int  energy expressed as a percentage of maxEnergy 
I've no idea if it could be used to control the mixing in of a 'damage' texture map though - from that description it also sounds as if the damage level would decrease back to 0 as the ships energy climbed back up to full power making it look like the ship was repairing itself - and it that case i think the 'energy' binding would work better

Code: Select all

energy  float  The current energy level of the entity.
Griff, you did the fab burning alloy shader demo for us, rather than it being a one shot wonder and all reds and oranges, perhaps, if possible, it could flicker reds and oranges and blues and whites, indicating perhaps, severed cables and electricals and plasma conduits, slowing burning in vented atmosphere, reset on docking when a ship's energy was fully restored.

Like Frame, and with no real knowledge of the bindings, I too could just be rambling...
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2268
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

i was thinking it could be tied to equipment demage, which is (?) the only stuff that gets recorded as being damaged and needing repair. after all, we can assume that if your docking puter or scoops have been knackered, your ship must've taken a bit of a pounding, so doing a damage graphic until these bits were repaired would be appropriate.

or, could we add a "hull integrity" element to your equipment screen? bit like Hardwar, perhaps, and you get charged at the stations say 25Cr per percent damage.
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

that's a great idea - some sort of subentity swap between a healthy and a damaged version? - i do remember Eric and Thargoid doing something like this in their oxps - is this how the bulk hauler in Aquatics works when it releases its cargo pods and they fly themselves into the station?
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

The aquatics hauler works by initially having the sleds as sub-entities of the hauler, and when it's time to release them those sub-ents are removed and new separate versions are spawned in their place (in exactly the same position and orientation).

I'm not sure you can add sub-ents back onto a ship once they're destroyed (I've never tried it), but certainly damaged panels could be simulated by having sub-ent panels with the damaged ones underneath the undamaged ones, and then just remove the undamaged ones to "reveal" the damaged ones.

It would be going back the other way that could possibly cause problems.
User avatar
Commander McLane
---- E L I T E ----
---- 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:

Post by Commander McLane »

Thargoid wrote:
I'm not sure you can add sub-ents back onto a ship once they're destroyed (I've never tried it), but certainly damaged panels could be simulated by having sub-ent panels with the damaged ones underneath the undamaged ones, and then just remove the undamaged ones to "reveal" the damaged ones.
Sounds similar to the way the Dark Wheel Cobra works. So it may be a good idea to look into that OXP for inspiration.

I still think the DW Cobra is an awesome ship to look at, and it was created way before we had shaders. Now if I imagine it combined with shader effects... :shock:
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

I'm farily certain that subentities are repaired on docking, or at least on reloading, I'm not seeing anything in the save-file about damaged subentities being saved... But I could be wrong.
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

Commander McLane wrote:
I still think the DW Cobra is an awesome ship to look at, and it was created way before we had shaders. Now if I imagine it combined with shader effects... :shock:
For newer forum members interested in ship remakes see also Ramon's Anaconda, https://bb.oolite.space/viewtopic.ph ... t=anaconda It's the ship i've been pinching ideas from for my remakes
Last edited by Griff on Tue Feb 09, 2010 11:37 am, edited 1 time in total.
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:

Post by JazHaz »

Griff wrote:
For newer forum members interested in ship remakes see also Ramon's Anaconda, https://bb.oolite.space/viewtopic.ph ... t=anaconda It's the ship i've been pinching ides from for my remakes
Ramon's Anaconda:
Image

Does your Anaconda have a cargo door you can blow off, like Ramon's one?

Cue the Michael Caine impression: "You were only supposed to blow the bloody doors off!" :lol: :lol:

Cool feature!!
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)!
bigmike20vt
Dangerous
Dangerous
Posts: 83
Joined: Wed Jan 06, 2010 11:24 pm

Post by bigmike20vt »

wow that anaconda is great!

how did i miss it, is it not linked on the oxp wiki or am i blind?
Fiat Coupe, helping motorists break the speed limit since 1993.
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:

Post by JazHaz »

bigmike20vt wrote:
how did i miss it, is it not linked on the oxp wiki or am i blind?
I don't think its on there!
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
Commander McLane
---- E L I T E ----
---- 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:

Post by Commander McLane »

bigmike20vt wrote:
wow that anaconda is great!

how did i miss it, is it not linked on the oxp wiki or am i blind?
There are advantages of being on this forum for a long time. :wink:
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

JazHaz wrote:
Does your Anaconda have a cargo door you can blow off, like Ramon's one?
No, mine's not so advanced, if i remember correctly those 'yellow doors' on the lower hull of Ramon's ship are escape pods, not sure if he's added in the scripting to get them launching yet though, but when he does it's going to be really cool!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

ADCK wrote:
I'm farily certain that subentities are repaired on docking, or at least on reloading, I'm not seeing anything in the save-file about damaged subentities being saved... But I could be wrong.
Correct.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Griff wrote:
For newer forum members interested in ship remakes see also Ramon's Anaconda, https://bb.oolite.space/viewtopic.ph ... t=anaconda It's the ship i've been pinching ideas from for my remakes
That one misses a "requires.plist" Also the Griff moray is missing it. Trying to launch my old Oolite 1.65 it crashed. After searching for the cause I found at least two of them:

Code: Select all

Feb  9 17:24:23 cc999323-b Oolite[808]: 'ERROR - model griff_moray.dat has too many vertices (model has 605, maximum is 320)'  

Feb  9 17:20:19 cc999323-b Oolite[793]: ERROR - model ramon_anaconda_engine_pipes_part1.dat has too many vertices (model has 360, maximum is 320)
Older Oolite versions are not always able to cope with oxp's created for newer versions. Therefor the requires.plist is needed. It prevents older Oolite versions from loading such oxp's ad than crash on it.
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

Griff wrote:
JazHaz wrote:
Does your Anaconda have a cargo door you can blow off, like Ramon's one?
No, mine's not so advanced, if i remember correctly those 'yellow doors' on the lower hull of Ramon's ship are escape pods, not sure if he's added in the scripting to get them launching yet though, but when he does it's going to be really cool!
No, I never did get round to scripting that (although I did at least texture the escape pods). I just wanted to release it in the end, it took so long to do - with rl getting in the way.

I am working on some more ships but I tend to post WIPs and then nothing for months on end so I'm keeping the ships to myself for the moment. You're doing a great job on the remakes Griff that I've started some new designs now - but keeping in the spirit of Elite.

@Eric. Do I need to redo the Anaconda (at some point) with less Vertices, or add a 'requires.plist'?
Post Reply