Fixed TTT crowbar's decals and sounds #852

Merged
merged 1 commit into from Jan 9, 2015

Projects

None yet

3 participants

@TFlippy
Contributor
TFlippy commented Jan 9, 2015

Since TTT's crowbar doesn't apply decals onto models and doesn't use correct sounds & decals based on $surfaceprop, I've added two extra parameters to the EffectData - SetSurfaceProp(tr_main.SurfaceProps) and SetHitBox(tr_main.HitBox).
For example, hitting a metal model now applies a corresponding Impact decal to the model and emits the correct sound.

@TFlippy TFlippy Fixed sounds and decals based on $surfaceprop
Since TTT's crowbar doesn't apply decals onto models and doesn't use correct sounds & decals based on $surfaceprop, I've added two extra parameters to the EffectData - SetSurfaceProp(tr_main.SurfaceProps) and SetHitBox(tr_main.HitBox).
For example, hitting a metal model now applies a corresponding Impact decal to the model and emits the correct sound.
1cfcb4b
@robotboy655 robotboy655 added the TTT label Jan 9, 2015
@TFlippy TFlippy changed the title from Fixed sounds and decals based on $surfaceprop to Fixed TTT crowbar's decals and sounds Jan 9, 2015
@svdm svdm merged commit bbc6409 into garrynewman:master Jan 9, 2015
@TFlippy TFlippy deleted the TFlippy:patch-1 branch Jan 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment