22.10.2007, 00:28:50
A feature that required me a long time to finally get working: altering the magnetic beam colors!
The way it works is simple.
You add two tags to your magnetic beam weapon:
This will result in some kind of orange.
There is something pretty weird about all this though, which however brings an advantage with it as well.
Yes, this tag does take RGB colors, but they don't really work as the RGB we know. It's hard to explain, I'll just tell you the effects of it.
Negative effects:
- values below 160 are as good as useless
- the color intensity grows exponentially... 224 is MUCH more than 160
- you can't do any color you want, but you are restricted to about 64 colors
The last effect isn't necessarily a negative one. You can of course have more colors than a rainbow gives you.
Positive effect:
- the brightness of the color controls the translucency
- it is done, I wouldn't have any coding left to do
And this positive effect is what leads me to this discussion.
255,255,255 would be pure whiteness, no translucency at all, while 160,160,160 lights things up slightly.
I will post screenshots asap (too tired right now).
What I want to know: do you prefer full RGB control with a fixed translucency or can you live with less colors and want to be able to have control over the translucency?
The way it works is simple.
You add two tags to your magnetic beam weapon:
Code:
IsCustomColor=yes
MagnaBeamColor=192,160,0
This will result in some kind of orange.
There is something pretty weird about all this though, which however brings an advantage with it as well.
Yes, this tag does take RGB colors, but they don't really work as the RGB we know. It's hard to explain, I'll just tell you the effects of it.
Negative effects:
- values below 160 are as good as useless
- the color intensity grows exponentially... 224 is MUCH more than 160
- you can't do any color you want, but you are restricted to about 64 colors
The last effect isn't necessarily a negative one. You can of course have more colors than a rainbow gives you.
Positive effect:
- the brightness of the color controls the translucency
- it is done, I wouldn't have any coding left to do
And this positive effect is what leads me to this discussion.
255,255,255 would be pure whiteness, no translucency at all, while 160,160,160 lights things up slightly.
I will post screenshots asap (too tired right now).
What I want to know: do you prefer full RGB control with a fixed translucency or can you live with less colors and want to be able to have control over the translucency?