Template:Studio rendering note: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{draft}}
{{draft}}{{strings notice}}
{{see also|{{t|KV Model}}, for CBaseAnimating entities which support the model KV}}
Potential deprecation for {{t|KV CBaseAnimating}}, like with {{t|brush rendering note}}.  
Potential deprecation for {{t|KV CBaseAnimating}}, like with {{t|brush rendering note}}.  
<onlyinclude>{{note|See [[Rendering and studio model related KIO]] for keyvalues, inputs, and outputs that affect model rendering. {{#if:{{{1|}}}|Note that the following keyvalues are unavailable due to being overridden by game code:<br>{{mono|{{{1}}}}}<br>It may still be possible to use their associated inputs or [[AddOutput]] them.|}} }}</onlyinclude>
<onlyinclude>{{note|{{#if:{{{prepend|}}}|{{{prepend}}}|}} {{studio rendering note/strings|main}} {{#if:{{{1|}}}|<br>{{studio rendering note/strings|unavailable pre}}<br>{{mono|{{{1}}}}}<br>{{studio rendering note/strings|unavailable post}}|}}{{#if:{{{append|}}}|<br>{{{append}}}|}} }}</onlyinclude>


Can take a single unnamed parameter, which lists KVs which are unavailable for the given entity. For example, {{code|<nowiki>{{studio rendering note|model, body, sequence, playbackrate}}</nowiki>}} yields:
Can take a single unnamed parameter, which lists KVs which are unavailable for the given entity. For example, {{code|<nowiki>{{studio rendering note|model, body, sequence, playbackrate}}</nowiki>}} yields:
{{studio rendering note|model, body, sequence, playbackrate}}
{{studio rendering note|model, body, sequence, playbackrate}}
Can also take a {{param|append}} parameter, which gets placed after everything else.
{{studio rendering note|append=This is some extra text.}}
{{studio rendering note|skin, body|append=This is some extra text, placed after the note about unavailable KVs.}}
And {{param|prepend}} which comes first.
{{studio rendering note|prepend=I come first!}}

Latest revision as of 15:34, 26 May 2025

Icon-under construction-blue.png
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
See also:  {{KV Model}}, for CBaseAnimating entities which support the model KV

Potential deprecation for {{KV CBaseAnimating}}, like with {{brush rendering note}}.

Note.pngNote: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.

Can take a single unnamed parameter, which lists KVs which are unavailable for the given entity. For example, {{studio rendering note|model, body, sequence, playbackrate}} yields:

Note.pngNote: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.
Note that the following keyvalues are unavailable due to being overridden by game code:
model, body, sequence, playbackrate
It may still be possible to use their associated inputs or AddOutput them.

Can also take a {{{append}}} parameter, which gets placed after everything else.

Note.pngNote: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.
This is some extra text.
Note.pngNote: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.
Note that the following keyvalues are unavailable due to being overridden by game code:
skin, body
It may still be possible to use their associated inputs or AddOutput them.
This is some extra text, placed after the note about unavailable KVs.

And {{{prepend}}} which comes first.

Note.pngNote:I come first! See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.