Model entity/Generic Keyvalues, Inputs and Outputs/Inputs: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Now, portal2=0 will no longer show portal2 inputs.)
m (added language bar.)
Line 1: Line 1:
{{lang|{{FULLPAGENAME}}}}
This template is our holder for all [[inputs]] that are assigned through {{ent|CBaseAnimating}}.
This template is our holder for all [[inputs]] that are assigned through {{ent|CBaseAnimating}}.
=== Parameters ===
=== Parameters ===
Line 15: Line 16:
|
|
{{IO|skin|param=int|Selects a [[skin]] from the model's index, starting with 0.}}
{{IO|skin|param=int|Selects a [[skin]] from the model's index, starting with 0.}}
{{IO|SetBodyGroup|param=int|Sets the the active [[$bodygroup]].}}
{{IO|SetBodyGroup|param=int|Sets the the active {{ent|$bodygroup}}.}}
{{IO|Ignite|Makes the entity catch on fire indefinitely.}}
{{IO|Ignite|Makes the entity catch on fire indefinitely.}}
{{IO|IgniteLifetime|param=float|Makes the entity catch on fire for a given amount of time.}}
{{IO|IgniteLifetime|param=float|Makes the entity catch on fire for a given amount of time.}}
{{IO|IgniteNumHitboxFires|param=int|Makes the entity catch on fire with a given number of [[hitbox]] fire particles. Does not function correctly in {{l4d2}} onward.|removed={{l4d2}}}}
{{IO|IgniteNumHitboxFires|param=int|Makes the entity catch on fire with a given number of [[hitbox]] fire particles. Does not function correctly in {{l4d2}} onward.|removed={{l4d2}}}}
{{IO|IgniteHitboxFireScale|param=float|Makes the entity catch on fire with a given scale for [[hitbox]] fire particles. Does not function correctly in {{l4d2}} onward.|removed={{l4d2}}}}
{{IO|IgniteHitboxFireScale|param=float|Makes the entity catch on fire with a given scale for [[hitbox]] fire particles. Does not function correctly in {{l4d2}} onward.|removed={{l4d2}}}}
{{IO|BecomeRagdoll|Kills the entity and creates a client-side ragdoll from the model. Input is only passed if the model contains [[$collisionjoints]], for other models [[phys_convert]] can be used instead.}}
{{IO|BecomeRagdoll|Kills the entity and creates a client-side ragdoll from the model. Input is only passed if the model contains {{ent|$collisionjoints}}, for other models [[phys_convert]] can be used instead.}}
{{IO|SetLightingOrigin|param=targetname|Sets the entity's lighting origin to use this entity's position.}}
{{IO|SetLightingOrigin|param=targetname|Sets the entity's lighting origin to use this entity's position.}}
{{IO|SetLightingOriginHack|param=targetname|Offsets the entity's lighting origin by their distance from an {{ent|info_lighting_relative}}. Use <code>SetLightingOrigin</code> instead.|deprecated=1|removed={{l4d}}}}
{{IO|SetLightingOriginHack|param=targetname|Offsets the entity's lighting origin by their distance from an {{ent|info_lighting_relative}}. Use <code>SetLightingOrigin</code> instead.|deprecated=1|removed={{l4d}}}}

Revision as of 10:42, 4 May 2022

English (en)Translate (Translate)

This template is our holder for all inputs that are assigned through CBaseAnimating.

Parameters

  • {{{portal2}}} - When applying to a page, add |portal2=1 to display inputs added by Template:Game name (if they should be there).
  • {{{noscroll}}} - This parameter is relayed to {{ScrollBox}}.

The following is the result of {{I BaseAnimating|portal2=1}}:

Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history