Source Filmmaker

Source Filmmaker

211 avaliações
How to give weapons a crit glow! (Or anything really)
Por αgrimar
In this guide, I will be showing you how to make any weapon you want have crit glow!
2
   
Premiar
Adic. a Favoritos
Nos Favoritos
Desfavoritar
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 comentários
Thespikedballofdoom 23 jun. 2022 às 16:31 
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 mai. 2022 às 22:14 
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 abr. 2022 às 23:26 
JARATE COLORS:
red 6 9 2
blu 7 5 1
Sky-fi 18 dez. 2020 às 5:38 
in the camera settings (from the Animation Set Editor), there's a slider called bloomScale
Goose 29 jul. 2020 às 15:59 
Know its been a bit, but thanks for the guide. Easy to follow and helped me out.
LumaTot 15 jul. 2020 às 14:14 
@AppleCast are you in the clip editor? if you are, that's you're problem.
Stargazing Cast 21 mai. 2020 às 10:25 
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 ago. 2019 às 11:12 
ah, thank you very much
αgrimar  [autor] 20 dez. 2018 às 22:49 
@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 dez. 2018 às 22:40 
What if i use the attribute "color" and want to use the minicrit versions?