Jump to content
XOSPECTRE

A3 music classnames and time

Recommended Posts

Hello when I was looking for arma music classname on web but I didn't find anything so I decide to go to config in game and find proper music files and I make a a3 playlist here is it. Number under every song is time in seconds. there is more song and alternative version whith some a b c ..etc they are usualy sohrter for specific event *action* so the are not inculed ..Only full song here. I put it in to script u can use it in some long mission like CTI (cti is how arma means to be played.. for me hehe:]

29 tracks there is 2 more menu music and game theme.

playmusic "LeadTrack01_F_Curator"; \\Zeus Theme

~183

playmusic "LeadTrack01_F"; \\This is War

~163

playmusic "LeadTrack01_F_EPA"; \\Conquistador

~96

playmusic "LeadTrack01_F_EPB"; \\Adapt

~136

playmusic "LeadTrack01_F_EPC"; \\Back on Stratis

~94

playmusic "LeadTrack02_F"; \\Protheus

~95

playmusic "LeadTrack02_F_Bootcamp"; \\Evolution

~243

playmusic "LeadTrack02_F_EPA"; \\Aegis Blues

~118

playmusic "LeadTrack02_F_EPB"; \\Exit Strategy

~180

playmusic "LeadTrack03_F"; \\Combined Arms

~97

playmusic "LeadTrack03_F_EPA"; \\Survive the hard part

~139

playmusic "LeadTrack03_F_EPB"; \\Beyond Recognition

~124

playmusic "LeadTrack03_F_EPC"; \\The trap

~148

playmusic "LeadTrack04_F"; \\Action Dark 2

~152

playmusic "LeadTrack04_F_EPB"; \\Canton Protocol

~133

playmusic "LeadTrack04_F_EPC"; \\In The Open

~124

playmusic "LeadTrack05_F"; \\Taking Kavala

~97

playmusic "LeadTrack05_F_EPC"; \\Revenge

~88

playmusic "LeadTrack06_F"; \\Down at Girina bay

~185

playmusic "LeadTrack06_F_EPC"; \\Win

~133

playmusic "Track02_SolarPower"; \\Solar Power

~115

playmusic "Track03_OnTheRoad"; \\On the Road

~89

playmusic "Track04_Underwater1"; \\Underwater

~97

playmusic "Track06_CarnHeli"; \\CarnHeli

~112

playmusic "BackgroundTrack01_F_EPB"; \\The Hunt

~128

playmusic "BackgroundTrack01_F_EPC"; \\Alone

~97

playmusic "BackgroundTrack02_F_EPC"; \\Just Another Day

~99

playmusic "BackgroundTrack03_F_EPC"; \\Altis Requiem

~149

playmusic "BackgroundTrack04_F_EPC"; \\Assembly

Share this post


Link to post
Share on other sites

Config already has all the information about what music available and durations:
 

_music = "LeadTrack01_F_Curator";
_duration = getNumber (configFile >> "CfgMusic" >> _music >> "duration");
hint str _duration; //182

Share this post


Link to post
Share on other sites
// Function return array containing all game music records in format ["Class", "Title", Duration]
Fn_GetMusicData = {
	private _cfg = configFile >> "CfgMusic";
	private _res = [];	
	
	for "_i" from 0 to (count _cfg - 1) do {
		private _rec = _cfg select _i;
		if (isClass _rec) then {
			_res pushBack [
				configName _rec,
				if (isText (_rec >> "name")) then {getText (_rec >> "name")} else {""},
				if (isNumber (_rec >> "duration")) then {getNumber (_rec >> "duration")} else {0}]		
		}
	};	
	_res
};

Result:

[	["LeadTrack01_F",	"This Is War",		162],
	["LeadTrack01a_F",	"This Is War a",	162],
	["LeadTrack01b_F",	"This Is War b",	162],
	["LeadTrack01c_F",	"Main Menu",		128],
	["LeadTrack02_F",	"Proteus",		94],
	["LeadTrack03_F",	"Combined Arms",        96],
	["LeadTrack04_F",	"Action Dark 2", 	151],
	...]

Share this post


Link to post
Share on other sites

Or if you use the apply and configClasses commands:

_music = ("isClass _x" configClasses (configFile >> "cfgMusic")) apply {
		[
			configName _x,
			if (isText (_x >> "name")) then {getText (_x >> "name")} else {""},
			if (isNumber (_x >> "duration")) then {getNumber (_x >> "duration")} else {0}	
		]
};
  • Like 1

Share this post


Link to post
Share on other sites

 

Or if you use the apply and configClasses commands:

_music = ("isClass _x" configClasses (configFile >> "cfgMusic")) apply {
		[
			configName _x,
			if (isText (_x >> "name")) then {getText (_x >> "name")} else {""},
			if (isNumber (_x >> "duration")) then {getNumber (_x >> "duration")} else {0}	
		]
};

"isClass _x" configClasses  

configClasses by default returns only classes

Share this post


Link to post
Share on other sites

"isClass _x" configClasses  

configClasses by default returns only classes

My bad- I should have read the wiki propely :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×