Template:KV BaseAnimating/sandbox: Difference between revisions
Jump to navigation
Jump to search
Kestrelguy (talk | contribs) (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...") |
Kestrelguy (talk | contribs) 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. | 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. | ||
--> | --> | ||
[[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]]) {{ | :*'''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}} | ||
<!-- | <!-- | ||
++ 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}} }} | ||
{{KV SystemLevelChoice|nofgd={{{nofgd|}}}}} }} }}</includeonly></onlyinclude> | |||
}}</includeonly></onlyinclude | |||