View Full Version : [TF2] Crit visual efect?
How to get crit visual efect on weapon?
If you mean without actually giving crits, you would need to use Particles via TempEnts (http://forums.alliedmods.net/showthread.php?t=75102)
Not exactly sure of the proper particle fx, but they're probably probably critgun_weaponmodel_blu and critgun_weaponmodel_red
Show me how attach particle to weapon :c
Dr. McKay
02-16-2012, 23:11
TF2_AddCondition(client, TFCond_Kritzkrieged, 10.0);
That'll give a player crits (with the crit boost visual effect) for 10 seconds.
I know about the condition, but I just want a visual effects without crits.
Show me how attach particle to weapon :c
I'm not sure, to be honest, I haven't worked with particle systems much.
It may have to do with using an info_particle_system (https://developer.valvesoftware.com/wiki/Info_particle_system), possibly parenting it to a weapon, but as I said, I'm not sure.
Though I'm fairly certain that
critgun_weaponmodel_blu
critgun_weaponmodel_blu_glow
and
critgun_weaponmodel_red
critgun_weaponmodel_red_glow
are the proper particles to use.
Try giving them the condition and then using the TF2_CalcIsAttackCritical forward to block them from actually getting crits.
Try giving them the condition and then using the TF2_CalcIsAttackCritical forward to block them from actually getting crits.
But then players will never be able to have random crits :(
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.