The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 871 errorHandler->error




Poll: What do you prefer?
This poll is closed.
Full RGB control, UPDATE: possibly an extra translucency control
92.86%
13 92.86%
Less possible colors, a little control over translucency
7.14%
1 7.14%
Total 14 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MagnaBeamColor
#1
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:
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?
[Image: jsfml.png]
Reply


Messages In This Thread
MagnaBeamColor - by pd - 22.10.2007, 00:28:50
RE: Feature discussion: MagnaBeamColor - by pd - 22.10.2007, 09:03:02
RE: Feature discussion: MagnaBeamColor - by Blade - 23.10.2007, 00:53:07
RE: Feature discussion: MagnaBeamColor - by pd - 23.10.2007, 08:44:57
RE: Feature discussion: MagnaBeamColor - by pd - 23.10.2007, 11:15:33
RE: Feature discussion: MagnaBeamColor - by pd - 29.11.2007, 11:21:55
RE: Feature discussion: MagnaBeamColor - by Blade - 29.11.2007, 15:11:01
RE: Feature discussion: MagnaBeamColor - by pd - 29.11.2007, 21:02:50
RE: MagnaBeamColor - by Beowulf - 07.10.2008, 09:07:34



Users browsing this thread: 1 Guest(s)