Skip to content

Instantly share code, notes, and snippets.

@mastercoms
Created October 20, 2017 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mastercoms/53aa5b6cd39dbddd549399f2fa3b20ef to your computer and use it in GitHub Desktop.
Save mastercoms/53aa5b6cd39dbddd549399f2fa3b20ef to your computer and use it in GitHub Desktop.
cvar list
--------------
tf_airblast_cray : 1 : , "sv", "cheat" : Use alternate cray airblast logic globally.
tf_airblast_cray_ground_reflect : 1 : , "sv", "cheat" : If set, cray airblast reflects any airblast power directed into the ground off of it, to prevent ground-stuck and provide a bit more control over up-vs-forward vectoring
tf_airblast_cray_debug : 0 : , "sv", "cheat" : Enable debugging overlays & output for cray airblast. Value is length of time to show debug overlays in seconds.
tf_airblast_cray_lose_footing_duration : 0 : , "sv", "cheat" : How long the player should be unable to regain their footing after being airblast, separate from air-control stun.
tf_airblast_cray_ground_minz : 100 : , "sv", "cheat" : If set, cray airblast ensures the target has this minimum Z velocity after reflections and impulse have been applied. Set to 268.3281572999747 for exact old airblast Z behavior.
tf_airblast_cray_pitch_control : 0 : , "sv", "cheat" : If set, allow controlling the pitch of the airblast, in addition to the yaw.
tf_airblast_cray_power : 600 : , "sv", "cheat" : Amount of force cray airblast should apply unconditionally. Set to 0 to only perform player momentum reflection.
tf_airblast_cray_power_relative : 0 : , "sv", "cheat" : If set, the blast power power also inherits from the blast's forward momentum.
tf_airblast_cray_reflect_coeff : 2 : , "sv", "cheat" : The coefficient of reflective power cray airblast employs. 0 - No reflective powers 0-1 - Cancel out some/all incoming velocity 1-2 - Reflect some/all incoming velocity outwards 2+ - Reflect incoming velocity outwards and then some
tf_airblast_cray_reflect_cost_coeff : 0 : , "sv", "cheat" : What portion of power used for reflection is removed from the push effect. Note that reflecting incoming momentum requires 2x the momentum - to first neutralize and then reverse it. Setting this to 1 means that a target running towards the blast at more than 50% blast-speed would have a net pushback half that of a stationary target, since half the power was used to negate their incoming momentum. A value of 0.5 would mean that running towards the blast would not be beneficial vs being still, while values
tf_airblast_cray_reflect_relative : 0 : , "sv", "cheat" : If set, the relative, rather than absolute, target velocity is considered for reflection.
tf_airblast_cray_stun_amount : 0 : , "sv", "cheat" : Amount of control loss to apply if stun_duration is set.
tf_airblast_cray_stun_duration : 0 : , "sv", "cheat" : If set, apply this duration of stun when initially hit by an airblast. Does not apply to repeated airblasts.
--------------
13 convars/concommands for [tf_airblast]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment