Editor text: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(I guess internal is correct here)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{this is a|point entity|name=editor_text|game=Hammer++}}
{{this is a|internal=1|point entity|name=editor_text|game=Hammer++}}


It has a similar appearance to {{ent|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; it will not count toward [[entity limit]]s.
It has a similar appearance to {{ent|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, it will not count toward [[entity limit]]s.
[[File:editor text.png|thumb|right|editor_text used to display "Hello World" in Hammer]]
[[File:editor text.png|thumb|right|editor_text used to display "Hello World" in Hammer]]


== Keyvalues ==
== Keyvalues ==
{{KV|Name|intn=targetname|string|Name to display in the 2D viewports and [[Entity Report]], as well as for if this entity is a [[light_spot|spotlight]] target.}}
{{KV Targetname null}}
{{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 (Y Z X)|intn=angles|angles|nofgd=1|The orientation of the text.}}
{{KV|Pitch Yaw Roll (Y Z X)|intn=angles|angles|nofgd=1|The orientation of the text.}}

Latest revision as of 04:23, 19 September 2024

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

editor_text is an internal point entity available in Hammer++ Hammer++.

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, it will not count toward entity limits.

editor_text used to display "Hello World" in Hammer

Keyvalues

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.
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 (Y Z X) (angles) <angles> !FGD
The orientation of the text.