unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials

- Sponsored Advertisement -
http://www.myfpscheats.com/

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2007, 02:32 PM
Neo_Reloaded Neo_Reloaded is offline
Tutorial Admin
 
Join Date: Dec 2006
Posts: 259
Default *Quake 3* Rocket Trails Tutorial

Open up cg_weapons.c (located in the cgame folder of the code) Scroll down a bit and you will find the CG_RocketTrail heading. Near the bottom you will see this

Code:
	CODE 	 

  smoke = CG_SmokePuff( lastPos, up,
       wi->trailRadius,
       1, 1, 1, 0.33,
       wi->wiTrailTime,
       t,
       0,
       cgs.media.smokePuffShader );
The line that has the 1, 1, 1, 0.33, is the one we want to change. For example, change that line to:

Code:
1, 0, 0, 0.33,
Rocket trails will now be red! Here are some more examples
Code:
0, 0, 1, 0.33, // = blue
Code:
0, 1, 0, 0.33, // = green
As you probably have figured out by now, the first number is the red amount, the second is the green amount and the third is the blue amount. (the forth is the alpha value, for blending) You can change these values to see all sorts of different coloured rocket trails. Here�s one that really looks cool

Code:
1, 1, 0, 0.33, // = yellow
Reply With Quote
Reply

Tags
quake, rocket, trails, tutorial

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 11:32 PM.