Page 1 of 1

GXT

Posted: 13 Jun 2012, 00:54
by Alberto
Hello Everyone

I Saw in GTA2 Levels...when you start a game (example: Downtown) you find a guy speaks...you'll find him down in the screen
a small face and words besides it, well i really want to add something like this, Can Anybody help me in this?

Thanks

Raef

Re: GXT

Posted: 13 Jun 2012, 07:27
by Pyro
In the script, you use the DISPLAY_BRIEF (1234) command, where 1234 is the line number in the GXT file you want to show.

Inside the GXT itself you have each brief/text separated by the numbers and they usually start with something like "z!"; this letter with exclamation mark is what chat-head to use when the brief shows. The letters correspond to the following chat-heads:

n! - neutral, the one you see at the start of every GTA2 official level like Downtown.
k! - Krishna
l! - Loonies
m! - Russians
r! - Rednecks
s! - Scientists
y! - Yakuza
z! - Zaibatsu

Re: GXT

Posted: 13 Jun 2012, 16:19
by CarThief
I believe there was also p! for Police heads. They seem to be leftovers that where never officially used. Seems to function correctly in every way though.
Basic example:

Code: Select all

[1350] p!Freeze! This is the Police!

Re: GXT

Posted: 14 Jun 2012, 13:39
by BenMillard
I should add those codes to my tutorials. Will post back here when I decide where they should go.

Re: GXT

Posted: 14 Jun 2012, 14:32
by Alberto
Exactly BenMillard, Thank You

Re: GXT

Posted: 18 Oct 2012, 20:52
by BenMillard
...some time later: Gang heads in .gxt messages.

Thanks to Pyro, CarThief and especially Cuban Pete for their contribution to this area of modding.