music_manager
Jump to navigation
Jump to search

music_manager is a point entity available in
No More Room in Hell.
Entity Description
The Music Manager is a complimentary point entity which can allow a mapper to specify specific music tracks that they want for different levels of tension and background, if one desired. You can also use it to send out a signal when the music changes for a Survivor.
KeyValues
- Name (targetname) <string>
- The name that other entities refer to this entity by.
- Entity Scripts (vscripts) <string>
- Name(s) of script files that are executed after all entities have spawned.
- Script think function (thinkfunction) <string>
- Name of a function in this entity's script scope which will be called automatically.
- Ambient Music (no_tension_sound_1, no_tension_sound_2, no_tension_sound_3) <sound>
- Music to be played during no tension (picked randomly between all 'Ambient' sounds).
- Tension 1 Music (low_tension_sound_1, low_tension_sound_2, low_tension_sound_3) <sound>
- Music to be played during low tension (picked randomly between all 'Tension 1' sounds).
- Tension 2 Music (medium_tension_sound_1, medium_tension_sound_2, medium_tension_sound_3) <sound>
- Music to be played during medium tension (picked randomly between all 'Tension 2' sounds).
- Tension 3 Music (high_tension_sound_1, high_tension_sound_2, high_tension_sound_3) <sound>
- Music to be played during high tension (picked randomly between all 'Tension 3' sounds).
- Pursuit Music (pursuit_sound_1, pursuit_sound_2, pursuit_sound_3) <sound>
- Music to be played during no tension (picked randomly between all 'Pursuit' sounds).
- Attack Music (attack_sound_1, attack_sound_2, attack_sound_3) <sound>
- Music to be played during no tension (picked randomly between all 'Attack' sounds).
- Evac Music (evac_sound_1, evac_sound_2, evac_sound_3) <sound>
- Music to be played during no tension (picked randomly between all 'Evac' sounds).
- Custom Music 1 (custom_music_1) <sound>
- Music to be played when triggering custom music 1.
- Custom Music 2 (custom_music_2) <sound>
- Music to be played when triggering custom music 2.
- Custom Music 3 (custom_music_3) <sound>
- Music to be played when triggering custom music 3.
Flags
- Start Muted : [1]
- Audio is muted on map start.
Inputs
- InputTriggerEvac
- Turns on the 'Evac' music state.
- InputEndEvac
- Turns off the 'Evac' music state.
- InputMute
- Mutes the music manager.
- InputUnmute
- Unmutes the music manager.
- StartCustomMusicState
- Starts the custom music (1, 2, 3).
- StopCustomMusicState
- Stops the custom music state.
Outputs
- OnPlayerMusicStateChanged
- Fired when a player's music state changes.
- OnUser1 to OnUser4
- Fired in response to the FireUser inputs.