$screenalign: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
Sets a bone to automatically realign its orientation to the screen. [[Category:QC Commands|screenalign]]__NOTOC__
Sets a bone to automatically realign its orientation to the screen. [[Category:QC Commands|screenalign]]__NOTOC__
{{Bug|Does not work in Source 2013 despite [[studiomdl]] accepting this parameter}}
{{Bug|Does not work in Source 2013 despite [[studiomdl]] accepting this parameter  
{{workaround|In {{tf2}}, the [[teleport_vortex]] entity faces towards the local player clientside.}}}}
== Syntax ==
== Syntax ==
  $screenalign <bone name> <"sphere" or "cylinder">
  $screenalign <bone name> <"sphere" or "cylinder">
===Note===
===Note===
The model's material must have a material proxy! Having no material proxy will show it working properly in hammer, but it will appear static in game.
The model's material must have a material proxy! Having no material proxy will show it working properly in hammer, but it will appear static in game.

Revision as of 10:38, 5 November 2024

Sets a bone to automatically realign its orientation to the screen.

Icon-Bug.pngBug:Does not work in Source 2013 despite studiomdl accepting this parameter
PlacementTip.pngWorkaround:In Team Fortress 2, the teleport_vortex entity faces towards the local player clientside.
  [todo tested in ?]

Syntax

$screenalign <bone name> <"sphere" or "cylinder">

Note

The model's material must have a material proxy! Having no material proxy will show it working properly in hammer, but it will appear static in game.