|
Post by mitobox on Apr 27, 2016 4:44:37 GMT
(You should probably duplicate your 0.3.1 file in case something goes horribly wrong)
>scripts >>microbe_stage >>>microbe.lua
Double click. Open with WordPad or Notepad or something. Not sure if allowing "always open this type with this" is a good idea.
Way down at the bottom, you'll see this. Ctrl f to save time.
-- Sets the color of the microbe's membrane.
function Microbe:setMembraneColour(colour)
self.membraneComponent:setColour(colour.x, colour.y, colour.z, 1)
end
The important part is "setColour(colour.x, colour.y, colour.z, 1)."
From what I can assume, colour.x is for the "red" value, colour.y is green, and colour.z is blue. Go ahead and change all of these to a value within "1" and "0." If you want to make everybody, say, orange, you make it (1, 0.5, 0, 1).
If everything else but the fourth value is "0," then if the fourth value is "0" cells will be black, and if "1" then they'll be white. Don't think it does anything if any of the other three are anything other than "0."
Apparently, "colour.x" and the rest are supposed to be imported from each species' individual data. No idea where to find that (stumbled on this because I was looking for the species names and got sidetracked), but whatever. The point is, you've set everybody's membranes to the same script, so they'll be uniform.
One thing to note is that it only seems to work if you start the Microbe Stage without editing, since editing it makes your cell different from the norm or something.
|
|
|
Post by StealthStyleL on Apr 27, 2016 7:44:32 GMT
Thank you for sharing that!
|
|
|
Post by TheCreator on May 5, 2016 16:01:25 GMT
If you want to change anything about microbes (shape, organelles, starting compounds, color), just go to configs.Lua in the same folder and edit it.
|
|