; startup info

set tune to "jingle.mp3"
set minxres to 0
set minyres to 0
set prefxres to 512
set prefyres to 384
set prefbpp to 32

viewport vpm 0 0.8 1 0.2
rendertarget rt1 1 1
viewport czt 0 0 1 1 target rt1

; effektinstanzen

effect freddy is fred
effect mtt is multitext
effect crz is crashzoom
effect wht is fade
effect blk is fade
effect scn is fred
effect clr is clear

macro kicker runs for 0.3333 seconds
  set scn.kick to 1
endmacro

macro goldrausch
  set scn.time to 0
    and set scn.camera to 0
    and wait for 0.3333 seconds
    then set scn.time to 0
    and set scn.camera to 1
    and wait for 0.3333 seconds
    then set scn.time to 0
    and set scn.camera to 2
    and wait for 0.3333 seconds
    then set scn.time to 0
    and set scn.camera to 3
    and wait for 0.3333 seconds
    then set scn.time to 0
    and set scn.camera to 2
    and wait for 0.3333 seconds
    then set scn.time to 0
    and set scn.camera to 1
    and wait for 0.3333 seconds
    then set scn.time to 0
    and set scn.camera to 0
    and wait for 0.3333 seconds
    then set scn.time to 0
    and set scn.camera to 3
endmacro

demo runs for 32000 seconds

first set freddy.scene to uc5.frs
  and set mtt.font to arial_48.fn2
  and set mtt.count to 2
  and set mtt.msg1 to "* anm. d. red: diese anim ist so scheie,"
  and set mtt.msg2 to "weil ryg zu doof fr lightwave ist."
  and set mtt.time to 1
  and set crz.source to rt1
  and set crz.steps to 10
  and set crz.maxzoom to 0
  and set wht.color to 0xffffff
  and set wht.fade to 0
  and set blk.color to 0x000000
  and set blk.fade to 1
  and set scn.scene to sz11a.frs
  and set scn.speed to 0.2
  and set scn.kickamp to 1

at second 0 start freddy vp czt
  and start crz
  and start mtt vp vpm
  and start wht
  and start blk

at second 0 fade blk.fade from 1 to 0 for 8 seconds

at second 11.480 fade crz.maxzoom from 0 to 1 until second 13.707
at second 12.250 fade crz.light from 1 to 1.6 until second 14.808
  and fade wht.fade from 0 to 1 until second 13.707

at second 13.663 stop mtt
  and start mtt z 1000
  and start clr z 1
  and set clr.color to 0xffffff
  and set mtt.count to 5
  and set mtt.msg1 to ""
  and set mtt.msg2 to ""
  and set mtt.msg3 to ""
  and set mtt.msg4 to ""
  and set mtt.msg5 to ""
  and set mtt.time to 0
  and set mtt.color to 0x000000

at second 26.377 stop crz and stop blk and stop wht and stop freddy
  and start scn z 1
  and play goldrausch times 4
  and play kicker times 32
  and start blk z 2
  and set blk.fade to 0

  and set mtt.count to 6
  and set mtt.msg1 to ""
  and set mtt.msg2 to ""
  and set mtt.msg3 to "Coming up"
  and set mtt.msg4 to "180BPM Topfschlagen"
  and set mtt.msg5 to ""
  and set mtt.msg6 to ""
  and set mtt.time to 1
  and set mtt.color to 0xffffff

at second 37.0426 fade blk.fade from 0 to 1 for 5 seconds

at second 42 set ims.volume to 0

; 13.663 schtrongr

at second 13.663 set mtt.msg3 to "schtrongr"
  and fade mtt.time from 0 to 1 curve 5 until second 15.000

; 15.000 sn

at second 15.000 set mtt.msg3 to "sn"
  and fade mtt.time from 0 to 1 curve 5 until second 15.279

; 15.279 jsterdi

at second 15.279 set mtt.msg3 to "jsterdi"
  and fade mtt.time from 0 to 1 curve 5 until second 17.287

; 17.287 nau

at second 17.287 set mtt.msg3 to "nau"
  and fade mtt.time from 0 to 1 curve 5 until second 17.636

; 17.636 i

at second 17.636 set mtt.msg3 to "i"
  and fade mtt.time from 0 to 1 curve 5 until second 18.160

; 18.160 nossin

at second 18.160 set mtt.msg3 to "nossin"
  and fade mtt.time from 0 to 1 curve 5 until second 18.553

; 18.553 batt

at second 18.553 set mtt.msg3 to "batt"
  and fade mtt.time from 0 to 1 curve 5 until second 18.946

; 18.946 mei

at second 18.946 set mtt.msg3 to "mei"
  and fade mtt.time from 0 to 1 curve 5 until second 19.731

; 19.731 wey

at second 19.731 set mtt.msg3 to "wey"
  and fade mtt.time from 0 to 1 curve 5 until second 20.386

; 20.386 mei

at second 20.386 set mtt.msg3 to "mei"
  and fade mtt.time from 0 to 1 curve 5 until second 20.823

; 20.823 lonlin

at second 20.823 set mtt.msg3 to "lonlin"
  and fade mtt.time from 0 to 1 curve 5 until second 21.914

; 21.914 eynt

at second 21.914 set mtt.msg3 to "eynt"
  and fade mtt.time from 0 to 1 curve 5 until second 22.220

; 22.220 killin

at second 22.220 set mtt.msg3 to "killin"
  and fade mtt.time from 0 to 1 curve 5 until second 22.918

; 22.918 mi

at second 22.918 set mtt.msg3 to "mi"
  and fade mtt.time from 0 to 1 curve 5 until second 23.267

; 23.267 noh

at second 23.267 set mtt.msg3 to "noh"
  and fade mtt.time from 0 to 1 curve 5 until second 23.573

; 23.573 mohr

at second 23.573 set mtt.msg3 to "mohr"
  and fade mtt.time from 0 to 1 curve 5 until second 24.883

; 24.883 ei

at second 24.883 set mtt.msg3 to "ei"
  and fade mtt.time from 0 to 1 curve 5 until second 25.712

; 25.712 eim

at second 25.712 set mtt.msg3 to "eim"
  and fade mtt.time from 0 to 1 curve 5 until second 26.377

enddemo
