
(It was EV's idea)
Moderators: winston, another_commander
Depending on the texture maps and other effects used, it is possible to "dye" maps a different colour via script.Griff wrote:thanks for sorting out the wiki page Smivs!
@JJP
I hadn't thought of randomising the colouring on the station to be honest, i could certainly have a look into it, the only drawback might be that the station will need another texture map of some sort to control the effect and it's already rather texture heavy, the bits we can see in the screen shot above is two 2048 x 2048 maps, and the dock is another three 1024 x 2048 maps, i haven't even started work on texturing the rest of the station hull yet.
This 'Distance mapping' shader code by Ahruman looks really interesting: https://bb.oolite.space/viewtopic.php?p=71920#p71920
seems perfect for adding a decal to a station using only a small decal texture
Code: Select all
00:27:17.812 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (tgGeneric_externalMissiles.js 1.0): TypeError: this.ship.subEntities is null
00:27:17.812 [script.javaScript.exception.unexpectedType]: ../AddOns/griff_cobraIII_subent_missiles.oxp/Scripts/tgGeneric_externalMissiles.js, line 22.
I never got a look at the Cobra Mk III SE (that's what I've named the missile/Cobra)... I was involved in nasty firefights at both ends of the tube.Thargoid wrote:Hmm odd, did the ship actually have any sub-entities (missiles or it's main front gun)?
Code: Select all
{
"griff_normalmapped_coriolis" =
{
roles = "unused";
};
}