Dod location: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (spam revert)  | 
				SirYodaJedi (talk | contribs)   | 
				||
| (23 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{tabs|dod_location|goldsrc = 1|source = 1|main = source}}  | ||
[[File:Dod_location.png|thumb|250px|Example of the window after typing %l in the chat.]]  | |||
{{CD|CDODLocation|base=CBaseEntity|file1=dod/dod_location.cpp}}  | |||
{{this is a|point entity|<!--sprite=1-->|name=dod_location|game=Day of Defeat: Source}}  | |||
== Entity description ==  | == Entity description ==  | ||
A way of naming a particular area within a map.  | A way of naming a particular area within a map. If a player puts {{code|%l}} (lower case L) in their "say" text, the name of the closest {{mono|dod_location}} or {{ent|dod_control_point}} will be put in its place.  | ||
== Keyvalues ==  | == Keyvalues ==  | ||
{{KV Targetname}}  | |||
{{KV|Name of this location|intn=location_name|string|Name of the current location that appears ingame. Can be either a regular string or a reference to a localization string. Max 63 characters.}}  | |||
=  | |||
Latest revision as of 11:40, 8 May 2025
| CDODLocation | 
dod_location  is a   point entity  available in 
 Day of Defeat: Source.
Entity description
A way of naming a particular area within a map. If a player puts %l (lower case L) in their "say" text, the name of the closest dod_location or dod_control_point will be put in its place.
Keyvalues
- Name (targetname) <string>[ Edit ]
 - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. 
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities 
- Name of this location (location_name) <string>
 - Name of the current location that appears ingame. Can be either a regular string or a reference to a localization string. Max 63 characters.