Jump to content
Sign in to follow this  
Kolmain

Including Vanilla AddOn

Recommended Posts

How can you include sounds and assets from a vanilla addon, the code I'm using bellow doesn't work:

[color="#FF8040"]class CfgSounds[color="#8B3E2F"][b]{[/b][/color]
sounds[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color]Paycall[color="#8B3E2F"][b],[/b][/color]Recall[color="#8B3E2F"][b],[/b][/color]Vent[color="#8B3E2F"][b],[/b][/color]Vent2[color="#8B3E2F"][b],[/b][/color]Para[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]




class Paycall
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"Paycall"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"Sound\Paycall.ogg"[/color][color="#8B3E2F"][b],[/b][/color] db[color="#8B3E2F"][b]-[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class Recall
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"Recall"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"Sound\Recall.ogg"[/color][color="#8B3E2F"][b],[/b][/color] db[color="#8B3E2F"][b]-[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class Goodjob
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"Goodjob"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"Sound\goodjob.ogg"[/color][color="#8B3E2F"][b],[/b][/color] db[color="#8B3E2F"][b]-[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class sectorCaptured_0
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"sectorCaptured_0"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\40_FriendliesCapturedSector\mp_groundsupport_40_friendliescapturedsector_BHQ_0.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class sectorCaptured_1
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"sectorCaptured_1"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\40_FriendliesCapturedSector\mp_groundsupport_40_friendliescapturedsector_BHQ_1.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class sectorCaptured_2
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"sectorCaptured_2"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\40_FriendliesCapturedSector\mp_groundsupport_40_friendliescapturedsector_BHQ_2.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class opforCaptured_2
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"opforCaptured_2"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\35_EnemyCapturedSector\mp_groundsupport_35_enemycapturedsector_BHQ_2.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class opforCaptured_1
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"opforCaptured_1"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\40_FriendliesCapturedSector\mp_groundsupport_40_friendliescapturedsector_BHQ_1.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class opforCaptured_0
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"opforCaptured_0"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\40_FriendliesCapturedSector\mp_groundsupport_40_friendliescapturedsector_BHQ_0.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class capturing_2
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"capturing_2"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\30_FriendliesCapturingSector\mp_groundsupport_30_friendliescapturingsector_BHQ_2.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class capturing_1
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"capturing_1"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\30_FriendliesCapturingSector\mp_groundsupport_30_friendliescapturingsector_BHQ_1.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class capturing_0
[color="#8B3E2F"][b]{[/b][/color]
	[color="#191970"][b]name[/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]"capturing_0"[/color][color="#8B3E2F"][b];[/b][/color]
	sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#7A7A7A"]"\a3\dubbing_f_heli\mp_groundsupport\30_FriendliesCapturingSector\mp_groundsupport_30_friendliescapturingsector_BHQ_0.ogg"[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color] [color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
	titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]




class Vent [color="#8B3E2F"][b]{[/b][/color][color="#191970"][b]name[/b][/color][color="#8B3E2F"][b]=[/b][/color][color="#7A7A7A"]"Vent"[/color][color="#8B3E2F"][b];[/b][/color]sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]=[/b][/color][color="#8B3E2F"][b]{[/b][/color]ATM_airdrop\data\Vent.ogg[color="#8B3E2F"][b],[/b][/color]db[color="#8B3E2F"][b]-[/b][/color][color="#FF0000"]11[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class Vent2 [color="#8B3E2F"][b]{[/b][/color][color="#191970"][b]name[/b][/color][color="#8B3E2F"][b]=[/b][/color][color="#7A7A7A"]"Vent2"[/color][color="#8B3E2F"][b];[/b][/color]sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]=[/b][/color][color="#8B3E2F"][b]{[/b][/color]ATM_airdrop\data\Vent2.ogg[color="#8B3E2F"][b],[/b][/color]db[color="#8B3E2F"][b]-[/b][/color][color="#FF0000"]11[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]
class Para [color="#8B3E2F"][b]{[/b][/color][color="#191970"][b]name[/b][/color][color="#8B3E2F"][b]=[/b][/color][color="#7A7A7A"]"Para"[/color][color="#8B3E2F"][b];[/b][/color]sound[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]=[/b][/color][color="#8B3E2F"][b]{[/b][/color]ATM_airdrop\data\parachute.ogg[color="#8B3E2F"][b],[/b][/color]db[color="#8B3E2F"][b]-[/b][/color][color="#FF0000"]11[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1.0[/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]titles[color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color]


[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color][/color]

Made with KK's SQF to BBCode Converter

Share this post


Link to post
Share on other sites

You shouldn't need to, that sound should already be defined in the default cfgSounds so you wouldn't need to define it again in the mission description.ext, use the config viewer to find its classname.

Share this post


Link to post
Share on other sites
You shouldn't need to, that sound should already be defined in the default cfgSounds so you wouldn't need to define it again in the mission description.ext, use the config viewer to find its classname.

I couldn't find a classname I could use with playsound...

Share this post


Link to post
Share on other sites

copy sound file into mission, and supply mission path. I know pain in the arse but it is the only way for now.

Share this post


Link to post
Share on other sites
copy sound file into mission, and supply mission path. I know pain in the arse but it is the only way for now.

I can't unPBO the marksman stuff :/

Share this post


Link to post
Share on other sites

Is it not already defined in radioProtocol?

Where did you get the reference for the file path from? protocol or some other config entry?

Share this post


Link to post
Share on other sites
Is it not already defined in radioProtocol?

Where did you get the reference for the file path from? protocol or some other config entry?

CfgRadio I believe?

or dubbing?

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
Sign in to follow this  

×