Model entity/Generic Keyvalues, Inputs and Outputs/Keyvalues: Difference between revisions
Jump to navigation
Jump to search

Available doc translations
Note:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history
mNo edit summary |
Thunder4ik (talk | contribs) m (→Tests: clean up, replaced: {{ModernWarning| → {{warning| (2), {{ModernBug → {{bug) |
||
Line 18: | Line 18: | ||
'''Values:''' | '''Values:''' | ||
:*'''0''': Not Solid | :*'''0''': Not Solid | ||
:*'''1''': BSP ([[QPhysics]]) {{#if:{{{nofgd|}}}||{{Not in FGD}}}} {{#if:{{{l4d|}}}{{{l4d2|}}}{{{as|}}}{{{base|}}}||{{ | :*'''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''': Oriented Bounding Box (Use for runtime spawned rotated brush entities) {{#if: {{{nofgd|}}}||{{Not in FGD}} }} | :*'''3''': Oriented Bounding Box (Use for runtime spawned rotated brush entities) {{#if: {{{nofgd|}}}||{{Not in FGD}} }} | ||
Line 148: | Line 148: | ||
{{KV|Body Group|intn=body or SetBodyGroup|int|Sets the the active {{Ent|$bodygroup}}.|nofgd=1}} | {{KV|Body Group|intn=body or SetBodyGroup|int|Sets the the active {{Ent|$bodygroup}}.|nofgd=1}} | ||
<!-- We should make a new page for "model index"? --> | <!-- We should make a new page for "model index"? --> | ||
{{KV|Model Index|intn=modelindex|short|Given the number index from dumping the <code>cl_precacheinfo modelprecache</code> table, sets entity model to the index. {{ | {{KV|Model Index|intn=modelindex|short|Given the number index from dumping the <code>cl_precacheinfo modelprecache</code> table, sets entity model to 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}} | ||
{{#if: {{{l4d|}}}{{{l4d2|}}}||{{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.{{ | {{#if: {{{l4d|}}}{{{l4d2|}}}||{{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!}}{{note|Scale may not appear in {{hammer4|2}}, but will appear in-game (tested in {{dods}}). This is fixed in {{hammer++|2}}.}}|since=EP2}} | ||
}} | }} | ||
{{#if: {{{base|}}} | {{KV DXLevelChoice}} }} | {{#if: {{{base|}}} | {{KV DXLevelChoice}} }} |
Revision as of 11:42, 6 January 2024



…
Tests
- start ([todo internal name (i)])

- end ([todo internal name (i)])