Giter VIP home page Giter VIP logo

deathmusiciv's Introduction

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.

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.

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)
NearDeathHealth : At wich health level should the music start? (Default: 15)
Volume : The volume of the music. (Default: 20)

How to Contribute

Do you have an idea to improve this mod, or did you happen to run into a bug? Please share your idea or the bug you found in the issues page, or even better: feel free to fork and contribute to this project with a Pull Request.

Make sure you have Visual Studio installed, and that you add a reference to the file "ScriptHookDotNet.dll" in Visual Studio, otherwise you will run in to a hole lot of errors.

If you dont have the ScriptHookDotNet.dll file, then here is a link for you to download this file: https://www.dropbox.com/s/9mhvnmy101aspkw/ScriptHookDotNet.dll?dl=1

deathmusiciv's People

Contributors

clonkandre avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.