Of music player: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{of point|of_music_player|sprite=1}} Music handler Entity. ==Keyvalues== {{KV Targetname}} {{KV EnableDisable}} {{KV|Index|intn=Index|integer|Index used to pull from MapData<br>Default: {{Code|0}}}} {{KV|Volume|intn=Volume|float|Initial volume for the music player, values range from 1(full volume) to 0 (silent)<br>Default: {{Code|1}}}} {{KV|Song Soundscript|intn=LoopingSongName|sound|Song Soundscript, raw files don't work here}} ==Inputs== {{IO|SetVolume|Set the vol...") |
(No difference)
|
Latest revision as of 10:53, 4 January 2025

of_music_player is a point entity available in
Open Fortress. Music handler Entity.
Keyvalues
- Name
(targetname)<string> - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Start Disabled?
(StartDisabled)<boolean> - Default:
false - Index
(Index)<integer> - Index used to pull from MapData
Default:0 - Volume
(Volume)<float> - Initial volume for the music player, values range from 1(full volume) to 0 (silent)
Default:1
- Song Soundscript
(LoopingSongName)<sound> - Song Soundscript, raw files don't work here
Inputs
- SetVolume <float>
- Set the volume of the music player.
- AddVolume <float>
- Increments (or decrements) the music player volume.
- Enable <void>
- Enable this entity.
- Disable <void>
- Disable this entity.
- Toggle <void>
- Toggle the enable/disabled status of this entity