Ambience Sounds Manager
- v0.0.1, published at : 21/04/2023
Description
This plugin allows you to have constantly ambience sound playing.
All you have to do is add your music into the ini file and add the duration of the music.
For a nice soft loop i recommend using a float value, there are websites teaching you how to see the duration of your music with milliseconds
Ini File Configuration- USE_SAY_COMMANDS 0/1 - 1 uses say /volume and /ambience | 0 uses Nightvision / Jointeam (N / M keys)
- AUTO_PLAY_AFTER_JOIN 0/1 - If 0 the player has to toggle it himself
- TIME_FOR_AUTO_PLAY *float* - Time to play the music after client_putinserver
- sound/directory/musicname.mp3 *float Duration of music*
Example of ambience_manager.ini on Harry Potter Mod:
Code:
; Some essencial stuff
; Use say commands 1 - If 0 it will use nightvision and team keys (N / M)
USE_SAY_COMMANDS 0
; If 0 player has to toggle the music himself
AUTO_PLAY_AFTER_JOIN 1
; Time it takes to play the music after client_putinsever
TIME_FOR_AUTO_PLAY 3.0
; Directory, music name & duration of the music
sound/harry_potter/ambience2.mp3 "Harry Potter Remix" 86.4