ItsClonkAndre Posted April 1, 2021 Share Posted April 1, 2021 (edited) Death Music IV Death Music IV is a simple mod where when you die, a random music track will be played. There are 6 default death musics included, these 6 are the original ones from GTA IV. ScriptHookDotNet needed! Download Version 1.4 GTAinside: https://www.gtainside.com/gta4/mods/162559-death-music-iv/ GitHub: https://github.com/ClonkAndre/DeathMusicIV Videos Custom Music You can add you own music as well! Just drag & drop any of your .mp3 or .wav file into the DeathMusicIV folder and your music is now implemented! Episode Specific Music You can also add the following prefixes to the beginning of your music filename: gtaiv_*, tbogt_* and tlad_* if you play for example The Lost And Damned, only the files with tlad_ at the beginning will be played. The same applies for GTAIV and TBOGT. If you dont give your file a prefix, then this file is going to be a general file. General files are being played when there are no files with a prefix for the specific episode. * : Any filename. Little Example: Death_1.mp3 - Death_6.mp3 are general files because they have no prefix and can be played in every episode if there are no soundtracks for the specific episode. gtaiv_Death_1.mp3 would be a soundtrack specifically for GTA IV. tlad_Death_1.mp3 would be a soundtrack specifically for The Lost And Damned. tbogt_Death_1.mp3 would be a soundtrack specifically for The Ballad Of Gay Tony. LH_Death_1.mp3 would be a low health specific soundtrack. Ini File Explanation RndSeed : Seed for randomized number generator. Please only enter numbers. Leave blank for random seed. (Default: empty) FadeOut : Fades the music out when you respawn. (Default: true) FadeIn : Fades the music in when you die or are on low health (see: PlayWhenNearDeath). (Default: true) FadingSpeed : How fast the music should fade in milliseconds. Please only enter numbers. (Default: 3000) PlayWhenNearDeath : Music will play if you are NEAR death (low health). (Default: false) Bugged NearDeathHealth : At wich health level should the music start? (Default: 15) Volume : The volume of the music. (Default: 20) Version History 1.4 (Bugfix release) Bugfix 1.3 Added to ability to add low health specific soundtracks with the prefix: LH_ 1.2 Added the option to play death music on low health. 1.1 Added the ability to add episode specific music files. 1.0 Release. Edited September 28, 2022 by ItsClonkAndre Updated to version 1.4 Blackbird88, NightmanCometh96, batmanrules17 and 8 others 11 Link to comment Share on other sites More sharing options...
Th3W0r53 Posted April 10, 2021 Share Posted April 10, 2021 I like this. This unused Death Music was Restored Link to comment Share on other sites More sharing options...
Lukakion Posted May 6, 2021 Share Posted May 6, 2021 (edited) Very good Edited May 6, 2021 by Lukakion Link to comment Share on other sites More sharing options...
zakie233 Posted May 28, 2021 Share Posted May 28, 2021 hello. so I'm trying to add the pause theme of tbogt for the death music in gta iv tbogt but when i rename the mp3 files tlad_Death_1.mp3 tlad_Death_2.mp3 tlad_Death_3.mp3 it says in game script death iv error... i really need help and i just want death music for tbogt... any help will be appreciated. thanks. Link to comment Share on other sites More sharing options...
ItsClonkAndre Posted May 28, 2021 Author Share Posted May 28, 2021 1 hour ago, zakie233 said: hello. so I'm trying to add the pause theme of tbogt for the death music in gta iv tbogt but when i rename the mp3 files tlad_Death_1.mp3 tlad_Death_2.mp3 tlad_Death_3.mp3 it says in game script death iv error... i really need help and i just want death music for tbogt... any help will be appreciated. thanks. Can you tell me what the errors says? The error is logged in the console. You can open the console with the key: ` (Or ~) Link to comment Share on other sites More sharing options...
zakie233 Posted May 29, 2021 Share Posted May 29, 2021 On 5/28/2021 at 5:45 PM, ItsClonkAndre said: Can you tell me what the errors says? The error is logged in the console. You can open the console with the key: ` (Or ~) "Error in script "deathIV".... and yes I did press the ~ key and reloaded the script but it said the same thing again Link to comment Share on other sites More sharing options...
ItsClonkAndre Posted May 29, 2021 Author Share Posted May 29, 2021 5 minutes ago, zakie233 said: "Error in script "deathIV".... This cant be the full error. I need the full error zakie233 1 Link to comment Share on other sites More sharing options...
zakie233 Posted May 29, 2021 Share Posted May 29, 2021 23 minutes ago, ItsClonkAndre said: This cant be the full error. I need the full error ok let me check 25 minutes ago, ItsClonkAndre said: This cant be the full error. I need the full error it says "deathmusiciv.main" Link to comment Share on other sites More sharing options...
ItsClonkAndre Posted May 30, 2021 Author Share Posted May 30, 2021 1 hour ago, zakie233 said: "deathmusiciv.main" That's still not the full error. Just send me a picture or something from the Console here or on discord. My Discord ID: ItsClonkAndre#3088 zakie233 1 Link to comment Share on other sites More sharing options...
zakie233 Posted May 30, 2021 Share Posted May 30, 2021 31 minutes ago, ItsClonkAndre said: That's still not the full error. Just send me a picture or something from the Console here or on discord. My Discord ID: ItsClonkAndre#3088 ok will do Link to comment Share on other sites More sharing options...
zakie233 Posted June 2, 2021 Share Posted June 2, 2021 On 5/29/2021 at 8:50 PM, ItsClonkAndre said: That's still not the full error. Just send me a picture or something from the Console here or on discord. My Discord ID: ItsClonkAndre#3088 hello clonk. i just sent you a friend request on discord... my username on there is zakie 233 Link to comment Share on other sites More sharing options...
Eldrenix Posted June 13, 2021 Share Posted June 13, 2021 (edited) Nice mod. Edited June 13, 2021 by Eldrenix e Link to comment Share on other sites More sharing options...
Ellie-H Posted August 17, 2021 Share Posted August 17, 2021 I have a problem, I downloaded the Episode specific music pack that you linked in a youtube comment but when I activate the PlayWhenNearDeath=true the music never plays in any ocasion Link to comment Share on other sites More sharing options...
MariasFido Posted January 19, 2022 Share Posted January 19, 2022 On 5/30/2021 at 6:50 AM, ItsClonkAndre said: That's still not the full error. Just send me a picture or something from the Console here or on discord. My Discord ID: ItsClonkAndre#3088 Hey man I am having the same problem like him can you help me too? Link to comment Share on other sites More sharing options...
ult1matum Posted November 22, 2022 Share Posted November 22, 2022 I installed the mod and SH.net from the link from your github and mod doesn't work, no errors or crashes just nothing changed in game. I use downgraded 1080. I tried your mod on CE and it works there... Any reason there can be issues with 1080? Link to comment Share on other sites More sharing options...
AnythingGoner Posted December 22, 2022 Share Posted December 22, 2022 (edited) I don't get why they removed this feature, maybe it made the game too dark then it already is? Edited June 24, 2023 by DubiousThiny Eugene Carbide and Ivan1997GTA 2 Link to comment Share on other sites More sharing options...
Bonzi Posted April 1, 2023 Share Posted April 1, 2023 cool mod man but tlad and tbogt freezes after playing for a bit. it all gets fixed after i delete bass and bassnet.dll . any solution? Link to comment Share on other sites More sharing options...
NexgeensIV Posted June 24, 2023 Share Posted June 24, 2023 it says "Error in script "deathIV" Link to comment Share on other sites More sharing options...
NexgeensIV Posted June 24, 2023 Share Posted June 24, 2023 it worked really good, but when i try to change the volume nothing happens Link to comment Share on other sites More sharing options...
AngryMeatPie Posted November 12, 2023 Share Posted November 12, 2023 (edited) Overall good idea and it all works fine, but crashes after playing for a while. What could be the issue? Crash dump: Unhandled exception at 0x01347C24 in GTAIV.exe (+0x7e7c24): 0xC0000005: Access violation writing location 0x00000000. Register dump: EAX: 0x00000000 EBX: 0x00000000 ECX: 0x00000000 EDX: 0x00000000 EDI: 0x0CF93330 ESI: 0x0168B5F0 EBP: 0x0168B5F0 EIP: 0x01347C24 ESP: 0x0275ED44 EFL: 0x00010206 CS: 0x00000023 SS: 0x0000002B GS: 0x0000002B FS: 0x00000053 ES: 0x0000002B DS: 0x0000002B ST00: 0x00000000 0x00000000 0x00008000 0x00000000 [ 0.000000 0.000000 0.000000 0.000000 ] ST01: 0x00000000 0xA0000000 0x00004002 0x38000000 [ 0.000000 -0.000000 0.000000 0.000031 ] ST02: 0x00000000 0xDE4C3800 0x00004002 0x04000000 [ 0.000000 -3678877945608273920.000000 0.000000 0.000000 ] ST03: 0x00000000 0xCC0B0400 0x00004008 0x24000000 [ 0.000000 -36442112.000000 0.000000 0.000000 ] ST04: 0x00000000 0xFD592400 0x0000C006 0x00000000 [ 0.000000 -18039337360764624888422076871792918528.000000 0.000000 0.000000 ] ST05: 0x00000000 0xC0000000 0x0000400A 0xC7000000 [ 0.000000 -2.000000 0.000000 -32768.000000 ] ST06: 0x00000000 0xFA29C700 0x00003FFE 0xCD000000 [ 0.000000 -220383592150878137909004845661028352.000000 0.000000 -134217728.000000 ] ST07: 0x00000000 0xCDCDCD00 0x0000C01B 0x002B0000 [ 0.000000 -431595520.000000 0.000000 0.000000 ] XMM00: 0xBBF66580 0x00000000 0x00000000 0x00000000 [ -0.007519 0.000000 0.000000 0.000000 ] XMM01: 0x00000000 0x00000000 0x00000000 0x00000000 [ 0.000000 0.000000 0.000000 0.000000 ] XMM02: 0x00000000 0x00000000 0x00000000 0x00000000 [ 0.000000 0.000000 0.000000 0.000000 ] XMM03: 0x410C4B54 0x00000000 0x00000000 0x00000000 [ 8.768391 0.000000 0.000000 0.000000 ] XMM04: 0x3C472000 0x00000000 0x00000000 0x00000000 [ 0.012154 0.000000 0.000000 0.000000 ] XMM05: 0x00000000 0x00000000 0x00000000 0x00000000 [ 0.000000 0.000000 0.000000 0.000000 ] XMM06: 0x3F3178E4 0x00000000 0x00000000 0x00000000 [ 0.693251 0.000000 0.000000 0.000000 ] XMM07: 0x3F000000 0x00000000 0x00000000 0x00000000 [ 0.500000 0.000000 0.000000 0.000000 ] Stack dump: 0x0275ED44: 0CF93330 0CF93330 00000000 0DBD1B48 1A078A70 0000000D 0x0275ED5C: 0D753350 1A078040 0134A9A0 0168B5F0 00000000 0DBD1B48 0x0275ED74: 0CF93330 0275F440 0A6D7A64 0275EDCC 1A078040 00000003 0x0275ED8C: 00000000 00000001 00DA195C 1A078040 1A0760F0 0CF93330 0x0275EDA4: 000000D3 010EF2A9 1A078040 0DBD1B48 0CF93330 0A6D7A64 0x0275EDBC: 0CF93330 75E3BF00 010E997E 0275EDEC 0275F440 02753987 0x0275EDD4: 0134AC74 000000D3 010E85DC 1A069020 00012000 013B6F42 0x0275EDEC: 000000D3 1A069020 0010A000 0A6D7430 0A6D7A64 00000001 0x0275EE04: 000007FF 0112DDCD 0A6D7430 0198838C 0DBD1B48 00000002 0x0275EE1C: D81F2012 00000296 00002950 0000007F 029A0000 0275EF90 base: 0x02660000 top: 0x0275ED44 bottom: 0x02760000 Backtrace (may be wrong): =>0x01347C24 in GTAIV.exe (+0x7e7c24) (0x0275ED60) 0x0134A9A0 in GTAIV.exe (+0x7ea9a0) (0x0275ED90) 0x00DA195C in GTAIV.exe (+0x24195c) (0x0275EDA4) 0x010EF2A9 in GTAIV.exe (+0x58f2a9) (0x0275EDC0) 0x010E997E in GTAIV.exe (+0x58997e) (0x0275EDD0) 0x0134AC74 in GTAIV.exe (+0x7eac74) (0x0275EDD8) 0x010E85DC in GTAIV.exe (+0x5885dc) (0x0275EDE4) 0x013B6F42 in GTAIV.exe (+0x856f42) (0x0275EE30) 0x76F64856 RtlGetCurrentServiceSessionId+0xbc6 in ntdll.dll (+0x44856) (0x0275EF90) Edited November 13, 2023 by AngryMeatPie Link to comment Share on other sites More sharing options...
AngryMeatPie Posted June 11 Share Posted June 11 For anyone having trouble with this mod crashing when used with scripthook: use it with IV SDK. It can run net scripts as well. You don't any script hook files to to that, just create the "scripts" folder in the main directory and put the mod files there. As for bass.dll and bass.net.dll, I suspect one of them could've been causing crashes for me in the past. Currently I use bass.dll from Clonk's Vambience (it's newer than the one provided here), and the bass.net.dll which comes with this mod. Had no crashes so far, previously it crashed after like 10-15 mins of playing. Link to comment Share on other sites More sharing options...
Luismane Posted July 5 Share Posted July 5 On 6/11/2024 at 12:59 PM, AngryMeatPie said: For anyone having trouble with this mod crashing when used with scripthook: use it with IV SDK. It can run net scripts as well. You don't any script hook files to to that, just create the "scripts" folder in the main directory and put the mod files there. As for bass.dll and bass.net.dll, I suspect one of them could've been causing crashes for me in the past. Currently I use bass.dll from Clonk's Vambience (it's newer than the one provided here), and the bass.net.dll which comes with this mod. Had no crashes so far, previously it crashed after like 10-15 mins of playing. I will have to try this. My Modded GTA IV keeps on crashing after missions because of bass.dll. I have various scripthook mods and IV SDK mods, but it seems that this specific mod just likes crashing a lot. Link to comment Share on other sites More sharing options...
Thebluelightsaber Posted August 14 Share Posted August 14 I'd like if we could link each music that plays based on how Niko dies, eg; Death music 1: Ran over, environment collision (fall off building, car crash, fly off bike) Death music 2: Killed in hand combat (Death by fist, death by baseball bat, death by knife) Death music 3: Shot to death by cops, enemies Death music 4: burnt to death Death music 5: Blown up by car explosion, grenades, rpg, gas station explosion Death music 6: Arrested by police and fail music :3 Link to comment Share on other sites More sharing options...
Antonynguyen Posted August 27 Share Posted August 27 although the new sound system is really pretty good, for me the legendary sound is still the default gta dead sound . I still leave this sound on when playing. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now