Page 1 of 2

How is weapon colour determined

Posted: 23 May 2006, 22:07
by Caydr
It makes sense that Color=[hue];.

But, for instance, when I enter a hue that according to photoshop should produce yellow, I don't get yellow, I get some other colour. I'm having a lot of trouble finding a definite green colour, etc. 1 is definitely red... besides that, things seem inconsistent.

How is laser colour determined?

Posted: 23 May 2006, 23:48
by Forboding Angel
ok well, spring uses a scale of

r-0
g-0
b-0

== black

and

r-1
b-1
g-1

== white

Its a little wierd and makes no sense whatsoever...

One thing you can do is download maelstroms SMD creator and use the too in there to adjust to the color you want and then you can copy the values directly.

Posted: 24 May 2006, 00:14
by Caydr
Uh.. Ok, wait. You're saying that 010 would be green then? And 001 is blue? I'll have to take a look at this. I guess it fits; the weapon arc system is kind of similar.

Posted: 24 May 2006, 01:26
by Fanger
if you have paint which you should you can find out what color your laser/lightning will be quite easily... first you need to know 2 things

color=x; is the hue

color2=x; is the saturation

Open up paint, double click on a color to edit it, and then go choose define custom color, notice as you move across the color pattern the hue changes the hue number will determine your color basically, you have leave lum at about 120, and sat at 240 to get the color roughly you will end up with.

1-9:red
10-23:orange
24-42:yellow
43-100:green
101-155:blue
156-190:purple
190-230:pink
230-240:red

This is for paint spring runs on a max of 225 scale so its a little more condensed but roughly similiar id suggest leaving saturation alone until you have the hue you want then messing with that..

Posted: 24 May 2006, 04:43
by Das Bruce
Forboding Angel wrote:Its a little wierd and makes no sense whatsoever...
It makes perfect sense, its exactly how ogl handles it.

Posted: 24 May 2006, 05:30
by Caydr
Either you or Forboding is completely wrong. Forboding's makes sense in the Spring context and is easy to understand, yours sounds like a pain in the arse. I'll try to figure out which really works.... eh... tomorrowish.

Posted: 24 May 2006, 11:03
by FLOZi
Das Bruce wrote:
Forboding Angel wrote:Its a little wierd and makes no sense whatsoever...
It makes perfect sense, its exactly how ogl handles it.

RGB FTW!

Posted: 24 May 2006, 11:29
by Das Bruce
Caydr wrote:Forboding's makes sense in the Spring context and is easy to understand, yours sounds like a pain in the arse.
*sigh* You silly backward eskimo.

Posted: 24 May 2006, 13:19
by SwiftSpear
I'd trust fanger... His mod uses a fair few lazers of nonstandard colors.

Posted: 24 May 2006, 13:33
by TradeMark
Hmm... So we cant change the color lightness?

Posted: 24 May 2006, 13:34
by SwiftSpear
Saturation is lightness...

Posted: 24 May 2006, 14:44
by TradeMark
No its not, saturation is grayness.

Posted: 24 May 2006, 14:52
by smoth
tradmark, no we do not change the luminosity of the color but saturation is close enough. believe me I don't want dark blue shots.

Caydr, yeah using the hue value works right. I used it and it worked,

Posted: 24 May 2006, 15:24
by TradeMark
smoth wrote:tradmark, no we do not change the luminosity of the color but saturation is close enough. believe me I don't want dark blue shots.
Yeah, i didnt think of changing it into dark, only lighter would be good looking.

Posted: 24 May 2006, 15:34
by smoth
what use do you have for it? Are you making a mod or something?

Posted: 24 May 2006, 16:16
by TradeMark
who? me? im making mod editor, and i found out that the color2 didnt change anything :S

Are you guys sure about that color2, i cant make the color look any different if i change the color2 value!

Tried like 10 times with different colors, only which affect is color variable.

Posted: 24 May 2006, 21:47
by Fanger
Forboding does not know what hes talking about in this case because he does not mod spring he is a map maker of useful skill but not a spring modder, I am a spring modder I have worked on FF which has a ton of lasers.. guess who figured out how to color all those.. ME... and I have put together EE which also uses several lasers again done by ME.. the system I put up works 100% whether its convoluted or not It is correct so choose to ignore me and go with some other way but you will eventually realize that the values are what i have stated and it can be easily figured out using paint..

Posted: 24 May 2006, 23:56
by TradeMark
I know, color variable gets color from hue map.

BUT:
color2 doesnt do anything to the color.

I tried everything, the color didnt change at all when i changed color2 value!!

Someone, explain how it works!! or does it even work?

Posted: 25 May 2006, 00:07
by smoth
Fang your sentences are unbalanced... you need more more more more words for it it it it to have balance so sayeth the lord of all balance!

Posted: 25 May 2006, 03:11
by Fanger
I did explain it and no one listened so your SOL..