Template:KV BaseAnimating/sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{lang|Template:KV BaseAnimating}} <!-- ++ Notes ++ 1. All those "BREAK" comments are there, because templates like these are sensitive to line breaks, and have been optim...")
 
mNo edit summary
Line 2: Line 2:
<!--
<!--
   ++ Notes ++
   ++ Notes ++
   1. All those "BREAK" comments are there, because templates like these are sensitive to line breaks, and have been optimized out to avoid entity pages with random weird portions of blank spaces inbetween. Its for readability basically, and you should pretend those comments are a line break.
   1. All those "BREAK" comments are there, because templates like these are sensitive to line breaks, and have been optimized out to avoid entity pages with random weird portions of blank spaces inbetween. It's for readability, basically, and you should pretend those comments are a line break.
  2. The long {{{#if:}}} chain could probably ne better, however iirc its a giant workaround from ParserExtensions creating newlines with each new "if" statement? Look out for that if you want to refactor that.
-->
-->
[[Template:KV BaseAnimating/testcases]]
<onlyinclude><includeonly>{{ScrollBox|title=Model|noscroll={{{noscroll|}}}|
<onlyinclude><includeonly>{{ScrollBox|title=Model|noscroll={{{noscroll|}}}|
{{KV|World Model|intn=model|string|The [[model]] this entity should appear as. 128-character limit.}}
{{KV|World Model|intn=model|string|The [[model]] this entity should appear as. 128-character limit.}}
Line 10: Line 10:
{{KV|Collisions|intn=solid|choices|Method of collision for this entity.<!-- BREAK -->{{ExpandBox|
{{KV|Collisions|intn=solid|choices|Method of collision for this entity.<!-- BREAK -->{{ExpandBox|
:*'''0''': None
:*'''0''': None
:*'''1''': BSP ([[QPhysics]]) {{Not in FGD}} {{bug|In {{portal2}}, if an entity using QPhysics collisions is hit by [[Gel]], the game will crash!}}
:*'''1''': BSP ([[QPhysics]]) {{NotFGD}} {{bug|In {{portal2}}, if an entity using QPhysics collisions is hit by [[Gel]], the game will crash!}}
:*'''2''': [[Bounding box|Bounding Box]]
:*'''2''': [[Bounding box|Bounding Box]]
:*'''3''': [[Bounding box|Oriented Bounding Box]] (Use for runtime spawned rotated brush entities) {{Not in FGD}}
:*'''3''': [[Bounding box|Oriented Bounding Box]] (Use for runtime spawned rotated brush entities) {{Not in FGD}}
Line 26: Line 26:
{{style|color:white;font-size:14px;padding-bottom:5px|'''Animating'''}}
{{style|color:white;font-size:14px;padding-bottom:5px|'''Animating'''}}
{{KV|Sequence|intn=sequence|int|Default animation sequence for the model to be playing after spawning.|nofgd=1}}
{{KV|Sequence|intn=sequence|int|Default animation sequence for the model to be playing after spawning.|nofgd=1}}
{{KV|Playback Rate|intn=playbackrate|float|A multiplier of the [[framerate]] at which animations are played, negative values are accepted. Default is 1.0|nofgd=1}}
{{KV|Playback Rate|intn=playbackrate|float|A multiplier of the [[framerate]] at which animations are played, negative values are accepted. Default is 1.0.|nofgd=1}}
{{KV|Cycle|intn=cycle|float|The current frame of the current animation, on a range from 0-1.|nofgd=1}}
{{KV|Cycle|intn=cycle|float|The current frame of the current animation, on a range from 0-1.|nofgd=1}}
{{KV|Texture Frame|intn=texframeindex|int|The initial frame number for all animated textures on this entity.|nofgd=1}}
{{KV|Texture Frame|intn=texframeindex|int|The initial frame number for all animated textures on this entity.|nofgd=1}}
<!-- {{KV|Damage Filter Name|intn=damagefilter|targetname|When this entity receives damage, it will [[filter]] by this entity.}} doesn't belong here -->
<!--
<!--
   ++ Effects - Render ++
   ++ Effects - Render ++
Line 73: Line 72:
:*2: Cache it—render only once
:*2: Cache it—render only once
|since=P2|nofgd={{{nofgd|}}}}} }}
|since=P2|nofgd={{{nofgd|}}}}} }}
 
{{#if: {{{base|}}}|<!--the following won't show if base is set-->|
{{style|border-bottom:1px solid #3A3937;display:block;  color:white;font-size:16px;padding-bottom:6px|'''Miscellaneous'''}}
{{style|border-bottom:1px solid #3A3937;display:block;  color:white;font-size:16px;padding-bottom:6px|'''Miscellaneous'''}}


Line 114: Line 113:
{{#if: {{{l4d|}}}{{{l4d2|}}}{{{as|}}}{{{base|}}}|<!--will show as long as nothing other than portal2 is checked
{{#if: {{{l4d|}}}{{{l4d2|}}}{{{as|}}}{{{base|}}}|<!--will show as long as nothing other than portal2 is checked
-->|{{KV|No Animation Sounds|intn=SuppressAnimSounds|boolean|Silences sounds linked to animations.|since=P2|nofgd=1}} }}
-->|{{KV|No Animation Sounds|intn=SuppressAnimSounds|boolean|Silences sounds linked to animations.|since=P2|nofgd=1}} }}
{{#if: {{{base|}}}|<!--will show as long as base isn't set-->|{{KV SystemLevelChoice|nofgd={{{nofgd|}}}}} }}
{{KV SystemLevelChoice|nofgd={{{nofgd|}}}}} }} }}</includeonly></onlyinclude>
}}
}}</includeonly></onlyinclude>
 
{{documentation}}
<!-- Add categories to the /doc subpage, not here -->

Revision as of 09:10, 19 May 2022