GTAGames.nl advertentie

Sounds (GTA2)

From WikiGTA - The Complete Grand Theft Auto Walkthrough
Jump to: navigation, search

Main Page > GTA2 > Modding Tutorial > Sounds


Sounds in GTA2 are added in more or less the same way as objects. To add a sound to your level, you need this command:

SOUND name = ( X.x , Y.y , Z.z ) sound PLAY_INSTANT/PLAY_FOREVER 
Name An unique name
( X.x , Y.y , Z.z ) The coordinates. The sound is the clearest on this coordinates and gets weaker when you walk away.
sound Which sound you want to create
PLAY_INSTANT/PLAY_FOREVER "PLAY_INSTANT" means the sound is played once and "PLAY_FOREVER" means the sound will loop.

This command goes before LEVELSTART

Example

If you want to create the repeating sound of a waterfall on 121, 56, 4, the command will look like this:

SOUND waterfall = ( 121.5 , 56.5 , 4.0 ) WATERFALL PLAY_FOREVER

Sound codes

Geluid Code
Nothing WIND
Music with strong beat NIGHT_CLUB
Music with strong beat BAR
Industrial hum GENERATOR_RUMBLE
Work shop WORKSHOP
Church organ CHURCH_SINGING
Krishna mantra TEMPLE_CHANT
Industrial hum INDUSTRIAL_HIGH
various ped screams HUMAN_ABATTOIR
Various crazy laughs FUNNY_FARM
Bank alarm BANK_ALARM
Industrial hum INDUSTRIAL_LOW
Bubbling water with sigh. PORTA_LOO
Streaming water WATERFALL
Cricket chirp CRICKETS
Nothing PRISON
Psison alarm PRISON_ALARM
Gang shouting "Let us out!" GANG_DUMPED
Various laughs SMUG_LAUGH
Nothing PRISON_YARD
Riot PRISON_RIOT
Gang shouting "Let us out!" GANG_LOCKED_IN_BUS
Nothing SHOPPING_MALL
Ticking clock CLOCK_TOWER
Yeehaa! (INSTANT only) YEEHA_BOMB
Bowling allay BOWLING_ALLAY
Nothing CROWD_NOISE
Industrial fan FAN_NOISE
Nothing GENERATOR_LOSE_POWER
Scream (INSTANT only) SCREAM
Ticking bomb BOMB_TICK
INSTANT only BOMB_TICK_SHIT
Nothing DETECTED_MUMBLE
Krishna chant (from GTA1) KRISHNA_CHANT
Crying (INSTANT only) CRYING
Clicking sound (INSTANT only) ROCKET_LAUNCH_FAIL_CLICK
Cray laugh (INSTANT only) ROCKET_FAIL_LAUGH
Poisened ped (INSTANT only) POISONED
Industrial hum POWER_PLANT
Muble MUMBLE
Music with saxophone JAZZ_CLUB
Music with gitar COUNTRY_CLUB
Mumble with ticking sound BAR_2
Music with deep bass STRIP_CLUB
Krishna chant TEMPLE_2
Opening garage GARAGE_OPEN
Closing garage GARAGE_CLOSE
People screaming "Let us out!" LET_ME_OUT
bubbling water VAT
Industrial hum PYLON
Nothing SKID
Modding tutorials of Grand Theft Auto 2
Mapping Map Editor · Buildings · Roads · Water & animations · Slopes · Flat tiles · Collision info · Level edge · Zones · Putting a level ingame
Scripting Declarering: Main script · Script Compiler · Code lists · Commands · Vehicles · Objects · Sounds · Characters
Programming: IF · WHILE · COUNTERs · Subroutines · THREAD TRIGGERs · Kill Frenzies
Both Manual · Lighting · Car shops · Cranes & crushers · Gangs · Subway · Multiplayer levels
File types .gci · .gmp · .gxt · .mis · .mmp · .scr · .seq · .tmp · .sty
Other Texting · Physics · Creating vehicles · Terminology · Installing levels