Editor text: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
Line 4: Line 4:


== Keyvalues ==
== Keyvalues ==
{{KV|Name|intn=targetname|string|The name that other entities refer to this entity by.}}
{{KV|Name|intn=targetname|string|Name to display in the 2D viewports and [[Entity Report]].}}
{{KV|Entity Message|intn=message|string|The actual message of the text.}}
{{KV|Entity Message|intn=message|string|The actual message of the text.}}
{{KV|Text Size|intn=textsize|integer|The size of the text.}}
{{KV|Text Size|intn=textsize|integer|The size of the text.}}
{{KV|Color|intn=color|color255|The color of the text.}}
{{KV|Color|intn=color|color255|The color of the text.}}
{{KV|Pitch Yaw Roll|intn=angles|angles|nofgd=1|The orientation of the text.}}

Revision as of 19:57, 1 July 2024

English (en)Suomi (fi)Русский (ru)Translate (Translate)

It has a similar appearance to point_worldtext, however it's main purpose is to add 3D comments to a map. The text only appears in Hammer as the entity does not actually exist in game.

editor_text used to display "Hello World" in Hammer

Keyvalues

Name (targetname) <string>
Name to display in the 2D viewports and Entity Report.
Entity Message (message) <string>
The actual message of the text.
Text Size (textsize) <integer>
The size of the text.
Color (color) <color255>
The color of the text.
Pitch Yaw Roll (angles) <angles> !FGD
The orientation of the text.