Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Storm Trooper Site Zoom Help
Storm Trooper Site Zoom Help
2002-08-27, 12:21 PM #1
I'm trying to figure out where in the Cog code is the section that controls the color tint when you switch to Scope mode. Could someone please tell me what I can edit in the cog to change the tint, and lighting please. ( weap_stscope_m ) I havent gotton much good at cogs yet. But I'm learning - LOL

MotS Feature BTW [http://forums.massassi.net/html/smile.gif]

Thank you for the help.

------------------
Generation Knights - for MotS
http://viper-studios.clanpages.com/ -------

------------------------

[This message has been edited by oO_Viper_Oo (edited August 27, 2002).]
2002-08-28, 2:07 PM #2
Look for something akin to...

From DATAMASTER:
Code:
effect_handle=NewColorEffect(R1_int, G1_int, B1_int, R2_flex, G2_flex, B2_flex, R3_int, G3_int, B3_int, flex_light); 


And edit the RGB values to your liking. :]
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2002-08-28, 3:39 PM #3
I didn't see that line, I actually found another line that did the trick.

greenEffectHandle = newColorEffect(1.0, 1, 1, 1, 1, 1, 1, 1, 1, 1.0);

All the 1's were 0's - After changing them I lost the red tint. and kept the IR mode. Just the way I wanted it. I do apreciate it though. I'll play with that code too and see what I come up with.

------------------
Generation Knights - for MotS
( http://viper-studios.clanpages.com/ )
------------------------
2002-08-29, 4:58 AM #4
Quote:
<font face="Verdana, Arial" size="2">I didn't see that line, I actually found another line that did the trick.</font>


What you found was the same NewColorEffect() verb that Grismath showed you. [http://forums.massassi.net/html/rolleyes.gif] If you haven't already, download the DataMaster and look up NewColorEffect().

------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2002-08-29, 6:24 AM #5
Datamaster ? Ok, where do I find that ?

↑ Up to the top!