@bgm
Play BGM
- Built-in
- Can be written without the name
file
filter
loop
When played, the sample game uses its own assets and character names.
Parameters
fileRequiredAsset (bgm)
Audio file
volumeInteger (0 to 100)
Default: 100Volume (0 to 100)
timeTime (300ms, 1.5s)
Default: 0msFade-in time
looptrue / false
Default: trueLoop
crossfadeTime (300ms, 1.5s)
Default: 0msTime to cross-fade from the current BGM (loads the new track first, then fades the current one out while fading the new one in)
loop-startTime (300ms, 1.5s)
Where the loop starts (after the intro). If omitted, the LOOPSTART tag embedded in the track, or the beginning
loop-endTime (300ms, 1.5s)
Where the loop ends. If omitted, computed from the embedded LOOPLENGTH tag, or the end
panInteger (-100 to 100)
Default: 0Stereo position (-100 is left, 100 is right)
rateNumber (0.1 to 4)
Default: 1Playback speed (1 is normal; the pitch changes too)
filternone / muffled / phone / radio / hall
Sound filter (muffled, phone for over the phone, radio, hall for hall reverb; none for no filter) for the BGM
filter-strengthInteger (0 to 100)
Default: 100Filter strength (0 to 100; mixed with the original sound)
filter-fadeTime (300ms, 1.5s)
Default: 0msTime to apply or remove the filter (when applying it again to the same track that's playing)
Guides that use this command
From TyranoScript
When you import with lim import, these tags become this command:
How each attribute converts, and what isn't converted, is in TyranoScript import.