User:0.51: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:
*'''key''' - parameter name
*'''key''' - parameter name
*'''value''' - parameter value
*'''value''' - parameter value
*'''comment''' - parameter comment
''Paste-in:''
''Paste-in:''
<pre>
<pre>
Line 28: Line 29:
==entity-flag template==
==entity-flag template==
This template presents a set of flags for a given enitity together with the comments (optional).  
This template presents a set of flags for a given enitity together with the comments (optional).  
Example:
 
''Example:''
{{entity-flag-start|}}
{{entity-flag-start|}}
{{entity-flag|Template NPC|on|you may name it as you want}}
{{entity-flag|Template NPC|on|you may name it as you want}}
{{entity-flag|Start burrowed|off|you may name it as you want}}
{{entity-flag|Start burrowed|off|you may name it as you want}}
{{entity-flag-end}}
{{entity-flag-end}}
''Syntax:''
<nowiki>{{entity-flag-start|}}</nowiki>
<nowiki>{{entity-flag|</nowiki>'''name'''<nowiki>|</nowiki>'''flag'''<nowiki>|</nowiki>'''comment'''<nowiki>}}</nowiki>


<pre>
<nowiki>{{entity-flag-end}}</nowiki>
{{entity-flag-start|}}
where:
{{entity-flag||on|}}
*'''name''' - flag name
{{entity-flag||off|}}
*'''value''' - flag value - on or offf
{{entity-flag-end}}
*'''comment''' - flag comment
</pre>
''Paste-in:''
Paste-in:
<pre>
<pre>
{{entity-flag-start|}}
{{entity-flag-start|}}
Line 49: Line 55:
==entity-output template==
==entity-output template==
This template presents a set of outputs for a given enitity together with the comments (optional).  
This template presents a set of outputs for a given enitity together with the comments (optional).  
Example:
''Example:''


{{entity-output-start|[[npc_alyx]]}}
{{entity-output-start|[[npc_alyx]]}}
Line 55: Line 61:
{{entity-output|Name|off|you may name it as you want||||}}
{{entity-output|Name|off|you may name it as you want||||}}
{{entity-output-end}}
{{entity-output-end}}
Syntax:
''Syntax:''
<nowiki>{{entity-output-start|}}</nowiki>


Paste-in:
<nowiki>{{entity-output|</nowiki>'''name'''<nowiki>|</nowiki>'''flag'''<nowiki>|</nowiki>'''comment'''<nowiki>}}</nowiki>
 
<nowiki>{{entity-output-end}}</nowiki>
 
''Paste-in:''
<pre>
<pre>
{{entity-output-start|}}
{{entity-output-start|}}

Revision as of 13:49, 12 March 2006

entity-kvalue template

This template presents a set of keyvalues for a given enitity together with the comments (optional).

Example:

Class: npc_alyx
Keyvalues Comments
Name dropship-1 ..you may name it as you want
Number of grenades 5 ..dont get them too many

Syntax:

{{entity-kvalue-start|class}}

{{entity-kvalue|key|value|comment}}

{{entity-kvalue-end}}

where:

  • class - entity class
  • key - parameter name
  • value - parameter value
  • comment - parameter comment

Paste-in:

{{entity-kvalue-start|}}
{{entity-kvalue|||comment}}
{{entity-kvalue-end}}

entity-flag template

This template presents a set of flags for a given enitity together with the comments (optional).

Example:

Flag
Checkbox-on.png Template NPC you may name it as you want
Checkbox-off.png Start burrowed you may name it as you want

Syntax:

{{entity-flag-start|}}

{{entity-flag|name|flag|comment}}

{{entity-flag-end}} where:

  • name - flag name
  • value - flag value - on or offf
  • comment - flag comment

Paste-in:

{{entity-flag-start|}}
{{entity-flag|||}}
{{entity-flag|||}}
{{entity-flag-end}}

entity-output template

This template presents a set of outputs for a given enitity together with the comments (optional). Example:

My output Target entity Target input Parameter Delay Only once Comments
File:Entity-output-iconName.png on you may name it as you want {{{8}}}
File:Entity-output-iconName.png off you may name it as you want {{{8}}}

Syntax: {{entity-output-start|}}

{{entity-output|name|flag|comment}}

{{entity-output-end}}

Paste-in:

{{entity-output-start|}}
{{entity-output|||||||}}
{{entity-output|||||||}}
{{entity-output-end}}