Difference between revisions of "Text"
Jump to navigation
Jump to search
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 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 | + | 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. |
+ | === Mission script === | ||
+ | The following tables list all opcodes and native functions related to help messages that can be used in a script. | ||
+ | |||
+ | ==== Opcodes ==== | ||
{| | {| | ||
− | |||
− | |||
|[[03E5]] ||{{Icon|t}} ||PRINT_<wbr>HELP | |[[03E5]] ||{{Icon|t}} ||PRINT_<wbr>HELP | ||
|- | |- | ||
Line 21: | Line 23: | ||
|[[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 | ||
|} | |} | ||
+ | |||
+ | ==== Native functions ==== | ||
{| | {| | ||
− | |||
− | |||
|{{Icon|4}} ||[[CLEAR_HELP]] | |{{Icon|4}} ||[[CLEAR_HELP]] | ||
|- | |- | ||
Line 29: | Line 31: | ||
|- | |- | ||
|{{Icon|4}} ||[[PRINT_HELP_FOREVER]] | |{{Icon|4}} ||[[PRINT_HELP_FOREVER]] | ||
+ | |} | ||
+ | |||
+ | === Hardcoded messages === | ||
+ | This is a list of all help messages that are hardcoded into the games to appear in certain events. Like all help messages, they can be cleared through the script. | ||
+ | |||
+ | ==== Vice City ==== | ||
+ | {|class="wikitable" | ||
+ | !GXT ||Event | ||
+ | |- | ||
+ | |CHEAT1 ||Inputting most cheats. | ||
+ | |- | ||
+ | |CHEAT2 ||Inputting weapon cheats. | ||
+ | |- | ||
+ | |CHEAT3 ||Inputting health cheat. | ||
+ | |- | ||
+ | |CHEAT4 ||Inputting armor cheat. | ||
+ | |- | ||
+ | |CHEAT5 ||Inputting wanted level cheats. | ||
+ | |- | ||
+ | |CHEAT7 ||Inputting weather cheats. | ||
+ | |- | ||
+ | |GA_6 ||rowspan="2" |Acquiring car bomb with timed detonator at the bomb shop. | ||
+ | |- | ||
+ | |GA_6B | ||
+ | |- | ||
+ | |GA_7 ||rowspan="2" |Acquiring car bomb with engine ignition detonation at the bomb shop. | ||
+ | |- | ||
+ | |GA_7B | ||
+ | |- | ||
+ | |GA_8 ||Acquiring car bomb with remote-control detonator at the bomb shop. | ||
+ | |- | ||
+ | |GA_21 ||Attempting to open a [[garage]] that already has the [[057A|maximum number of cars allowed]]. | ||
+ | |- | ||
+ | |PROP_1 ||Attempting to pickup a [[0518|forsale property pickup]] without enough money. | ||
+ | |- | ||
+ | |PROP_2 ||Attempting to pickup a [[0518|forsale property pickup]] while on a mission. | ||
+ | |- | ||
+ | |PU_CF1 ||rowspan="3" |Attempting to pick up a weapon that you already have of the same type. | ||
+ | |- | ||
+ | |PU_CF3 | ||
+ | |- | ||
+ | |PU_CF4 | ||
|} | |} | ||
Revision as of 00:18, 14 February 2016
This page documents text displayed on the screen. For the text format stored in the games, see GXT.
Contents
Help message
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.
Mission script
The following tables list all opcodes and native functions related to help messages that can be used in a script.
Opcodes
03E5 | PRINT_ | |
03E6 | CLEAR_ | |
0512 | PRINT_ | |
0513 | PRINT_ | |
08FE | IS_ | |
0989 | SET_ | |
0A2A | IS_ |
Native functions
CLEAR_HELP | |
PRINT_HELP | |
PRINT_HELP_FOREVER |
Hardcoded messages
This is a list of all help messages that are hardcoded into the games to appear in certain events. Like all help messages, they can be cleared through the script.
Vice City
GXT | Event |
---|---|
CHEAT1 | Inputting most cheats. |
CHEAT2 | Inputting weapon cheats. |
CHEAT3 | Inputting health cheat. |
CHEAT4 | Inputting armor cheat. |
CHEAT5 | Inputting wanted level cheats. |
CHEAT7 | Inputting weather cheats. |
GA_6 | Acquiring car bomb with timed detonator at the bomb shop. |
GA_6B | |
GA_7 | Acquiring car bomb with engine ignition detonation at the bomb shop. |
GA_7B | |
GA_8 | Acquiring car bomb with remote-control detonator at the bomb shop. |
GA_21 | Attempting to open a garage that already has the maximum number of cars allowed. |
PROP_1 | Attempting to pickup a forsale property pickup without enough money. |
PROP_2 | Attempting to pickup a forsale property pickup while on a mission. |
PU_CF1 | Attempting to pick up a weapon that you already have of the same type. |
PU_CF3 | |
PU_CF4 |
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 | DISPLAY_ |
||
033F | SET_ |
||
0340 | SET_ |
||
0341 | SET_ |
||
0342 | SET_ |
||
0343 | SET_ |
||
0344 | SET_ |
||
0345 | SET_ |
||
0346 | SET_ |
||
0347 | SET_ |
||
0348 | SET_ |
||
0349 | SET_ |
||
03E0 | SET_ |
||
03E4 | SET_ |
||
03F0 | USE_ | ||
045A | DISPLAY_ |
||
045B | DISPLAY_ |
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |