Template:I DynamicProp: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (Nescius moved page Template:Archived page history/I DynamicProp to Archived page history/I DynamicProp without leaving a redirect)  | 
				m (→top:  Substituted IO templates)  | 
				||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | <noinclude>{{lang|Template:I DynamicProp}}  | ||
*<code>l4d2=1</code> shows inputs that are for l4d2 only. Similar ones are in CSGO, but they do ''not'' work!  | |||
*<code>preasw=1</code> hides SetAnimationNoReset and FadeAndKill.</noinclude>{{minititle|CDynamicProp}}  | |||
{{I|SetAnimation|param=string|Forces the prop to play the named animation.}}  | |||
{{I|SetDefaultAnimation|param=string|Changes the animation played when not in a random/forced sequence.}}  | |||
{{I|SetPlaybackRate|param=float|Sets the framerate at which animations are played.}}  | |||
{{I|TurnOff|Hides the prop through {{ent|EF_NODRAW}}. The <code>Disable</code> input does the exact same thing.}}  | |||
{{I|TurnOn|Shows the prop (by removing {{ent|EF_NODRAW}}). The <code>Enable</code> input does the exact same thing.}}  | |||
{{I|DisableCollision|Tells the prop to no longer be solid.}}  | |||
{{I|EnableCollision|Tells the prop to become solid again.}}<!--  | |||
-->{{#ifeq:{{{l4d2}}}|1|{{I|StartGlowing|Enable any set glow effects on this prop.}}  | |||
{{I|StopGlowing|Disable any glow effects on this prop.}}|}}<!--  | |||
-->{{#ifeq:{{{preasw}}}|1||{{I|SetAnimationNoReset|param=string|since=AS|Force the prop to play an animation unless the prop is already playing the animation. The parameter should be the name of the animation.}}  | |||
{{I|FadeAndKill|since=P2|Fade out then remove this prop.}}|}}<noinclude>  | |||
[[Category:Input Templates|DynamicProp]]  | |||
</noinclude>  | |||
Latest revision as of 11:55, 21 April 2025
l4d2=1shows inputs that are for l4d2 only. Similar ones are in CSGO, but they do not work!preasw=1hides SetAnimationNoReset and FadeAndKill.CDynamicProp:
- SetAnimation <string>
 - Forces the prop to play the named animation.
 
- SetDefaultAnimation <string>
 - Changes the animation played when not in a random/forced sequence.
 
- SetPlaybackRate <float>
 - Sets the framerate at which animations are played.
 
- TurnOff
 - Hides the prop through EF_NODRAW. The 
Disableinput does the exact same thing. 
- TurnOn
 - Shows the prop (by removing EF_NODRAW). The 
Enableinput does the exact same thing. 
- DisableCollision
 - Tells the prop to no longer be solid.
 
- EnableCollision
 - Tells the prop to become solid again.
 - SetAnimationNoReset  <string> (in all games since 
) - Force the prop to play an animation unless the prop is already playing the animation. The parameter should be the name of the animation.
 
- FadeAndKill   (in all games since 
) - Fade out then remove this prop.