This article's documentation is for Source 2. Click here for more information.

Env cs place: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(bug)
Line 9: Line 9:


{{Tip|Displayed place name will only change when the player enters a new '''env_cs_place'''; that means that you only need to place it at the choke point of an area.}}
{{Tip|Displayed place name will only change when the player enters a new '''env_cs_place'''; that means that you only need to place it at the choke point of an area.}}
{{Bug|The mesh must be block-shaped; otherwise, ''env_cs_place'' might not work.|tested={{cs2}}}}


==Keyvalues==
==Keyvalues==

Revision as of 11:59, 19 November 2024

env_cs_place
Tools cs place.png
TypeMesh Entity
EngineSource 2 Source 2
AvailabilityCounter-Strike 2 Counter-Strike 2
 

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

Tip.pngTip:Displayed place name will only change when the player enters a new env_cs_place; that means that you only need to place it at the choke point of an area.
Icon-Bug.pngBug:The mesh must be block-shaped; otherwise, env_cs_place might not work.  (tested in: Counter-Strike 2)

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?

List of place names

Confirm:All place names from CSGO work in Counter-Strike 2 CS2