I'm not too familiar with ADCK's behemoths TBH, but what you suggest sounds possible. Is the nameplate specified for just the position/faces where it appears on the ship?
Now that I have meddled with them awhile, I'm starting get acquainted with them. Not exactly what I had in mind when I started reviving them .
Anyway, the dat-file defines two textures, one big one that has a hole in it and a small one that fills the hole. The small one is positioned by the entry in the dat-file. The big one could easily be put in place as a diffuse-map, but I guess that the positioning of the small one is not possible.
The original Aegidian's Behemoth solves this differently, it has a unique dat-file for each Behemoth.
Anyway, the dat-file defines two textures, one big one that has a hole in it and a small one that fills the hole. The small one is positioned by the entry in the dat-file. The big one could easily be put in place as a diffuse-map, but I guess that the positioning of the small one is not possible.
The original Aegidian's Behemoth solves this differently, it has a unique dat-file for each Behemoth.
How you approach this may be decided by how many varieties (names) there are.
Probably the easiest way is to do a 'named' texture for each one and like_ship them, using the same model and specifying the correct diffuse map for each via 'materials' in shipdata.
Either that or just have a template ship and call the texture required by script using 'set_materials'. This way a 'random' texture could be applied when the ship is spawned.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Anyway, the dat-file defines two textures, one big one that has a hole in it and a small one that fills the hole. The small one is positioned by the entry in the dat-file. The big one could easily be put in place as a diffuse-map, but I guess that the positioning of the small one is not possible.
The original Aegidian's Behemoth solves this differently, it has a unique dat-file for each Behemoth.
How you approach this may be decided by how many varieties (names) there are.
Probably the easiest way is to do a 'named' texture for each one and like_ship them, using the same model and specifying the correct diffuse map for each via 'materials' in shipdata.
Either that or just have a template ship and call the texture required by script using 'set_materials'. This way a 'random' texture could be applied when the ship is spawned.
Yep, that's what I thought too. The number of behemoths is 16 (I think...). So doing a different skin for each is probably a bad idea in terms of oxp size. To do it properly without shaders would mean doing a different dat-file for each behemoth. Seems like a lot of work, so I'll let it be. Maybe in a future version of Oolite, there is a way to replace textures defines in the dat-file through 'materials.' Then again, I would assume that the future oxps don't do it like this .
The only other hope is if you can manipulate two diffuse maps for the same model using materials. I'm not sure that you can - Jens or one of the other devs would know.
Commander Smivs, the friendliest Gourd this side of Riedquat.
I'm so bad at this . Yes, now I see. That "cube-face" is the reference in the dat-file. Thanks for the clarification. Let's see, if I can summon some strength to do necessary changes to the oxp. Not tonight probably.
By the way, any OXPer would benefit from dissecting and understanding the [wiki]Material Test Suite OXP[/wiki] (and taking note of the fact that tests 1–7 work without shaders).
By the way, any OXPer would benefit from dissecting and understanding the [wiki]Material Test Suite OXP[/wiki] (and taking note of the fact that tests 1–7 work without shaders).
How very true, I somehow have missed that link earlier. It's probably because it's at the bottom of the 'materials' page and I have not reached it earlier . Excellent example page with good examples. Wish I had more time.
Maybe in a future version of Oolite, there is a way to replace textures defines in the dat-file through 'materials.'
This is already possible.
This is what I was trying to say earlier - sorry, perhaps I wasn't being clear enough. I seem to have become a bit of an 'expert' (term used very loosely ) on this stuff, so if you need any help or advice, please feel free to ask.
Commander Smivs, the friendliest Gourd this side of Riedquat.
* Facelift (1.1.5). Now the nameplates work without shaders.
* Extra Behemoths (1.0.1). Fixed a couple of bugs and made nameplates to work without shaders.
Smivs wrote:
I seem to have become a bit of an 'expert' (term used very loosely ) on this stuff, so if you need any help or advice, please feel free to ask.
I'm afraid I'll never be an expert in these matters . But I'm getting better all the time . Thank you all for helping out.
* New textures for Behemoth Type 2
* Griffified Behemoth docks
* Custom BGS tunnel effect enabled for all GalNavy dockables
Wish I had a bit more time in my hands . Next on my todo is tinkering SimonB's Light Destroyer to work with GalNavy as an addon, making Navy Carrier to work with GalNavy and Behemoths as an addon and updating extra behemoths (3 & 4) to same graphical level with type 2.