Difference between revisions of "Text"

From GTAMods Wiki
Jump to navigation Jump to search
(iv native)
Line 2: Line 2:
 
== Help message ==
 
== Help message ==
 
[[File:VC 03E5 Eng.png|thumb|A help message being displayed.]]
 
[[File:VC 03E5 Eng.png|thumb|A help message being displayed.]]
A help message is text displayed in the top left corner of the screen with a dark rectangular background. The following table lists all opcodes related to help messages.
+
A help message is text displayed in the top left corner of the screen with a dark semi-transparent rectangular background. The default text color of the help message is gray, which uses the [[GXT#Tokens|token]] <code>~w~</code> in the GXT file. The following table lists all opcodes and native functions related to help messages.
  
 
{|
 
{|
 +
!colspan="3" {{a|l}} |Opcodes
 +
|-
 
|[[03E5]] ||{{Icon|t}} ||PRINT_<wbr>HELP
 
|[[03E5]] ||{{Icon|t}} ||PRINT_<wbr>HELP
 
|-
 
|-
Line 18: Line 20:
 
|-
 
|-
 
|[[0A2A]] ||{{a|r}} |{{Icon|SA}} ||IS_<wbr>THIS_<wbr>HELP_<wbr>MESSAGE_<wbr>BEING_<wbr>DISPLAYED
 
|[[0A2A]] ||{{a|r}} |{{Icon|SA}} ||IS_<wbr>THIS_<wbr>HELP_<wbr>MESSAGE_<wbr>BEING_<wbr>DISPLAYED
 +
|}
 +
{|
 +
!colspan="2" {{a|l}} |Native functions
 +
|-
 +
|{{Icon|4}} ||[[CLEAR_HELP]]
 +
|-
 +
|{{Icon|4}} ||[[PRINT_HELP]]
 
|-
 
|-
|||{{a|c}} |{{Icon|4}} ||[[PRINT_HELP|PRINT_<wbr>HELP]]
+
|{{Icon|4}} ||[[PRINT_HELP_FOREVER]]
 
|}
 
|}
  

Revision as of 17:48, 13 February 2016

This page documents text displayed on the screen. For the text format stored in the games, see GXT.

Help message

A help message being displayed.

A help message is text displayed in the top left corner of the screen with a dark semi-transparent rectangular background. The default text color of the help message is gray, which uses the token ~w~ in the GXT file. The following table lists all opcodes and native functions related to help messages.

Opcodes
03E5 GTA III Vice City San Andreas PRINT_HELP
03E6 GTA III Vice City San Andreas CLEAR_HELP
0512 Vice City San Andreas PRINT_HELP_FOREVER
0513 San Andreas PRINT_HELP_FOREVER_WITH_NUMBER
08FE San Andreas IS_HELP_MESSAGE_BEING_DISPLAYED
0989 San Andreas SET_HELP_MESSAGE_BOX_SIZE
0A2A San Andreas IS_THIS_HELP_MESSAGE_BEING_DISPLAYED
Native functions
GTA IV CLEAR_HELP
GTA IV PRINT_HELP
GTA IV PRINT_HELP_FOREVER

Display text

Text can be displayed in a very customizable way. The following table lists all opcodes related to displaying this type of text.

Opcode Games Command Image
033E GTA III Vice City San Andreas DISPLAY_TEXT 033E.png
033F GTA III Vice City San Andreas SET_TEXT_SCALE 033F.png
0340 GTA III Vice City San Andreas SET_TEXT_COLOUR 0340.png
0341 GTA III Vice City San Andreas SET_TEXT_JUSTIFY
0342 GTA III Vice City San Andreas SET_TEXT_CENTRE 0342.png
0343 GTA III Vice City San Andreas SET_TEXT_WRAPX 0343.png
0344 GTA III San Andreas SET_TEXT_CENTRE_SIZE
0345 GTA III Vice City San Andreas SET_TEXT_BACKGROUND 0345.png
0346 GTA III SET_TEXT_BACKGROUND_COLOUR 0346.png
0347 GTA III SET_TEXT_BACKGROUND_ONLY_TEXT 0347.png
0348 GTA III Vice City San Andreas SET_TEXT_PROPORTIONAL 0348.png
0349 GTA III San Andreas SET_TEXT_FONT 0349.png
03E0 GTA III San Andreas SET_TEXT_DRAW_BEFORE_FADE
03E4 GTA III Vice City San Andreas SET_TEXT_RIGHT_JUSTIFY 03E4.png
03F0 GTA III Vice City San Andreas USE_TEXT_COMMANDS
045A GTA III Vice City San Andreas DISPLAY_TEXT_WITH_NUMBER
045B GTA III Vice City San Andreas DISPLAY_TEXT_WITH_2_NUMBERS