Template:KV BaseAnimating/sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
-->
-->
[[Template:KV BaseAnimating/testcases]]
[[Template:KV BaseAnimating/testcases]]
<onlyinclude><includeonly>{{ScrollBox|title=Model|noscroll={{{noscroll|}}}|
<onlyinclude><includeonly>{{ScrollBox|title=BaseAnimating|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.}}
{{KV|[[Skin]]|intn=skin or ModelSkin {{as}}|int|Some models have multiple skins. This value selects from the index, starting with 0.|nofgd={{{nofgd|}}}}}
{{KV|[[Skin]]|intn=skin or ModelSkin {{as}}|int|Some models have multiple skins. This value selects from the index, starting with 0.|nofgd={{{nofgd|}}}}}
{{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]]) {{#if: {{{nofgd|}}}||{{Not in FGD}} }} {{bug|In {{portal2}}, if an entity using QPhysics collisions is hit by [[Gel]], the game will crash!}}
:*'''1''': BSP ([[QPhysics]]) {{#if: {{{nofgd|}}}||{{Not in FGD}} }} {{#if: {{{l4d|}}}{{{l4d2|}}}{{{as|}}}{{{base|}}}||{{bug|In {{portal2|4}}, 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) {{#if: {{{nofgd|}}}||{{Not in FGD}} }}
:*'''3''': [[Bounding box|Oriented Bounding Box]] (Use for runtime spawned rotated brush entities) {{#if: {{{nofgd|}}}||{{Not in FGD}} }}
Line 21: Line 21:
{{KV|Model Index|intn=modelindex|short|Given the number index from dumping the <code>cl_precacheinfo modelprecache</code> table, sets entity model to of the index. {{warning|If an entity has animations that ''will be'' played, then the set model also must have its own sequences, else the game crashes.}}|nofgd=1}}
{{KV|Model Index|intn=modelindex|short|Given the number index from dumping the <code>cl_precacheinfo modelprecache</code> table, sets entity model to of the index. {{warning|If an entity has animations that ''will be'' played, then the set model also must have its own sequences, else the game crashes.}}|nofgd=1}}
{{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however.{{warning|Negative or extremely high values can cause crashes!}}|nofgd=1|since=EP2|not={{portal}} {{l4dseries}} {{src13}}}}
{{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model. Negative values are accepted. Does not alter the physics collisions in most cases, however.{{warning|Negative or extremely high values can cause crashes!}}|nofgd=1|since=EP2|not={{portal}} {{l4dseries}} {{src13}}}}
{{#if: {{{base|}}} | {{KV DXLevelChoice}} }}
<!--
<!--
   ++ Animating ++
   ++ Animating ++
Line 72: Line 73:
:*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 113: 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>
{{#if: {{{l4d|}}}{{{l4d2|}}}{{{as|}}}{{{base|}}}{{{portal2|}}}|<!--will only show if none are checked-->|{{KV DXLevelChoice}} }}
{{#if: {{{base|}}}||{{KV SystemLevelChoice|nofgd={{{nofgd|}}}}} }}</includeonly></onlyinclude>

Revision as of 09:30, 19 May 2022