Dm music manager: Difference between revisions

From Open Fortress Wiki
Jump to navigation Jump to search
(Created page with "{{of point|dm_music_manager|sprite=1}} Music handler Entity for the Deathmatch_(Gamemode) gamemode. ==Keyvalues== {{KV Targetname}} {{KV|Index|intn=Index|integer|Index used to pull from MapData.<br>Default: {{Code|0}}}} {{KV|Waiting for players music|intn=WaitingForPlayerMusic|sound|Song used for waiting for players, raw files don't work here}} {{KV|Mid-Round Music|intn=RoundMusic|sound|Song used mid round, also plays this songs end when the round ends, raw files do...")
 
mNo edit summary
Line 1: Line 1:
{{of point|dm_music_manager|sprite=1}} Music handler Entity for the [[Deathmatch_(Gamemode)]] gamemode.
{{of point|dm_music_manager|sprite=1}} Music handler Entity for the [[Deathmatch_(Gamemode)]] gamemode.


==Keyvalues==
==Keyvalues==

Revision as of 10:57, 4 January 2025

Open Fortress dm_music_manager is a point entity available in Open Fortress Open Fortress. Music handler Entity for the Deathmatch_(Gamemode) gamemode.


Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Index (Index) <integer>
Index used to pull from MapData.
Default: 0
Waiting for players music (WaitingForPlayerMusic) <sound>
Song used for waiting for players, raw files don't work here
Mid-Round Music (RoundMusic) <sound>
Song used mid round, also plays this songs end when the round ends, raw files don't work here
Optional - Waiting Music Player (WaitingMusicPlayer) <string>
If specified, instead of making a new waiting for players music player it uses a pre-existing music player entity. Mainly used if you have special music logic.
Optional - Round Music Player (RoundMusicPlayer) <string>
If specified, instead of making a new mid round music player it uses a pre-existing music player entity. Mainly used if you have special music logic.