Randomizing texture sets

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
OSH
Dangerous
Dangerous
Posts: 124
Joined: Thu Dec 04, 2008 2:57 pm
Location: Poland, Lave Station :)
Contact:

Randomizing texture sets

Post by OSH »

Well, I'm thinking about such thing: is it possible to make script, that will randomly load textures from various textures sets? For example for ships - one ship has texture from Smivs texture set, other from NeoLite and so on....is it possible or has someone mad such thing already?
A4000 060/50, 16 MB RAM, A1200 E/BOX Tower, Apollo 1240/25 MHz 34 MB RAM, HDD 40 GB; LiteOn 52x32x52, A1200 E1230/40 18 MB RAM, CD-32+SX-1 10 MB RAM, A500, CDTV, A600, C-64, C-64+1541-II, C-64G, C-16
Still hunting in Edriuson (G3) for Deadly status...
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Randomizing texture sets

Post by Smivs »

Yes and no. It is certainly possible to randomise textures via script, but only for the same ship model. The problem is that the different models used have different diffuse_maps (textures) and one model's texture will not 'fit' another model, so you couldn't apply a texture from a Neolite ship to a Griff or Smivs ship.
The closest thing to what you want I think would be randomising the ships spawned from a variety of installed shipsets, and this is already possible. For example if you have the 'addition' versions of Griff's ships and my ships installed you will get a mix of core ships, Griffs and mine.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Post Reply