Railgun Model Color
Posted: Tue Oct 14, 2014 12:53 pm
I've seen a few different mods (Corkscrew most notably) that change the color of the railgun's power cell and barrel to match the player's individual color settings, and I was wondering how I would go about doing this in my own mod.
Due to my lack of experience with the Q3 engine I haven't learned much other than how to make basic changes and compile mods, so I apologize if I'm overlooking something ridiculously obvious here. I've been searching through the source files for Corkscrew for segments of code that handle this feature, but I've been unable to find anything. I found the source files here for Corkscrew here, if anyone is interested: http://rainbow.furver.se/index.php?name ... pic&t=2059
And just in case I wasn't clear enough, here's some screenshots to describe what I'm talking about:
[lvlshot]http://i.imgur.com/uiz7xhW.png[/lvlshot]
The colors also appear in first-person view, too.
I thought this would be a simple fix (i.e. set the grayscaled railgun glow textures to reflect the player's color settings) but unfortunately I've been unable to figure out how to accomplish this on my own.
Anyways, any help is much appreciated, and thanks in advance.
Due to my lack of experience with the Q3 engine I haven't learned much other than how to make basic changes and compile mods, so I apologize if I'm overlooking something ridiculously obvious here. I've been searching through the source files for Corkscrew for segments of code that handle this feature, but I've been unable to find anything. I found the source files here for Corkscrew here, if anyone is interested: http://rainbow.furver.se/index.php?name ... pic&t=2059
And just in case I wasn't clear enough, here's some screenshots to describe what I'm talking about:
[lvlshot]http://i.imgur.com/uiz7xhW.png[/lvlshot]
The colors also appear in first-person view, too.
I thought this would be a simple fix (i.e. set the grayscaled railgun glow textures to reflect the player's color settings) but unfortunately I've been unable to figure out how to accomplish this on my own.
Anyways, any help is much appreciated, and thanks in advance.