Template:KV DynamicProp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Replaced content with "{{delete|unneeded}}")
Tag: Replaced
Line 1: Line 1:
{{lang|Template:KV DynamicProp}}[[Category:Keyvalue Templates|DynamicProp]]
{{delete|unneeded}}
*<code>l4d2=1</code> shows glow keyvalues that apply to l4d2 ''only''. some of these keyvalues exist in csgo as well but do not work. asw and portal 2 don't have them at all.
*<code>pre09=1</code> hides DisableBoneFollowers
*<code>preasw=1</code> hides HoldAnimation and AnimateEveryFrame
The following is the result with <code>l4d2=1</code>.
 
 
{{ {{PAGENAME}} | l4d2=1 }}
 
<onlyinclude><includeonly>{{minititle|DynamicProp}}
{{KV|Default Animation|intn=DefaultAnim|string|The animation this prop will play when not doing a random or forced animation.}}
{{KV|Randomly Animate|intn=RandomAnimation|bool|Makes the prop randomly select and play animations at intervals defined by the '''Min/Max Random Anim Time''' KVs. In between the random animations, it will revert to playing '''Default Animation'''.{{note|Will only select from animation [[$sequence]]s linked with <code>ACT_IDLE</code> if they exist.}}}}
{{KV|Ignore NPC Collisions|intn=IgnoreNPCCollisions|choices|Disable collisions for [[NPC|NPCs]] if yes.
:*0: No
:*1: Yes
|only={{bms}}
}}
{{KV|Min Random Anim Time|intn=MinAnimTime|float|Minimum time between random animations.}}
{{KV|Max Random Anim Time|intn=MaxAnimTime|float|Maximum time between random animations.}}
{{KV|Update children|intn=updatechildren|bool|since={{l4d}}|Update touches for any children that are attached to attachment points as this prop animates. This allows SetParentAttached triggers or func_brushes to touch properly.}}<!--
-->{{#ifeq:{{{l4d2|0}}}|0||
{{KV|Glow State|intn=glowstate|choices|What is allowed to activate the glow effect on this prop.
:*0: OFF (must be activated through inputs)
:*1: {{ent|+use}}
:*2: when looked at
:*3: ON (starts activated)}}
{{KV|Glow Range|intn=glowrange|integer|Range at which the glow becomes visible. 0 means always visible.}}
{{KV|Glow Range Min|intn=glowrangemin|integer|Range at which glow stops being visible. 0 means always visible.}}
{{KV|Glow Color Override (R G B)|intn=glowcolor|color255|Color of the glow.}}
}}<!--
-->{{#ifeq:{{{pre09|0}}}|0|
{{KV|Disable Bone Followers|intn=DisableBoneFollowers|boolean|since=2009|Disables generation of {{ent|phys_bone_follower}}s for each convex piece the model has in its [[collision model]]. <code>phys_bone_follower</code>s can quickly eat up the [[entity limit|edict count]], so this keyvalue can be very helpful in freeing resources. This will however make the collision model no longer function ({{confirm}} As in become non-solid?), and the model will not be able to ragdoll anymore.}}
|}}<!--
-->{{#ifeq:{{{preasw}}}|1||
{{KV|Hold Animation|intn=HoldAnimation|boolean|since=AS|If set, the prop will not loop its animation, but hold the last frame.}}
{{KV|Animate Every Frame|intn=AnimateEveryFrame|boolean|since=P2|Force this prop to animate every frame. Usually this doesn't need to be touched.}}
|}}
{{KV GMOD}}</includeonly></onlyinclude>

Revision as of 15:22, 30 June 2024

Warning icon.png
This template has been marked as a candidate for speedy deletion for the following reason:
unneeded
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.