Env cs place: Difference between revisions
Jump to navigation
Jump to search

Tip:Displayed place name will change when the player enters a env_cs_place; make sure to cover the entire area you want to show a specific place name with the env_cs_place mesh.
Confirm:All place names from CSGO work in
CS2
SirYodaJedi (talk | contribs) |
No edit summary |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{this is a|mesh entity|name=env_cs_place|engine=Source 2|game=Counter-Strike 2|sprite=tools_cs_place.png}} It is used to set the place name that will be displayed on HUD for the player. | |||
{{this is a|mesh entity|name=env_cs_place|engine=Source 2|game=Counter-Strike 2}} It is used to set the place name that will be displayed on | |||
{{Tip|Displayed place name will | {{Tip|Displayed place name will change when the player enters a '''env_cs_place'''; make sure to cover the entire area you want to show a specific place name with the env_cs_place mesh.}} | ||
{{Bug|The mesh must be block-shaped; otherwise, ''env_cs_place'' might not work.|tested={{cs2}}}} | |||
==Keyvalues== | ==Keyvalues== | ||
Line 15: | Line 9: | ||
{{KV|Name|intn=targetname|string|The [[targetname]] that other entities refer to this entity by.}} | {{KV|Name|intn=targetname|string|The [[targetname]] that other entities refer to this entity by.}} | ||
{{KV|Place Name|intn=place_name|string|Place name, will get localized in game}} | {{KV|Place Name|intn=place_name|string|Place name, will get localized in game}} | ||
:{{clarify|What happens if you put a string not in the list?}} | :{{clarify|What happens if you put a string not in the list? Can it use an arbitrary non-localized string, like the similar {{dods}}{{ent|dod_location}}? }} | ||
==List of place names== | ==List of place names== | ||
{{ | {{Confirm|[[Counter-Strike: Global Offensive/Places for a Navigation Mesh|All place names from CSGO]] work in {{cs2|4|nt=0}}}} | ||
{{expand|title=Available names| | |||
{{Table| | {{Table| | ||
{{tr|style=position:sticky; z-index:10; top:0| | {{tr|style=position:sticky; z-index:10; top:0| | ||
Line 1,248: | Line 1,243: | ||
{{td| yellowhouse }} | {{td| yellowhouse }} | ||
{{td| Yellow House }} | {{td| Yellow House }} | ||
}} | |||
}} | }} | ||
}} | }} |
Latest revision as of 16:01, 23 May 2025

env_cs_place
is a mesh entity available in Counter-Strike 2. It is used to set the place name that will be displayed on HUD for the player.

Keyvalues
Source 2 Transform:
- Origin (origin) <coordinates>
- The world space origin of the entity.
- Angles (angles) <angles>
- The pitch, yaw, roll orientation of the entity.
- Scale (scales) <vector>
- The x, y, z scales of the entity. Not all entities can use this.
- Transform Locked (transformLocked) <boolean>
- Lock the transform at its current value, preventing the transform of the node from being modified. Only applies within Hammer.
- Force Hidden (force_hidden) <boolean>
- Visually hides the entity from the viewports. The Outliner pane will still list hidden entities.
- Editor Only (editorOnly) <boolean>
- Entity is only displayed in Hammer and will not appear in game.
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.
- Place Name (place_name) <string>
- Place name, will get localized in game
- Clarify: What happens if you put a string not in the list? Can it use an arbitrary non-localized string, like the similar
dod_location?
List of place names


|