Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
Junior_Djjr

How to mute car engine audio?

Recommended Posts

Junior_Djjr

So did you already find how to modify speed of vehicle sounds?

speed of sound? i think you got it wrong, i said "make to change the speed and sound of engine" :p

 

And about objects - you can attach them to car in way like extras are attached - create a copy of needed model as atomic and add it to vehicle clump. For me it is the best solution here,

interesting, tell more about this

i'm creating the "BMS Sound Shop" all with objects attachs, and some objects "moving-attaching"

Share this post


Link to post
Share on other sites
Wesser

I believe I found out what makes the vehicle's sound not being syncronized with the gear change. The issue lies onto those functions (possibly 0x006D0460, 0x006D0530 and 0x006D05E0) of CVehicle which increase and/or decrease m_iGear (CVehicle + 0x04B4). They do not reckon with the fourth (unordered) state of ?m_cEngineState (CVechileData + 0xA9). The first gear should be engaged only when the third state is set (on the basis of the engine sound).

 

Regarding the clump attaching, you can follow this script.

 

//Edit: Seemingly, RPM are at CVehicleData + 0x0148.

Edited by Wesser

Share this post


Link to post
Share on other sites
Junior_Djjr
RPM = CVehicleData + 0x0148

PERFECT! EXACTLY! :B

i will start the tests...

 

about attaching... how so? how "create a copy of model as atomic"? and then, how to use this "atomic"?

 

edit: omg........... when i mute the car audio the rpm don't change...........

this "rpm" is a value from engine audio?... i mute the audio then don't returns value

Edited by Junior_Djjr

Share this post


Link to post
Share on other sites
Junior_Djjr

ok with tests i see

thats is it, the "rpm" is from the state of sound engine, works in total time of audio, for example, i'm put the sound of bmx in elegy and then the elegy starts to change the gear more fast (when you can see in the suspension and sound) ..and the "rpm" is 0-5000, where the original sound of elegy is from 0-17000

 

really, now i'm need to get the total time of audio and search a way to make the car no audio and with "rpm", where the "rpm" is from state of audio (wtf? how? lol)

 

NEW ENGINE AUDIO SYSTEM CANCELED...

this is a sh*t, if any other people can try, tips: use the .wav audio to don't bug the loop of sounds, and use audio with separates rpms (i'm using the audio converted from forza) ...then only check the rpm and play/stops the audiostreams

 

anyway, thanks very much, i will use the "rpm" to create a turbo audio (no problems here :p )

 

 

...now, tell more about this "atomics" and "clump attaching"

Share this post


Link to post
Share on other sites
DK22Pac

@Wesser

 

0x6D0460 void cTransmission::InitGearRatios(void)0x6D0530 void cTransmission::CalculateGearForSimpleCar(float velocity, unsigned __int8 *pCurrrentGear) // NPC0x6D05E0 float cTransmission::CalculateDriveAcceleration(float *pGasPedal, unsigned __int8 *pCurrentGear, float *pGearChangeCount, float *pSpeed, float *unk1, float *unk2, bool onGround, char handlingType) // player
field_148 must be WORD, right?

 

00000000 cVehicleAudio   struc ; (sizeof=0x24C)00000000 .               CDummyAudio ?0000007C field_7C        dw ?0000007E                 db ? ; undefined0000007F                 db ? ; undefined00000080 m_properties    VehicleAudioProperties ?000000A4 m_bEnabled      db ?000000A5 m_bPlayerDriver db ?000000A6 m_bPlayerPassenger db ?000000A7 m_bVehicleRadioPaused db ?000000A8 m_bSoundsStopped db ?000000A9 m_nEngineState  db ?000000AA field_AA        db ?000000AB                 db ? ; undefined000000AC field_AC        dd ?000000B0 UnkModelFlag    db ?                    ; 1000000B1                 db ? ; undefined000000B2 m_wRainDropCounter dw ?                 ; if () > 3 () = 0000000B4 field_B4        dw ?000000B6                 db ? ; undefined000000B7                 db ? ; undefined000000B8 field_B8        dd ?000000BC field_BC        db ?000000BD m_bDisableHeliEngineSounds db ?000000BE field_BE        db ?000000BF m_bSirenOrAlarmPlaying db ?000000C0 m_bHornPlaying  db ?000000C1                 db ? ; undefined000000C2                 db ? ; undefined000000C3                 db ? ; undefined000000C4 m_fSirenVolume  dd ?                    ; -100.0000000C8 m_bModelWithSiren db ?000000C9                 db ? ; undefined000000CA                 db ? ; undefined000000CB                 db ? ; undefined000000CC m_dwBoatHitWaveLastPlayedTime dd ?000000D0 field_D0        dd ?000000D4 field_D4        dd ?000000D8 m_fGeneralVehicleSoundVolume dd ?000000DC m_wEngineDecelerateSoundBankId dw ?000000DE m_wEngineAccelerateSoundBankId dw ?000000E0 m_nEngineBankSlotId dw ?000000E2 field_E2        dw ?000000E4 m_aVehicleSounds CVehicleSound 12 dup(?)00000144 field_144       dd ?00000148 field_148       dw ?0000014A field_14A       dw ?0000014C field_14C       dw ?0000014E field_14E       dw ?00000150 field_150       dd ?00000154 field_154       dw ?00000156 field_156       dw ?00000158 field_158       dd ?                    ; offset0000015C m_wRoadNoiseSoundType dw ?0000015E _pad0           db 2 dup(?)00000160 m_pRoadNoiseSound dd ?                  ; offset00000164 m_wFlatWheelSoundType dw ?00000166 _pad1           db 2 dup(?)00000168 m_pFlatWheelSound dd ?                  ; offset0000016C field_16C       dw ?0000016E                 db ? ; undefined0000016F                 db ? ; undefined00000170 field_170       dd ?                    ; offset00000174                 db ? ; undefined00000175                 db ? ; undefined00000176                 db ? ; undefined00000177                 db ? ; undefined00000178 m_pHornTonSound dd ?                    ; offset0000017C m_pSirenSound   dd ?                    ; offset00000180 m_pPoliceSirenSound dd ?                ; offset00000184 m_skiddingSoundMgr cVehicleSkiddingSoundMgr ?0000022C field_22C       dd ?                    ; -1.000000230 field_230       dd ?                    ; -100.000000234 field_234       dd ?                    ; -1.000000238 field_238       dd ?0000023C field_23C       dd ?                    ; 1.000000240 field_240       dd ?00000244 m_bNitroSoundPresent db ?00000245 field_245       db 3 dup(?)00000248 field_248       dd ?                    ; -1.00000024C cVehicleAudio   ends

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 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.