Wanne
ab02106512
- New Externalization: Externalized the used music to an OPTIONAL "Scripts\Music.lua" file (by Jazz)
...
o This file is OPTIONAL and if not available, the game uses the default music tracks
o With the user of the Music.lua script file, you can play different musics and types for each sector (*.WAV or *.OGG)
o An example of the usage has been added to "Docs\Externalized Music Example.zip"
o See comments from the Music.lua scripts below
--[[
AddMusic(SectorX,SectorY,SectorZ,MusicType,MusicID)
MusicType :
1 - standard music, sector no enemy (NOTHING_xxx.wav or NOTHING_xxx.ogg)
2 - enemy in sector (TENSOR_xxx.wav or TENSOR_xxx.ogg)
3 - start battle (BATTLE_xxx.wav or BATTLE_xxx.ogg)
4 - victory (TRIUMPH_xxx.wav or TRIUMPH_xxx.ogg)
5 - death merc (DEATH_xxx.wav or DEATH_xxx.ogg)
xxx - number file
MusicID - id of music
Put to "Music" folder ogg or wav file. We number the names of files NOTHING_0.wav... NOTHING_10.wav ... etc
Example :
AddMusic(1,10,0,1,0) -- add to sector A10, music type "1" and file NOTHING_0.wav or NOTHING_0.ogg.
AddMusic(1,10,1,1,0) -- add to sector A10_B1, music type "1" and file NOTHING_0.wav or NOTHING_0.ogg.
AddMusic(1,9,0,2,10) -- add to sector A9, music type "2" and file TENSOR_10.wav or TENSOR_10.ogg.
for x = 1,16 do
for y = 1,16 do
AddMusic(x,y,0,1,10) -- add to all sector, music type "1" and file NOTHING_10.wav or NOTHING_10.ogg.
end
end
]]
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6295 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2013-08-20 07:15:30 +00:00
..
2012-01-18 11:19:01 +00:00
2013-05-02 22:42:08 +00:00
2006-04-19 11:32:51 +00:00
2013-05-02 22:42:08 +00:00
2009-06-04 21:01:45 +00:00
2013-05-02 22:42:08 +00:00
2012-11-26 19:01:25 +00:00
2013-05-02 22:42:08 +00:00
2012-08-14 12:19:57 +00:00
2012-12-20 01:05:45 +00:00
2012-12-20 01:05:45 +00:00
2012-12-20 01:05:45 +00:00
2012-12-20 01:05:45 +00:00
2013-05-02 22:42:08 +00:00
2008-03-08 15:15:25 +00:00
2013-05-02 22:42:08 +00:00
2006-04-19 11:32:51 +00:00
2007-10-20 08:09:03 +00:00
2012-08-02 22:30:15 +00:00
2010-02-28 18:38:52 +00:00
2013-05-02 22:42:08 +00:00
2012-04-10 23:45:46 +00:00
2013-07-22 08:00:50 +00:00
2012-05-21 19:39:53 +00:00
2012-12-30 19:20:36 +00:00
2012-08-14 12:19:57 +00:00
2013-07-08 06:58:12 +00:00
2012-01-18 11:19:01 +00:00
2013-02-26 22:31:39 +00:00
2012-08-24 07:59:13 +00:00
2013-04-10 22:52:35 +00:00
2013-04-09 21:03:42 +00:00
2013-05-02 22:42:08 +00:00
2012-01-18 11:19:01 +00:00
2013-05-02 22:42:08 +00:00
2008-03-08 15:15:25 +00:00
2008-03-08 15:15:25 +00:00
2006-08-26 12:28:27 +00:00
2013-08-11 15:22:29 +00:00
2013-04-30 21:31:04 +00:00
2013-07-28 18:32:55 +00:00
2013-04-26 00:54:22 +00:00
2013-05-27 21:01:04 +00:00
2010-02-28 18:38:52 +00:00
2013-05-02 22:42:08 +00:00
2006-04-19 11:32:51 +00:00
2013-05-25 19:19:59 +00:00
2010-02-28 18:38:52 +00:00
2013-07-31 18:59:32 +00:00
2013-01-06 03:51:09 +00:00
2012-08-14 12:19:57 +00:00
2010-02-28 18:38:52 +00:00
2013-06-16 16:40:15 +00:00
2013-03-27 22:06:26 +00:00
2013-05-03 23:31:28 +00:00
2013-05-03 23:31:28 +00:00
2013-05-02 22:42:08 +00:00
2013-03-27 22:06:26 +00:00
2013-08-19 23:27:50 +00:00
2013-06-30 19:16:35 +00:00
2013-08-18 16:17:43 +00:00
2011-01-18 09:11:09 +00:00
2013-08-11 15:22:29 +00:00
2012-11-05 09:12:14 +00:00
2013-05-05 20:56:00 +00:00
2012-01-18 11:19:01 +00:00
2013-06-05 19:38:41 +00:00
2013-05-17 18:05:18 +00:00
2013-07-21 17:41:25 +00:00
2013-07-25 18:11:16 +00:00
2012-05-30 10:19:53 +00:00
2012-05-30 10:19:53 +00:00
2013-07-30 19:32:49 +00:00
2013-02-23 18:32:55 +00:00
2013-03-21 23:13:39 +00:00
2013-08-08 21:08:04 +00:00
2013-08-18 22:40:33 +00:00
2013-08-18 16:17:43 +00:00
2013-07-29 09:15:21 +00:00
2012-01-18 11:19:01 +00:00
2012-06-02 15:50:54 +00:00
2010-02-28 18:38:52 +00:00
2013-08-08 21:08:04 +00:00
2012-11-12 20:10:28 +00:00
2013-05-02 22:42:08 +00:00
2010-02-28 18:38:52 +00:00
2013-08-20 07:15:30 +00:00
2010-02-28 18:38:52 +00:00
2013-08-19 23:27:50 +00:00
2012-01-18 11:19:01 +00:00
2013-02-23 18:32:55 +00:00
2007-08-01 08:58:34 +00:00
2013-04-02 22:00:02 +00:00
2012-07-21 16:41:04 +00:00
2013-08-20 07:15:30 +00:00
2013-08-08 21:08:04 +00:00
2013-03-05 01:02:59 +00:00
2013-08-20 07:15:30 +00:00
2013-08-19 23:27:50 +00:00
2013-05-02 22:42:08 +00:00
2011-01-18 09:11:09 +00:00
2006-04-19 11:32:51 +00:00
2013-06-30 16:29:17 +00:00
2013-06-16 16:40:15 +00:00
2011-01-18 09:11:09 +00:00
2011-01-18 09:11:09 +00:00
2013-05-02 22:42:08 +00:00
2007-10-20 08:09:03 +00:00
2013-05-02 22:42:08 +00:00
2013-07-07 09:01:45 +00:00
2013-03-24 18:56:09 +00:00
2013-06-30 16:29:17 +00:00
2013-05-02 22:42:08 +00:00
2013-02-23 18:32:55 +00:00
2012-01-18 11:19:01 +00:00
2012-08-14 15:04:02 +00:00
2012-06-02 15:50:54 +00:00
2012-08-24 08:15:20 +00:00
2010-02-28 18:38:52 +00:00
2013-05-27 21:01:04 +00:00
2010-02-28 18:38:52 +00:00
2013-08-06 20:43:44 +00:00
2013-08-11 15:22:29 +00:00
2013-07-02 19:42:12 +00:00
2013-05-27 21:01:04 +00:00
2013-05-02 22:42:08 +00:00
2010-02-28 18:38:52 +00:00
2010-02-28 18:38:52 +00:00
2013-07-29 09:15:21 +00:00
2013-03-05 01:02:59 +00:00
2008-08-12 17:09:29 +00:00
2013-05-02 17:12:43 +00:00
2013-07-29 09:05:08 +00:00
2013-07-29 11:48:53 +00:00
2013-05-02 22:42:08 +00:00
2010-02-28 18:38:52 +00:00
2013-04-04 21:10:28 +00:00
2013-05-02 22:42:08 +00:00
2010-02-28 18:38:52 +00:00
2013-05-02 22:42:08 +00:00
2012-01-18 11:19:01 +00:00
2013-05-02 22:42:08 +00:00
2010-02-28 18:38:52 +00:00
2013-05-02 22:42:08 +00:00
2012-11-11 05:31:41 +00:00
2008-03-08 15:15:25 +00:00
2013-04-27 02:09:24 +00:00
2013-02-23 18:32:55 +00:00
2013-05-02 22:42:08 +00:00
2006-04-19 11:32:51 +00:00
2013-05-10 23:30:42 +00:00
2013-05-10 23:30:42 +00:00
2013-05-10 23:30:42 +00:00
2013-05-10 23:30:42 +00:00
2013-05-02 22:42:08 +00:00
2008-05-12 08:20:47 +00:00
2013-08-19 23:27:50 +00:00
2013-05-06 23:35:17 +00:00
2011-05-26 11:04:47 +00:00
2013-05-27 21:01:04 +00:00
2013-05-24 14:25:47 +00:00
2013-08-18 16:17:43 +00:00
2013-08-18 16:17:43 +00:00
2013-05-02 22:42:08 +00:00
2013-08-11 15:22:29 +00:00
2008-03-08 15:15:25 +00:00
2013-06-16 15:05:41 +00:00
2013-02-07 22:25:53 +00:00
2013-02-07 22:25:53 +00:00
2011-01-18 09:11:09 +00:00
2013-02-07 22:25:53 +00:00
2013-05-02 22:42:08 +00:00
2013-05-02 22:42:08 +00:00
2012-09-16 02:57:45 +00:00
2013-02-07 22:25:53 +00:00
2008-03-08 15:15:25 +00:00
2013-05-27 20:38:52 +00:00
2013-02-07 22:25:53 +00:00
2013-02-07 22:25:53 +00:00
2013-02-07 22:25:53 +00:00
2013-02-07 22:25:53 +00:00
2013-02-07 22:25:53 +00:00
2011-01-18 09:11:09 +00:00
2012-11-15 00:03:39 +00:00
2013-02-07 22:25:53 +00:00
2013-05-02 22:42:08 +00:00
2013-02-07 22:25:53 +00:00
2013-05-27 20:38:52 +00:00
2011-01-18 09:11:09 +00:00
2013-02-07 22:25:53 +00:00
2008-03-08 15:15:25 +00:00
2012-04-11 22:51:23 +00:00
2008-03-08 15:15:25 +00:00
2013-02-07 22:25:53 +00:00
2012-04-10 23:45:46 +00:00
2013-02-07 22:25:53 +00:00
2013-04-25 20:42:46 +00:00
2013-02-07 22:25:53 +00:00
2013-02-07 22:25:53 +00:00
2012-03-23 18:46:54 +00:00
2008-11-06 00:46:54 +00:00
2013-05-27 20:38:52 +00:00
2013-04-16 22:34:49 +00:00
2013-02-07 22:25:53 +00:00
2010-02-20 15:49:46 +00:00
2012-04-03 08:46:59 +00:00
2013-03-21 23:13:39 +00:00
2013-05-10 20:36:15 +00:00
2011-01-18 09:11:09 +00:00
2013-05-27 20:38:52 +00:00
2013-06-30 16:48:43 +00:00
2011-01-18 09:11:09 +00:00
2013-04-14 15:54:56 +00:00
2013-05-02 22:42:08 +00:00
2010-03-17 02:42:30 +00:00
2013-05-27 20:38:52 +00:00
2013-05-10 23:30:42 +00:00