Source Filmmaker

Source Filmmaker

207 ratings
How to give weapons a crit glow! (Or anything really)
By αgrimar
In this guide, I will be showing you how to make any weapon you want have crit glow!
2
   
Award
Favorite
Favorited
Unfavorite
Things you'll need!
1. Knowledge of SFM, and the Source Engine's material system.
2. Some cool weapons to test out on!
How to do it!
Step 1.
First you're going to need to have your model already set up, after you have that done, you just need to right click on your model then click on 'Add Override Materials'.

Step 2.
Then you're going to need to right click your model again, then click on 'Show in Element Viewer', then 'Model' afterwards.

Step 3.
Open up the 'materials' tab, and look for the material corresponding for what you see, then add a 'vector3' attribute called '$color' to that material.

Step 4.
Paste one of the values below into the 'vector3' field to achieve the one that you want:

RED Crit: 94 8 5
BLU Crit: 6 21 80
RED Mini-Crit: 237 140 55
BLU Mini-Crit: 28 168 112
Hype Mode: 50 2 50


If you want them brighter, just multiply the values,

Note that with bloom enabled, the weapons will start radiating its color.
Conclusion
And there you have it! Crit glowing weapons to replicate your forged TF2 adventures!

*NOTE: If you want the crit particles just add a particle system with 'firstperson_weapon_fx.pcf' loaded in.

30 Comments
Thespikedballofdoom 23 Jun, 2022 @ 4:31pm 
did some more digging in the source code, here are source ingame colors used for crits (hardly different from this guide, good job)

RED Crit: 80 8 5
BLU Crit: 5 20 80
RED Mini-Crit: 226 150 62
BLU Mini-Crit: 29 202 135
Hype Mode: 50 2 48

via tf2_src/game/client/tf/c_tf_player.cpp, line 2281 and on
ModderOfGames 13 May, 2022 @ 10:14pm 
as someone not from the US I instinctively went and typed "colour" instead of "color" and almost said this didn't work lmaoo
Thespikedballofdoom 18 Apr, 2022 @ 11:26pm 
JARATE COLORS:
red 6 9 2
blu 7 5 1
Sky-fi 18 Dec, 2020 @ 5:38am 
in the camera settings (from the Animation Set Editor), there's a slider called bloomScale
Goose 29 Jul, 2020 @ 3:59pm 
Know its been a bit, but thanks for the guide. Easy to follow and helped me out.
LumaTot 15 Jul, 2020 @ 2:14pm 
@AppleCast are you in the clip editor? if you are, that's you're problem.
Stargazing Cast 21 May, 2020 @ 10:25am 
Well, my attribute numbers won't change. I just put in the numbers, and then as fast as move my mouse from these numbers, they change to 0 0 0 again. Any suggestions on what to do? Same with *string* it just changes to blank
Vajdani 31 Aug, 2019 @ 11:12am 
ah, thank you very much
αgrimar  [author] 20 Dec, 2018 @ 10:49pm 
@Budgiez You just exhange the color values with the ones described above.

Everything about the crit glow is just a color.
just another user... 20 Dec, 2018 @ 10:40pm 
What if i use the attribute "color" and want to use the minicrit versions?