Es/Point worldtext: Difference between revisions

From Valve Developer Community
< Es
Jump to navigation Jump to search
m (→‎top: clean up, added orphan tag)
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Orphan|date=January 2024}}
{{This is a|point entity|name=point_worldtext|game=Counter-Strike: Global Offensive}}  También disponible en {{tf2|4}}.
 
{{csgo point:es | point_worldtext}}  También disponible en {{tf2|4}}.


[[File:Point worldtext csgo example.jpg|thumb|right|Ejemplo de texto generado por dos entidades point_worldtext]] Es una entidad que muestra un mensaje en pantalla y su origen.
[[File:Point worldtext csgo example.jpg|thumb|right|Ejemplo de texto generado por dos entidades point_worldtext]] Es una entidad que muestra un mensaje en pantalla y su origen.
Line 7: Line 5:
{{todo|Actualizar esta descripción para {{tf2}}.}}
{{todo|Actualizar esta descripción para {{tf2}}.}}


'''point_worldtext''' muestra un texto específico en una posición del mundo. Puede ser de cualquier tamaño y color, pero su contorno no se puede modificar. Puedes cambiar el texto disparando [[AddOutput:es|AddOutput]] con el parámetro «message» y lo que quieras poner. Si deseas mostrar información importante para que los jugadores estén advertidos de algo, es mejor usar un [[game_text:es|game_text]].
'''point_worldtext''' muestra un texto específico en una posición del mundo. Puede ser de cualquier tamaño y color, pero su contorno no se puede modificar. Puedes cambiar el texto disparando {{L|AddOutput}} con el parámetro «message» y lo que quieras poner. Si deseas mostrar información importante para que los jugadores estén advertidos de algo, es mejor usar un {{L|game_text}}.


{{Tip|La hoja de la textura tiene un icono asignado al carácter «~».}}
{{Tip|La hoja de la textura tiene un icono asignado al carácter «~».}}
{{Note| El '''texto''', su '''tamaño''' y '''color''' pueden editarse mediante [[AddOutput:es|AddOutput]], haciendo que esta entidad sea flexible y útil.}}
{{Note| El '''texto''', su '''tamaño''' y '''color''' pueden editarse mediante {{L|AddOutput}}, haciendo que esta entidad sea flexible y útil.}}


== Valores clave ==
== Valores clave ==
{{KV BaseEntity}}
{{KV Targetname}}
{{ScrollBox|title=Text Options|}}
{{KV|Entity Message|intn=message|string|Text that should be displayed. {{tf2}} Newlines can be inserted into the text via the newline character ''\n''.}}
{{KV|Entity Message|intn=message|string|Text that should be displayed. {{tf2}} Newlines can be inserted into the text via the newline character ''\n''.}}
{{KV|Text Size|intn=textsize|float|Size of the text.  Setting this to 0 will display nothing. Negative values will flip the text upside down.}}
{{KV|Text Size|intn=textsize|float|Size of the text.  Setting this to 0 will display nothing. Negative values will flip the text upside down.}}
Line 34: Line 31:


== Entradas ==
== Entradas ==
{{I BaseEntity}}
{{I|Enable|Start displaying the message text.|not={{tf2}}}}
{{ScrollBox|title=point_worldtext|}}
{{I|Disable|Stop displaying the message text.|not={{tf2}}}}
{{IO|Enable|Start displaying the message text.|not={{tf2}}}}
{{I|SetMessage|Set the message text.|param=string|not={{tf2}}}}
{{IO|Disable|Stop displaying the message text.|not={{tf2}}}}
{{Bug|Does not work, use '''<code>{{L|AddOutput}} Message <string></code>''' instead.}}
{{IO|SetMessage|Set the message text.|param=string|not={{tf2}}}}
{{I|SetText|only={{tf2}}|param=string|Set the message text.}}
{{Bug|Does not work, use '''<code>[[AddOutput]] Message <string></code>''' instead.}}
{{I|SetTextSize|only={{tf2}}|param=float|Set the message text size.  Setting this to 0 will hide the text.  Negative values will flip the text upside down.}}
{{IO|SetText|only={{tf2}}|param=string|Set the message text.}}
{{I|SetTextSpacingX|only={{tf2}}|param=float|Set the spacing between letters along the X axis.  Negative values will invert the text.}}
{{IO|SetTextSize|only={{tf2}}|param=float|Set the message text size.  Setting this to 0 will hide the text.  Negative values will flip the text upside down.}}
{{I|SetTextSpacingY|only={{tf2}}|param=float|Set the spacing between letters along the Y axis. Only used when newlines are inserted into the text.}}
{{IO|SetTextSpacingX|only={{tf2}}|param=float|Set the spacing between letters along the X axis.  Negative values will invert the text.}}
{{I|SetColor|only={{tf2}}|param=color255|Set the message color.}}
{{IO|SetTextSpacingY|only={{tf2}}|param=float|Set the spacing between letters along the Y axis. Only used when newlines are inserted into the text.}}
{{I|SetFont|only={{tf2}}|param=int|Set the message font.  Accepts values 0 - 11}}
{{IO|SetColor|only={{tf2}}|param=color255|Set the message color.}}
{{I|SetOrientation|only={{tf2}}|param=int| Set the message orientation}}
{{IO|SetFont|only={{tf2}}|param=int|Set the message font.  Accepts values 0 - 11}}
{{I|SetRainbow|only={{tf2}}|param=int| Enables Rainbow Text}}
{{IO|SetOrientation|only={{tf2}}|param=int| Set the message orientation}}
{{IO|SetRainbow|only={{tf2}}|param=int| Enables Rainbow Text}}
== Salidas ==
{{O BaseEntity}}


== Véase también ==
== Véase también ==
* [[point_message:es|point_message]]: Una entidad similar que muestra un pequeño mensaje en una ubicación específica del mapa.
* {{L|Point message|point_message}}: Una entidad similar que muestra un pequeño mensaje en una ubicación específica del mapa.


[[Category:GUI Entities:es]]
{{ACategory|GUI Entities}}

Latest revision as of 18:19, 5 June 2025

point_worldtext es una entidad de punto (en) disponible en Counter-Strike: Global Offensive Counter-Strike: Global Offensive. También disponible en Team Fortress 2 Team Fortress 2.

Ejemplo de texto generado por dos entidades point_worldtext

Es una entidad que muestra un mensaje en pantalla y su origen.

Uso

Pendiente: Actualizar esta descripción para Team Fortress 2.

point_worldtext muestra un texto específico en una posición del mundo. Puede ser de cualquier tamaño y color, pero su contorno no se puede modificar. Puedes cambiar el texto disparando AddOutput(en) con el parámetro «message» y lo que quieras poner. Si deseas mostrar información importante para que los jugadores estén advertidos de algo, es mejor usar un game_text(en).

Tip.pngConsejo:La hoja de la textura tiene un icono asignado al carácter «~».
Note.pngNota: El texto, su tamaño y color pueden editarse mediante AddOutput(en), haciendo que esta entidad sea flexible y útil.

Valores clave

Note.pngNota:Keyvalue/Targetname needs translation
Entity Message (message) <string(en)>
Text that should be displayed. Team Fortress 2 Newlines can be inserted into the text via the newline character \n.
Text Size (textsize) <float(en)>
Size of the text. Setting this to 0 will display nothing. Negative values will flip the text upside down.
Color (color) <color255(en)>
Color of the text. Team Fortress 2 Alpha is also parsed if R G B A format is specified. Otherwise, alpha defaults to 255.
Font (font) <material(en)> (only in Portal 2: Community EditionTeam Fortress 2)
Path to the font material sheet
Pendiente: Add font gallery for Team Fortress 2. Accepts integer values 0 - 11
Orientation (orientation) <integer(en)> (only in Team Fortress 2)
  • 0: stationary text
  • 1: always face the player.
  • 2: ignores pitch (looking up/down)
Warning.pngAviso:"stationary" text (aka orientation 0) is not centered at origin like other values. Instead, the first character in the message is printed at origin. This will cause your text to "shift" switching to/from 0
Text Spacing X (textspacingx) <float(en)> (only in Team Fortress 2)
Spacing between each letter along the X axis. Negative values will invert the text.
Text Spacing Y (textspacingy) <float(en)> (only in Team Fortress 2)
Spacing between each letter along the Y axis. Only used when newlines are inserted into the text.
Rainbow (rainbow) <boolean(en)> (only in Team Fortress 2)
Enables rainbow text. Cannot be modified by color or SetColor inputs.

Etiquetas

  • 1: Empieza desactivado
Note.pngNota:Team Fortress 2 No existe.
PlacementTip.pngsolución alternativa:Establece alfa en 0 con SetColor.

Entradas

Enable  (no en Team Fortress 2)
Start displaying the message text.
Disable  (no en Team Fortress 2)
Stop displaying the message text.
SetMessage <string(en)> (no en Team Fortress 2)
Set the message text.
Icon-Bug.pngError:Does not work, use AddOutput(en) Message <string> instead.  [todo tested in ?]
SetText <string(en)> (only in Team Fortress 2)
Set the message text.
SetTextSize <float(en)> (only in Team Fortress 2)
Set the message text size. Setting this to 0 will hide the text. Negative values will flip the text upside down.
SetTextSpacingX <float(en)> (only in Team Fortress 2)
Set the spacing between letters along the X axis. Negative values will invert the text.
SetTextSpacingY <float(en)> (only in Team Fortress 2)
Set the spacing between letters along the Y axis. Only used when newlines are inserted into the text.
SetColor <color255(en)> (only in Team Fortress 2)
Set the message color.
SetFont <integer(en)> (only in Team Fortress 2)
Set the message font. Accepts values 0 - 11
SetOrientation <integer(en)> (only in Team Fortress 2)
Set the message orientation
SetRainbow <integer(en)> (only in Team Fortress 2)
Enables Rainbow Text

Véase también

  • point_message(en): Una entidad similar que muestra un pequeño mensaje en una ubicación específica del mapa.