Template:KV Targetname null: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Not sure why I removed that)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
; {{code|<nowiki>{{KV Targetname null}}</nowiki>}}
; {{code|<nowiki>{{KV Targetname null}}</nowiki>}}
<onlyinclude>{{#if:{{{vbsp only|}}}
<onlyinclude>{{#if:{{{vbsp only|}}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Can be used by compile tools as a [[prop_static]]'s lighting origin.<br>Also displayed in Hammer's 2D views and [[Entity Report]].}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Can be used by compile tools as a [[prop_static]]'s lighting origin.<br>Also displayed in Hammer's 2D views and [[Entity Report]]. No effect in-game.}}
| {{#if:{{{hammer only|}}}
| {{#if:{{{hammer only|}}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Displayed in Hammer's 2D views and [[Entity Report]].}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Displayed in Hammer's 2D views and [[Entity Report]]. No effect in-game, nor in map compilers.}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Can be used by compile tools as a [[light_spot|spotlight]] target or a [[prop_static]]'s lighting origin.<br>Also displayed in Hammer's 2D views and [[Entity Report]].}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Can be used by compile tools as a [[light_spot|spotlight]] target or a [[prop_static]]'s lighting origin.<br>Also displayed in Hammer's 2D views and [[Entity Report]].}}
}} }}</onlyinclude>
}} }}</onlyinclude>
Line 14: Line 14:
; {{code|<nowiki>{{KV Targetname null|vbsp only=1}}</nowiki>}}
; {{code|<nowiki>{{KV Targetname null|vbsp only=1}}</nowiki>}}
{{KV Targetname null|vbsp only=1}}
{{KV Targetname null|vbsp only=1}}
:{{wikinote|As most internal entities except info_lighting are stripped from the entity lump by VBSP ''before'' static props lighting origins are set, this should only be used for info_lighting and TeamSpen's postcompiler entities.}}




; {{code|<nowiki>{{KV Targetname null|hammer only=1}}</nowiki>}}
; {{code|<nowiki>{{KV Targetname null|hammer only=1}}</nowiki>}}
{{KV Targetname null|hammer only=1}}
{{KV Targetname null|hammer only=1}}

Latest revision as of 19:25, 2 December 2025

See also: {{KV Targetname}}, for entities that exist at runtime


{{KV Targetname null}}
Name (targetname) <string>
Name of this entity. Can be used by compile tools as a spotlight target or a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report.


{{KV Targetname null|vbsp only=1}}
Name (targetname) <string>
Name of this entity. Can be used by compile tools as a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report. No effect in-game.
Wiki Note:As most internal entities except info_lighting are stripped from the entity lump by VBSP before static props lighting origins are set, this should only be used for info_lighting and TeamSpen's postcompiler entities.


{{KV Targetname null|hammer only=1}}
Name (targetname) <string>
Name of this entity. Displayed in Hammer's 2D views and Entity Report. No effect in-game, nor in map compilers.