Decals and Nose art.
Moderators: winston, another_commander
Decals and Nose art.
This topic was discussed in another thread between myself and montana05 and thought I'd post it here.
Something else I could do for the game and mod makers is design decals or nose art to be added to ships.
I was also wondering if it would be possible to craft a oxz that would allow players to purchase and add said art to their ships.
Thoughts?
Something else I could do for the game and mod makers is design decals or nose art to be added to ships.
I was also wondering if it would be possible to craft a oxz that would allow players to purchase and add said art to their ships.
Thoughts?
Creativity is a gift, use it well.
- DataPacRat
- Dangerous
- Posts: 73
- Joined: Sun Feb 18, 2018 12:21 pm
- Location: Niagara, Canada
- Contact:
Re: Decals and Nose art.
In a recent OXP-digging binge, I recall seeing one that did something involving adding visible ID numbers to ship's hulls; I'm afraid I don't remember the name, but if somebody can find it, that might be usable as the basis for other ship decorating.BlackWolf wrote: ↑Mon Feb 26, 2018 3:19 amThis topic was discussed in another thread between myself and montana05 and thought I'd post it here.
Something else I could do for the game and mod makers is design decals or nose art to be added to ships.
I was also wondering if it would be possible to craft a oxz that would allow players to purchase and add said art to their ships.
Thoughts?
Other than that - I wouldn't mind being able to spraypaint my board avatar onto my Oolite hulls.
Thank you for your time,
--
DataPacRat
"Does aₘᵢₙ=2c²/Θ ? I don't know, but wouldn't it be fascinating if it were?"
--
DataPacRat
"Does aₘᵢₙ=2c²/Θ ? I don't know, but wouldn't it be fascinating if it were?"
Re: Decals and Nose art.
There is also one that displays battle damage. So in theory, it should be possible.
Creativity is a gift, use it well.
Re: Decals and Nose art.
Won't be easy. There's practically no way of generically adding stickers to ships. Griff's normalmapped ships use a custom shader to add and position decals. Aforementioned oxps also require specific models to work.
- 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: Decals and Nose art.
Which makes me wonder if this is something that might be able to be incorporated via the core game code? I'd imagine it would be one hell of a popular feature. I'd like to see what the devs think of this idea.
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
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Decals and Nose art.
<watches devs run for cover>
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!
Re: Decals and Nose art.
Let's brainstorm a bit. How would it work?Diziet Sma wrote: ↑Mon Feb 26, 2018 1:49 pm
Which makes me wonder if this is something that might be able to be incorporated via the core game code? I'd imagine it would be one hell of a popular feature. I'd like to see what the devs think of this idea.
There needs to be a way to define decals position and orientation per model. Probably best to do in shipdata as coordinates and rotation on the diffusion map. And these would need to be defined for all models.
The decal itself would probably need some materials entry (probably with aforementioned position and orientation and possibly alpha), but it would also need a js-function to swap it. Like changing materials, but only one element of materials.
And to actually "paint" the decal to the ship needs someone with proper shader skills to modify the default shader.
So, a core change and the default shader change are required?
- Stormrider
- Deadly
- Posts: 241
- Joined: Sat Jan 25, 2014 2:35 am
- Location: At work
Re: Decals and Nose art.
Seems like it might be possible to do this with ships that already have decal positions defined. Could
setShaders
be used to change the decal on the player's ship?This would at least allow the player to choose a decal for a core ship, perhaps even oxp ships with decal positions defined as well.
It would be cool if you did an NPC decal set, at least for the core ships.BlackWolf wrote:I was also wondering if it would be possible to craft a oxz that would allow players to purchase and add said art to their ships.
Nice work by the way and thanks for sharing.
You can do this with Griff's ships manually by replacing theDataPacRat wrote:Other than that - I wouldn't mind being able to spraypaint my board avatar onto my Oolite hulls.
griff_decals_player.png
in the Oolite.oxp.Griff.Griff_shipset_decals.oxz
with your own image that's the same size.-
- ---- E L I T E ----
- Posts: 675
- Joined: Sat Aug 09, 2014 4:16 pm
Re: Decals and Nose art.
I don't think a core change will be needed, Griff's ships standing as a proof. The changes he's done could be extended to all the core ships. Some of his functions can actually be extracted as shader libraries.
An OXZ could deal with this, but I guess the most challenging part for an OXZ would be allowing for customizing the decals. It would be great to have an "extension" for OXZs to allow for resources to be used outside the archive, and avoid messing with OXZ unzip/re-zip.
Maybe a sort of "template" OXP could help here.
Re: Decals and Nose art.
That would indeed work for example Griff's normalmapped player ships. The decal file is defined as part of the shader definition. To make this idea work with those ships, probably all that is needed is to write a script that sets the shader with setShaders and simply changes that one file name.Stormrider wrote: ↑Mon Feb 26, 2018 4:02 pmSeems like it might be possible to do this with ships that already have decal positions defined. CouldsetShaders
be used to change the decal on the player's ship?
This would at least allow the player to choose a decal for a core ship, perhaps even oxp ships with decal positions defined as well.
e.
Interesting idea actually. Could it be that simple?
Re: Decals and Nose art.
A generic solution would probably need a core change, at least the core shader change. But with Griff's normalmapped ships, the work is halfway done.Commander_X wrote: ↑Mon Feb 26, 2018 4:16 pmI don't think a core change will be needed, Griff's ships standing as a proof. The changes he's done could be extended to all the core ships. Some of his functions can actually be extracted as shader libraries.
An OXZ could deal with this, but I guess the most challenging part for an OXZ would be allowing for customizing the decals. It would be great to have an "extension" for OXZs to allow for resources to be used outside the archive, and avoid messing with OXZ unzip/re-zip.
Maybe a sort of "template" OXP could help here.
-
- ---- E L I T E ----
- Posts: 675
- Joined: Sat Aug 09, 2014 4:16 pm
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Decals and Nose art.
Gotta love custom decals!
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!
-
- Above Average
- Posts: 16
- Joined: Sat Dec 23, 2017 4:10 am
Re: Decals and Nose art.
I'm almost certain that there used to be an OXP that did this, but can't find it right now.
If @Cody is referring to one, he didn't link it.
It was fairly capable, to the point that a skilled pilot could etch their initials in an NPC ship's hull with the laser...
If @Cody is referring to one, he didn't link it.
It was fairly capable, to the point that a skilled pilot could etch their initials in an NPC ship's hull with the laser...
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Decals and Nose art.
No, that's Griff's Cobra. Not the ship I fly, though - Spindrifter is one of Griff's late-model Cobras with four decals.
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!