Log in to reply
 

MUSIC EVENTS



  • Was looking at the GTA scripts for some music events i wanted to use in my scripts and figured i might as well post them here in case someone else wanted to use them. These are used with the TRIGGER_MUSIC_EVENT native function.

    Business battle music events:
    "BTL_IDLE_START"
    "BTL_MED_INTENSITY_START";
    "BTL_GUNFIGHT_START";
    "BTL_SUSPENSE";
    "BTL_MED_INTENSITY";
    "BTL_DELIVERING";
    "BTL_GUNFIGHT";
    "BTL_VEHICLE_ACTION";
    "BTL_DELIVERING_START";
    "BTL_MUSIC_STOP";
    "BTL_FAIL";
    "IE_COUNTDOWN_30S_KILL"
    "FM_COUNTDOWN_30S_KILL"
    "FM_COUNTDOWN_30S_FIRA"

    Survivals music events:
    "MP_SM_STOP_TRACK"
    "MP_MC_STOP"
    "SM_CS_W1_START_ALL"
    "SM_W1_START_ALL"
    "SM_CS_W{1 <= intensity <= 10}_START"
    "SM_W{1 <= intensity <= 10}_START"
    "SM_CS_W{1 <= intensity <= 10}_MED"
    "SM_W{1 <= intensity <= 10}_MED"
    "SM_CS_W{1 <= intensity <= 10}_HIGH"
    "SM_W{1 <= intensity <= 10}_HIGH"
    "SM_W{1 <= intensity <= 10}_END"
    "MP_SM_CS_STOP_TRACK"



  • @JustDancePC thanks for posting them. You can find the complete list, unfortunately without categories, here:

    https://pastebin.com/RzDFmB1W

    and

    https://pastebin.com/GnYt0R3P



  • More music events. These are used in the MC contracts

    STAND YOUR GROUND:
    "BIKER_SYG_START"
    "BIKER_SYG_ATTACKED"
    "BIKER_SYG_CALM"
    "BIKER_SYG_START_ATTACKER"
    "BIKER_MP_MUSIC_STOP"
    "BIKER_MP_MUSIC_FAIL"

    CONTRABAND DEFEND:
    ALL MODES:
    "BIKER_MP_MUSIC_STOP"
    "BIKER_MP_MUSIC_FAIL"

    POLICE RAID:
    "BIKER_DEFEND_POLICE_RAID_START"
    "BIKER_DEFEND_POLICE_RAID_FIGHT"
    "BIKER_DEFEND_POLICE_RAID_SWAT_VAN"
    "BIKER_DEFEND_POLICE_RAID_DELIVERING"
    "BIKER_DEFEND_POLICE_RAID_DELIVERING_TO_BASE"
    
    DEFEND SNITCH:
    "BIKER_DEFEND_SNITCH_START"
    "BIKER_DEFEND_SNITCH_FIGHT"
    "BIKER_DEFEND_SNITCH_DELIVERING"
    "BIKER_DEFEND_SNITCH_DELIVERING_2"
    
    GETAWAY:
    "BIKER_DEFEND_GETAWAY_START"
    "BIKER_DEFEND_GETAWAY_FIGHT"
    "BIKER_DEFEND_GETAWAY_DELIVERING"
    
    CRASH DEAL:
    "BIKER_DEFEND_CRASH_DEAL_START"
    "BIKER_DEFEND_CRASH_DEAL_FIGHT"
    "BIKER_DEFEND_CRASH_DEAL_DELIVERING"
    
    RETRIEVAL:
    "BIKER_DEFEND_RETRIEVAL_START"
    "BIKER_DEFEND_RETRIEVAL_FIGHT"
    "BIKER_DEFEND_RETRIEVAL_DELIVERING"
    
    WEED DEFEND:
    "WEED_DEFEND_SHOOTOUT_START"
    "WEED_DEFEND_SHOOTOUT_FIGHT"
    "WEED_DEFEND_SHOOTOUT_PREPARE"


  • @JustDancePC thank you very much for posting
    how did you find them? which files in openiv contain these infos?



  • @MaxLuk Someone uploaded the decompiled scripts to github, so i just look at the scripts there: https://github.com/Sainan/GTA-V-Decompiled-Scripts

    There you can open whatever script you wanna look at, and if you're looking for music events just use the browser search function (CTRL + F) and look for TRIGGER_MUSIC_EVENT.

    The ones i have posted so far i found them in fm_survival_controller.c and the bikers was a collection of all the names found between all the scripts with the name gb_biker



  • Music events from the Hunt The Beast Freemode event in GTA Online:
    "BST_START"
    "BST_STOP"

    Unlike other music events, it's always the same song or beat, whatever you wanna call it. And it's kind of a low intensity beat. You can call the music event "FIN1_SHOOTOUT_4" to increase the intensity and use "BST_START" again to decrease it.

    Edit: these were already in the old pastebin with the music events... Well, i will leave this here just for the recommendation posted above



  • The new DLC has some great music events sounding in the missions, I haven't seen anyone decompile those scripts, so in the meantime, here are the music events used in the Tuners update auto shop jobs:

    TUNER_DELIVERING_START
    TUNER_SUSPENSE_START
    TUNER_SUSPENSE
    TUNER_VEHICLE_ACTION
    TUNER_MED_INTENSITY
    TUNER_GUNFIGHT
    TUNER_DELIVERING
    TUNER_IDLE
    TUNER_FAIL
    TUNER_MUSIC_STOP

    Also, if you ever use music events in your scripts you might notice that those events get cancelled (meaning the music stops) when you get a 3 star wanted level or use any kind of aircraft. To avoid that problem, you must cancel those music events:

    AUDIO::SET_AUDIO_FLAG("DisableFlightMusic", true)
    AUDIO::SET_AUDIO_FLAG("WantedMusicDisabled", true)



  • More music events from the DLCs. This time Casino, Cayo Perico and the latest one, The Contract.

    CASINO HEIST:

    "CH_IDLE_START"
    "CH_MED_INTENSITY_START"
    "CH_GUNFIGHT_START"
    "CH_SUSPENSE"
    "CH_MED_INTENSITY"
    "CH_DELIVERING"
    "CH_GUNFIGHT"
    "CH_VEHICLE_ACTION"
    "CH_DELIVERING_START"
    "CH_IDLE"
    "CH_SILENT"
    "CH_MUSIC_STOP"
    "CH_FAIL"
    "CH_STAFF_PROBLEMS_CROUPIER_CHASE_START"

    CASINO PREP MISSIONS:

    "H3_CELEB_3_START"
    "H3_CELEB_3_DESTROY"
    "H3_CELEB_3_WANTED"
    "H3_CELEB_3_WANTED_LOST"

    CASINO YUNG ANCESTORS PREP:
    Note: These are used in the second Yung ancestors mission when you take the dead prostitute to the altruists

    "H3_CELEB_2_START"
    "H3_CELEB_2_ALTRUIST_STOP"
    "H3_CELEB_2_ALTRUIST"

    CASINO?:
    Note: These are in the scripts related to the casino, I'm not really sure where exactly they are used... Ms Baker missions maybe?.

    Note 2: These music events start a slightly different version of the music used in business battle

    "VWC_STAFF_PROBLEMS_CROUPIER_CHASE_START"
    "VWC_DELIVERING_START"
    "VWC_IDLE_START"
    "VWC_MED_INTENSITY_START"
    "VWC_GUNFIGHT_START"
    "VWC_VEHICLE_ACTION"
    "VWC_SUSPENSE"
    "VWC_IDLE"
    "VWC_MED_INTENSITY"
    "VWC_DELIVERING"
    "VWC_GUNFIGHT"
    "VWC_MUSIC_STOP"
    "VWC_FAIL"

    CAYO PERICO:

    "HEI4_IDLE_START"
    "HEI4_SUSPENSE_START"
    "HEI4_DELIVERING_START"
    "HEI4_GUNFIGHT"
    "HEI4_IDLE"
    "HEI4_SUSPENSE"
    "HEI4_VEHICLE_ACTION"
    "HEI4_MED_INTENSITY"
    "HEI4_FAIL"
    "HEI4_MUSIC_STOP"

    THE CONTRACT:

    "FIXER_IDLE_START"
    "FIXER_MED_INTENSITY_START"
    "FIXER_SUSPENSE_START"
    "FIXER_DELIVERING_START"
    "FIXER_VEHICLE_ACTION"
    "FIXER_MED_INTENSITY"
    "FIXER_DELIVERING"
    "FIXER_GUNFIGHT"
    "FIXER_IDLE"
    "FIXER_SUSPENSE"
    "FIXER_FAIL"
    "FIXER_MUSIC_STOP"



  • Does anyone know original heists trigger music events? Thanks!


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.