Skip to content

MusicPlus Line Exec 413: Change Music fading and positioning

mazmazz requested to merge public-musicplus-le-changemusic into public-musicplus-core

Linedef Exec Change Music updated to support the new seeking and fading features.

What it already does

  • Front Upper: Music name
  • Front Lower: Track
  • Solid Midtex: Looping = False
  • No Climb: Music changes for everyone
  • Block Enemies: MUSIC_RELOADRESET = False

What we added

  • Front Middle: Position to jump to
  • ML_EFFECT1: Start position from current song position, and Front Middle adds or subtracts from this value
  • Front X Offset: Fade out milliseconds from old song, 0 for instant change
  • Front Y Offset: Fade in milliseconds to new song
  • ML_EFFECT2: Fade to custom volume target (fade out milliseconds will be ineffective)
    • Back X Offset: Volume percentage to fade to
    • Back Y Offset: Volume percentage to fade from (or empty for current)
  • ML_BOUNCY: MUSIC_FORCERELOAD = True

Merge request reports

Loading