Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » All about modding JA2 » Music mods?
Re: Music mods?[message #343443 is a reply to message #343344]
|
Fri, 11 December 2015 08:11
|
|
E3245 |
|
Messages:46
Registered:August 2013 |
|
|
Quote:More battle music sounds interesting especially for mods! :-) Would you like to release/share your source code (patch file) so our coders can make use of it?
I would like to upload it to Kermi's archive as well!
It's already uploaded to the archive, if I remember correctly. It's out of date though, so I have fixed up the code to use for the latest version.
https://storage.rcs-rds.ro/links/4729f8d6-f44b-42b7-aa3e-e0ddc6deead6?path=%2FJA_2%2FMods_v1.13%2FExtended_Music
Here's the updated patch file now. I haven't tested this to make sure everything is correct since I don't have time anymore.
Toggle Spoiler
[code]Index: Utils/Music Control.cpp
===================================================================
--- Utils/Music Control.cpp (revision 8004)
+++ Utils/Music Control.cpp (working copy)
@@ -68,7 +68,10 @@
"MUSIC\\triumph",
"MUSIC\\death",
"MUSIC\\battle A",
- "MUSIC\\tensor B",
+ "MUSIC\\battle B",
+ "MUSIC\\battle C",
+ "MUSIC\\battle D",
+ "MUSIC\\battle E",
"MUSIC\\creepy",
"MUSIC\\creature battle",
"MUSIC",
@@ -591,7 +594,7 @@
bNothingModeSong = (INT8) (NOTHING_A_MUSIC + Random(4));
bEnemyModeSong = (INT8) (TENSOR_A_MUSIC + Random(3));
- bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random(2));
+ bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random(5));
}
@@ -705,7 +708,7 @@
MusicPlay(NewSoundID,MUSIC_TACTICAL_BATTLE,TRUE);
}
}
- bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random(2));
+ bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random(5));
break;
case MUSIC_TACTICAL_VICTORY:
@@ -766,7 +769,7 @@
bNothingModeSong = (INT8) (NOTHING_A_MUSIC + Random(4));
bEnemyModeSong = (INT8) (TENSOR_A_MUSIC + Random(3));
- bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random(2));
+ bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random(5));
}
@@ -825,7 +828,7 @@
{
MusicPlay(bBattleModeSong);
}
- bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random(2));
+ bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random(5));
break;
case MUSIC_TACTICAL_VICTORY:
Index: Utils/Music Control.h
===================================================================
--- Utils/Music Control.h (revision 8004)
+++ Utils/Music Control.h (working copy)
@@ -17,7 +17,10 @@
TRIUMPH_MUSIC,
DEATH_MUSIC,
BATTLE_A_MUSIC,
- BATTLE_B_MUSIC, //same as tensor B
+ BATTLE_B_MUSIC,
+ BATTLE_C_MUSIC,
+ BATTLE_D_MUSIC,
+ BATTLE_E_MUSIC,
CREEPY_MUSIC,
CREATURE_BATTLE_MUSIC,
MUSIC_DIR,
[/pre]
[/align]
[Updated on: Sat, 09 May 2020 11:51] by Moderator Report message to a moderator
|
Corporal
|
|
|
|
|
Music mods?
By: Marcell on Thu, 20 August 2015 03:22
|
|
|
Re: Music mods?
By: SabinyAk on Thu, 20 August 2015 05:58
|
|
|
Re: Music mods?
By: Deleted. on Thu, 20 August 2015 10:51
|
|
|
Re: Music mods?
By: Marcell on Thu, 20 August 2015 17:46
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
By: SabinyAk on Thu, 20 August 2015 18:09
|
|
|
Re: Music mods?
By: Marcell on Thu, 20 August 2015 19:40
|
|
|
Re: Music mods?
By: SabinyAk on Thu, 20 August 2015 21:00
|
|
|
Re: Music mods?
By: E3245 on Thu, 26 November 2015 04:20
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
By: Slax on Tue, 01 December 2015 09:39
|
|
|
Re: Music mods?
By: E3245 on Fri, 11 December 2015 08:11
|
|
|
Re: Music mods?
By: Taro_M on Sat, 19 December 2015 08:59
|
|
|
Re: Music mods?
By: Bobby R. on Sat, 24 September 2016 05:30
|
|
|
Re: Music mods?
By: Boge on Thu, 29 March 2018 03:45
|
|
|
Re: Music mods?
By: Flugente on Thu, 29 March 2018 22:19
|
|
|
Re: Music mods?
By: MrStitch on Sun, 02 September 2018 15:53
|
|
|
Re: Music mods?
By: Flugente on Mon, 03 September 2018 00:27
|
|
|
Re: Music mods?
By: MrStitch on Mon, 03 September 2018 16:40
|
|
|
Re: Music mods?
By: Deleted. on Mon, 03 September 2018 19:16
|
|
|
Re: Music mods?
By: Wildman on Tue, 17 December 2019 23:29
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
By: Deleted. on Thu, 17 March 2022 07:55
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
By: Hawkeye on Thu, 17 March 2022 12:20
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
By: Hawkeye on Sat, 19 March 2022 04:43
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
By: Vritran on Thu, 17 March 2022 02:01
|
|
|
Re: Music mods?
|
|
|
Re: Music mods?
By: Hawkeye on Tue, 19 December 2017 08:40
|
|
|
Re: Music mods?
|
Goto Forum:
Current Time: Sat Nov 30 17:09:25 GMT+2 2024
Total time taken to generate the page: 0.01240 seconds
|