GXT

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
User avatar
Alberto
Hitman
Hitman
Posts: 115
Joined: 19 Jan 2012, 20:13
GH nick: Raef/ RaefGH
Location: Calgary.

GXT

Post 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
The fuck you looking at?
User avatar
Pyro
Immortal
Posts: 414
Joined: 17 Mar 2010, 04:07
GH nick: Pyro
Location: Wales, UK

Re: GXT

Post 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
CarThief
Hitman
Hitman
Posts: 108
Joined: 19 May 2012, 18:12
GH nick: CarThief
Location: Holland, AKA The Netherlands

Re: GXT

Post 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!
BenMillard
Immortal
Posts: 889
Joined: 16 May 2009, 06:14
GH nick: BenMillard
Location: London, UK
Contact:

Re: GXT

Post by BenMillard »

I should add those codes to my tutorials. Will post back here when I decide where they should go.
User avatar
Alberto
Hitman
Hitman
Posts: 115
Joined: 19 Jan 2012, 20:13
GH nick: Raef/ RaefGH
Location: Calgary.

Re: GXT

Post by Alberto »

Exactly BenMillard, Thank You
The fuck you looking at?
BenMillard
Immortal
Posts: 889
Joined: 16 May 2009, 06:14
GH nick: BenMillard
Location: London, UK
Contact:

Re: GXT

Post 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.
Post Reply