Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Adding New Audio Zone (auzo) = Weapon Aiming Bug


Midnightz
 Share

Recommended Posts

Regarding GTA San Andreas on PC:

 

Whenever I add an audio zone, CJ is unable to aim his weapons. If I remove the audio zone, the bug disappears. Somehow adding a new audio zone breaks a game limit or gets mixed up with something else...?

 

 

auzoNEWMAP, 58, 1, 2924.1, -2927.7, 1.0, 22.0end

 

 

It doesn't matter what name I give the new zone or the number of characters used (less than 8), or if I add it to a new IPL file or use the existing Audiozon.ipl file. The coordinates used or the track used doesn't seem to matter either.

 

I have tried using both known methods of adding an auzo to IPL. Type 1 works without the weapon bug but Type 2 triggers the bug. I have also tried disabling it and enabling it only through scripting too. The bug persists.

 

The only noticeable bug is the weapon aiming problem, everything works perfectly otherwise. Does anyone know why this is happening? Is there some other file I need to edit to prevent this or define the new zone?

 

Thanks in advance,

-Midnightz

Edited by Midnightz
Link to comment
Share on other sites

Hey,

 

I don't know solution for your bug, I mean, it's reasonable to have bugs like that. That's like placing cars or peds in main.scm on a dynamic object (they will fall down through it), eg. the black block with yellow borders, its name is with DYN_CARRIER_SFS or something like that.

Sorry, idk.

 

Btw, do you have a link to tut, or is there a tut about audio zones? I would like to know how to do that. Thanks. smile.gif

Link to comment
Share on other sites

You're talking about mission scripting. I'm talking about mapping. biggrin.gif

 

"How-To Tutorial" can be found in THIS topic or on the gta wiki. If you do this, stick with the "Type 1" method to prevent the weapon aiming bug. wink.gif

Link to comment
Share on other sites

No, I was talking about mapping too, I have only said that this bug isn't strange in situations like this. Also, on the CARRIER_SFS, you can't place a satchel or fire a bazooka! I know exactly what you mean, I'm only connecting my situations with yours.

 

Thanks for the tut!

Link to comment
Share on other sites

Err, adding code within the main.scm is mission scripting. I'm a little confused as to your object problem... Some map objects interact oddly with the player or peds. For example, I made a map that placed a solid object (unbreakable fence) as the ground and when CJ landed on it, he'd fall through. I tried another object (breakable glass), and he stopped falling through. You would think the fence would have stopped him, not the glass. lol.gif I read somewhere that in-game, CJ can push through most solid surfaces or walls. Some map objects have unrelated audio events associated with them too. I keep hearing gunfire where I shouldn't, lol. GTASA is both the weirdest and most fun game to mod, I think. biggrin.gif

Link to comment
Share on other sites

  • 6 months later...

I worked again on Audiozon.ipl

 

The bug occurs if i create a 4. audiozone of Type 2

 

 

Type 1:

CODE

Name, ID, Switch, X1, Y1, Z1, X2, Y2, Z2

 

Name - Name of the zone

ID - Sound played in this zone

Switch - Makes it always on or always off. Can be forced using the main.scm

EX: OTB, 24, 1, 817.121, -2.78276, 1001.62, 838.373, 12.6744, 1009.04

 

Type 2:

CODE

Name, ID, Switch, X, Y, Z, Volume

 

Name - Name of the zone

ID - Sound played in this zone

Switch - Makes it always on or always off. Can be forced using the main.scm

Volume - The distance the sound will be heard

EX: LOWRIDE, 13, 0, 1792.2, -1921.04, 12.3925, 75

 

i can create a new audiozone of Type 2 if i delete an existing audiozone of Type 2

then it works bugfree

Link to comment
Share on other sites

I guess that means adding (not replacing) a new line breaks a game limit. rolleyes.gif

 

Thanks ZAZ, I appreciate the info. cookie.gif

Link to comment
Share on other sites

 

I guess that means adding (not replacing) a new line breaks a game limit.  rolleyes.gif

 

 

Just for the Type 2 zone.

Seems to be an extra programm block for this method

the audiotracks for the missons "Beachmusic", "Lowrider" and AWARDS (Movie Star Kidappig) are working only for Type 2 zones

they do fadings then, in/out when leave/enter the zone, which needs distance calculation from a point

the other audiotracks won't do fadings

 

Modyfing Type 1 zones worked fine as well as creating new ones

i always used the smaller x,yz, values for the first 3 coord params

the Game changes autom. to radio when player drives car but plays auzo music when radio is switcht off

 

the audios are working with loudness suppression to have the effect of background sound

Stadium event bkgd medley was the loudest

GTASA\AUDIO\Streams includes *.ogg files for RADIO-music in vehicle

BEAT and AMBIENCE for interiors, some missions and for cutscene, can be played with script

 

 

67  Ambience track 37  Unused bkgd medley    ---------Rock loudness : ++41  Ambience track 35  Stadium event bkgd medley------Rock loudness : +++52  Radio stream CH  Playback FM                  ------ loudness : +54  Radio stream CR  KDST                     ------Rock loudness : +34  Ambience track 28  Pleasure Domes bkgd medley-----Beat loudness : ++17  Ambience track 12  Casino bkgd medley         casinoPop loudness: ++66  Ambience track 36  Strip Club bkgd medley      ---Disco loudness: ++28  Ambience track 13  Dance Club bkgd medley      ---Disco loudness: ++29  Ambience track 13  Dance Club bkgd medley      ---Disco loudness: ++28, 29 is same audiotrack34  Ambience track 28  Pleasure Domes bkgd medley  ---Beat loudness : ++30  Favorite Radio Station  Stream or User Tracks Player -- loudness +5*  Ambience track 6  Beach party bkgd song              * - Type two only10*  Ambience track 5  Awards ceremony music          * - Type two only13*  Ambience track 23  Low Rider Challenge bkgd song  * - Type two only37  Ambience track 10  20-second-Loop Muzak-type bkgd heard in unused diner interiors5*  Ambience track 6  Beach party bkgd song   - Type two only5-min.-Rocksong in endless-loop13*  Ambience track 23  Low Rider Challenge bkgd song - Type two only5-min.-HipHopsong in endless-loop10*  Ambience track 5  Awards ceremony music - Type two only30-sec.-song in endless-loop

 

 

 

[sA|DOC] IPL Definitions

There are a whole lots new categories Rockstar made for the IPLs in San Andreas

 

Auzo

Creates an audio if you enter the zone.

 

Type 1:

Name, ID, Switch, X1, Y1, Z1, X2, Y2, Z2

 

Name - Name of the zone

ID - Sound played in this zone

Switch - Makes it always on or always off. Can be forced using the main.scm

EX: OTB, 24, 1, 817.121, -2.78276, 1001.62, 838.373, 12.6744, 1009.04

 

Type 2:

Name, ID, Switch, X, Y, Z, Volume

 

Name - Name of the zone

ID - Sound played in this zone

Switch - Makes it always on or always off. Can be forced using the main.scm

Volume - The distance the sound will be heard

EX: LOWRIDE, 13, 0, 1792.2, -1921.04, 12.3925, 75

 

List of IDs by pdescobar

 

AUZO ID What sound it plays Description of sound in the unmodified audio streams
4** Ambience track 9 St Mark's violin music
5* Ambience track 6 Beach party bkgd song
8 Ambience track 31 Unused loud hum
10* Ambience track 5 Awards ceremony music
12 Ambience track 34 Loud hum heard on ships
13* Ambience track 23 Low Rider Challenge bkgd song
15 Ambience track 30 Static sound heard on military bases
17 Ambience track 12 Casino bkgd medley
19 Ambience track 4 Quiet hum heard in Area 69
20 Ambience track 2 Fan-like clicking heard in Abattoir
21 Ambience track 1 Quiet hum heard in 24-7s
23 Ambience track 14 Loud hum heard in Dam interior
24 Ambience track 25 Racing sounds heard in ITB lobby
25 Ambience track 24 Quiet hum heard in Planning Dept
26 Ambience track 20 Quiet hum heard in safe houses
28 Ambience track 13 Dance Club bkgd medley
29 Ambience track 13 Dance Club bkgd medley
30 Favorite Radio Station Stream or User Tracks Player
34 Ambience track 28 Pleasure Domes bkgd medley
36 Ambience track 21 Loud hum heard in Jet interior
37 Ambience track 10 Muzak-type bkgd heard in unused diner interiors
39 Ambience track 29 Quiet hum heard in police stations
41 Ambience track 35 Stadium event bkgd medley
44 Ambience track 18 Fast Food Joint bkgd sounds
48 Ambience track 3 Ammunation PA loop
50 Ambience track 39 Quiet hum heard in warehouses
51 Ambience track 22 Very loud hum heard in cargo plane?
52 Radio stream CH Playback FM
53 Radio stream CO K-ROSE
54 Radio stream CR KDST
55 Radio stream DS Bounce FM
56 Radio stream HC SFUR
57 Radio stream MH Radio Los Santos
58 Radio stream MR Radio X
59 Radio stream NJ CSR
60 Radio stream RE K-JAH West
61 Radio stream RG MasterSounds
62 Radio stream TK WCTR
64 Ambience track 17 Unused quiet hum
66 Ambience track 36 Strip Club bkgd medley
67 Ambience track 37 Unused bkgd medley
Notes: Any ID value from 0-70 inclusive not listed above generated no background sound in my tests.

* - Type two only

** - Disabled by default, can be reenabled

 

 

 

Edited by ZAZ
Link to comment
Share on other sites

  • 8 years later...
18 hours ago, Cleoude said:

Is it possible to make your favorite radio station as a user track player automatically?

Your question doesn't belongs to the topic theme about Audio Zone, right?

 

So you wanna set the user track player as favorite radio in car?

Link to comment
Share on other sites

14 hours ago, ZAZ said:

Your question doesn't belongs to the topic theme about Audio Zone, right?

 

So you wanna set the user track player as favorite radio in car?

No, I made this mod with adding audio zones. I would add user track player to it. So, I asked that question. It is relevant to the audiozones. I used id 30 for Favorite radio station. So is it possible to always make the id 30 as a user track player or rip?

Link to comment
Share on other sites

try 30

Auzo
Creates an audio if you enter the zone.

Type 1:
CODE
Name, ID, Switch, X1, Y1, Z1, X2, Y2, Z2

Name - Name of the zone
ID - Sound played in this zone
Switch - Makes it always on or always off. Can be forced using the main.scm
EX: OTB, 24, 1, 817.121, -2.78276, 1001.62, 838.373, 12.6744, 1009.04

Type 2:
CODE
Name, ID, Switch, X, Y, Z, Volume

Name - Name of the zone
ID - Sound played in this zone
Switch - Makes it always on or always off. Can be forced using the main.scm
Volume - The distance the sound will be heard
EX: LOWRIDE, 13, 0, 1792.2, -1921.04, 12.3925, 75
List of IDs by pdescobar
AUZO ID 	What sound it plays 	Description of sound in the unmodified audio streams
4** 	Ambience track 9 	St Mark's violin music
5* 	Ambience track 6 	Beach party bkgd song
8 	Ambience track 31 	Unused loud hum
10* 	Ambience track 5 	Awards ceremony music
12 	Ambience track 34 	Loud hum heard on ships
13* 	Ambience track 23 	Low Rider Challenge bkgd song
15 	Ambience track 30 	Static sound heard on military bases
17 	Ambience track 12 	Casino bkgd medley
19 	Ambience track 4 	Quiet hum heard in Area 69
20 	Ambience track 2 	Fan-like clicking heard in Abattoir
21 	Ambience track 1 	Quiet hum heard in 24-7s
23 	Ambience track 14 	Loud hum heard in Dam interior
24 	Ambience track 25 	Racing sounds heard in ITB lobby
25 	Ambience track 24 	Quiet hum heard in Planning Dept
26 	Ambience track 20 	Quiet hum heard in safe houses
28 	Ambience track 13 	Dance Club bkgd medley
29 	Ambience track 13 	Dance Club bkgd medley
30 	Favorite Radio Station 	Stream or User Tracks Player
34 	Ambience track 28 	Pleasure Domes bkgd medley
36 	Ambience track 21 	Loud hum heard in Jet interior
37 	Ambience track 10 	Muzak-type bkgd heard in unused diner interiors
39 	Ambience track 29 	Quiet hum heard in police stations
41 	Ambience track 35 	Stadium event bkgd medley
44 	Ambience track 18 	Fast Food Joint bkgd sounds
48 	Ambience track 3 	Ammunation PA loop
50 	Ambience track 39 	Quiet hum heard in warehouses
51 	Ambience track 22 	Very loud hum heard in cargo plane?
52 	Radio stream CH 	Playback FM
53 	Radio stream CO 	K-ROSE
54 	Radio stream CR 	KDST
55 	Radio stream DS 	Bounce FM
56 	Radio stream HC 	SFUR
57 	Radio stream MH 	Radio Los Santos
58 	Radio stream MR 	Radio X
59 	Radio stream NJ 	CSR
60 	Radio stream RE 	K-JAH West
61 	Radio stream RG 	MasterSounds
62 	Radio stream TK 	WCTR
64 	Ambience track 17 	Unused quiet hum
66 	Ambience track 36 	Strip Club bkgd medley
67 	Ambience track 37 	Unused bkgd medley
Notes: Any ID value from 0-70 inclusive not listed above generated no background sound in my tests.
* - Type two only
** - Disabled by default, can be reenabled

 

Link to comment
Share on other sites

USER, 30, 0, 2487.84, -1714.16, 1012.13, 2504.68, -1686.43, 1022.13

Already tried... If most favorite station isn't user track player, plays other radios.

STAT_MOST_FAVORITE_RADIO_STATION  = 326

But I couldn't change the value.

I tried change float/integer stat opcodes too..

 

Edited by Cleoude
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.