Template:KV DynamicProp: Difference between revisions
Jump to navigation
Jump to search
(updates) |
(new kv) |
||
Line 5: | Line 5: | ||
{{KV|Max Random Anim Time (MaxAnimTime)|float|Maximum time between random animations.}} | {{KV|Max Random Anim Time (MaxAnimTime)|float|Maximum time between random animations.}} | ||
{{KV|Disable Bone Followers (DisableBoneFollowers)|boolean|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.}} | {{KV|Disable Bone Followers (DisableBoneFollowers)|boolean|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.}} | ||
{{KV|Hold Animation (HoldAnimation)|boolean|since=AS|If set, the prop will not loop its animation, but hold the last frame.}}<noinclude>[[Category:Keyvalue Templates|prop_dynamic_base]]</noinclude> | {{KV|Hold Animation (HoldAnimation)|boolean|since=AS|If set, the prop will not loop its animation, but hold the last frame.}} | ||
{{KV|Animate Every Frame (AnimateEveryFrame)|boolean|since=P2|Force this prop to animate every frame. Usually this doesn't need to be touched.}}<noinclude>[[Category:Keyvalue Templates|prop_dynamic_base]]</noinclude> |
Revision as of 07:12, 12 September 2018
DynamicProp:
- Default Animation (DefaultAnim) ([todo internal name (i)]) <string>
- The animation this prop will play when not doing a random or forced animation.
- Randomly Animate (RandomAnimation) ([todo internal name (i)]) <boolean>
- 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.
- Min Random Anim Time (MinAnimTime) ([todo internal name (i)]) <float>
- Minimum time between random animations.
- Max Random Anim Time (MaxAnimTime) ([todo internal name (i)]) <float>
- Maximum time between random animations.
- Disable Bone Followers (DisableBoneFollowers) ([todo internal name (i)]) <boolean>
- Disables generation of phys_bone_followers for each convex piece the model has in its collision model.
phys_bone_follower
s can quickly eat up the 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.