Music player

From UFOpaedia
Revision as of 09:00, 22 June 2019 by Skin36 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Music structure

  • '/MUSIC/GROUP_1/AMBIENCE.RAW',
  • '/MUSIC/GROUP_1/BIGDARK.RAW',
  • '/MUSIC/GROUP_1/BODYBAG.RAW',
  • '/MUSIC/GROUP_1/CREEPY.RAW',
  • '/MUSIC/GROUP_1/DANGER.RAW',
  • '/MUSIC/GROUP_1/EERIE.RAW',
  • '/MUSIC/GROUP_1/HOLLOW.RAW',
  • '/MUSIC/GROUP_1/MOODY.RAW',
  • '/MUSIC/GROUP_1/SEWER.RAW',
  • '/MUSIC/GROUP_1/SILENCE.RAW',
  • '/MUSIC/GROUP_2/DARKWIND.RAW',
  • '/MUSIC/GROUP_2/EVILNEAR.RAW',
  • '/MUSIC/GROUP_2/HUNTING.RAW',
  • '/MUSIC/GROUP_2/NOTALONE.RAW',
  • '/MUSIC/GROUP_2/SCARY.RAW',
  • '/MUSIC/GROUP_2/TROUBLE.RAW',
  • '/MUSIC/GROUP_2/HYPE_UP.RAW',
  • '/MUSIC/GROUP_2/ORGANIC.RAW',
  • '/MUSIC/GROUP_2/SLOWMO.RAW',
  • '/MUSIC/GROUP_2/UNSETTLE.RAW',
  • '/MUSIC/GROUP_3/ACTION.RAW',
  • '/MUSIC/GROUP_3/CHASE.RAW',
  • '/MUSIC/GROUP_3/DRAMA1.RAW',
  • '/MUSIC/GROUP_3/HORROR1.RAW',
  • '/MUSIC/GROUP_3/ACTION1.RAW',
  • '/MUSIC/GROUP_3/ACTION2.RAW',
  • '/MUSIC/GROUP_3/DRAMA2.RAW',
  • '/MUSIC/GROUP_3/HORROR2.RAW',
  • '/MUSIC/GROUP_4/FEAR.RAW',
  • '/MUSIC/GROUP_4/LOWTONE.RAW',
  • '/MUSIC/GROUP_4/MINDMAZE.RAW',
  • '/MUSIC/GROUP_4/STRANGE.RAW',
  • '/MUSIC/GROUP_4/TEXTURE.RAW'

offset(in second)

to convert to bytes, subtract 25 and multiply by 2048

  • {25, 4133, 9613, 17569, 22785, 28307, 35241, 41088,45248, 50838},
  • {52641, 57890, 63818, 69421, 75242, 81042, 86280, 91438,96097, 101211},
  • {106732, 113047, 114339, 115841, 117133, 118422, 119716, 121050},
  • {122342, 128616, 134675, 140561, 145950},

lenghts in bytes

  • {8413184, 11223040, 16293888, 10682368, 11309056, 14200832, 11974656, 8519680,11448320, 3692544},
  • {10749952, 12140544, 11474944, 11921408, 11878400, 10727424, 10563584, 9541632,10473472, 11307008},
  • {12933120, 2646016, 3076096, 2646016, 2639872, 2650112, 2732032, 2646016},
  • {12849152, 12408832, 12054528, 11036672, 12834816},

Algorithm for selecting a track.

1. In alien dimention plays music from the fourth group. 2. For other groups, music is determined by the number of alien ships.

   0 ships - music from 1 group.
   1-5 ships music from 2 group.

3.If the checkbox "Action music" is set, when the number of enemy ships is more than five, music from the third group is played. 4. In tactical game а group is counted according to the number of enemy units:

  0 unit - music from 2 group.
  1-5 units - music from 3 group(If the checkbox "Action music" is set).
  
  Only visible, non-stuned, live enemy units are counted.
  

The music track in the group selected randomly.