Eufloria > Eufloria Classic Mods
Three scripting questions
annikk.exe:
1. How do I set an empire's ingame colour? Is it possible to specify this in the level? For example if I want Empire 2 to always be red..
2. How does the SetVignetteAlpha command work? Can anyone show me the correct syntax?
3. How do I set an asteroid name? GetAsteriod(0).Name = "Fluffy" doesn't seem to work..
Alex:
1. Don't think this is possible at the moment, will investigumate
2. Pretty sure it's a value from 0 to 1, need to clarify that though... will check it out and post back
3. I'll see what's up, it should work...
annikk.exe:
RE 2..... aha!!! I didn't realise that :> I was using values between 0 and 255, and wondered why the vignette never changed from maximum. Sweet!
Thanks dude!
annikk.exe:
You should probably change the Scripting Reference RE point number 2, by the way...
--- Quote ---SetVignetteAlpha nil Set the darkness of the vignette (value from 0 - 255)
--- End quote ---
I will try vignette again tonight using 0-1 as the value, and hopefully it will work. :>
Alex:
What's actually occurring when you use it?
Navigation
[0] Message Index
[#] Next page
Go to full version