Member
Last active 8 years ago
Here is the working Description file which includes the CTP description. obviously you will need to change the top bits.
author = "[IRU]Sheeps"; onLoadName = "IRU Sangin MilSim"; onLoadMission = ""; joinUnassigned = 0; disabledAI = true; disableChannels[]={0,1,2,3,4,5,6}; enableDebugConsole = 1; allowFunctionsLog = 1; briefing = 0; ShowGPS = 1; showWatch = 0; showMap = 1; respawn = "BASE"; respawndelay = 120; class CfgSounds { sounds[]={CTP1}; class CTP1 { name="CTP1"; sound[]={"sound\CTP.ogg", 1, 1}; titles[]= {90, ""}; }; } class CfgSFX { sounds[] = {}; class sfxsound { name = "sfxsound"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound2 { name = "sfxsound2"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound2.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound3 { name = "sfxsound3"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound3.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound4 { name = "sfxsound4"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound4.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound5 { name = "sfxsound5"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound5.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound6 { name = "sfxsound6"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound2.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound7 { name = "sfxsound7"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound3.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound8 { name = "sfxsound8"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound4.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound9 { name = "news1"; sounds[]={sfxsound}; sfxsound[]={"sound\news1.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound10 { name = "music1"; sounds[]={sfxsound}; sfxsound[]={"sound\music1.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound11 { name = "music2"; sounds[]={sfxsound}; sfxsound[]={"sound\music2.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound12 { name = "kunduznews"; sounds[]={sfxsound}; sfxsound[]={"sound\kunduznews.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound13 { name = "SanginnewsBBC"; sounds[]={sfxsound}; sfxsound[]={"sound\SanginnewsBBC.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound14 { name = "prayer2"; sounds[]={sfxsound}; sfxsound[]={"sound\prayer2.ogg",15,1,24,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound15 { name = "Britishnews"; sounds[]={sfxsound}; sfxsound[]={"sound\Britishnews.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound16 { name = "ISISpropoganda"; sounds[]={sfxsound}; sfxsound[]={"sound\ISISpropoganda.ogg",15,1,24,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound17 { name = "IEDchatter"; sounds[]={sfxsound}; sfxsound[]={"sound\IEDchatter.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound18 { name = "arab_talking"; sounds[]={sfxsound}; sfxsound[]={"sound\arab_talking.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound19 { name = "arabicsong1"; sounds[]={sfxsound}; sfxsound[]={"sound\arabicsong1.ogg",15,1,24,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound20 { name = "arabicsong2"; sounds[]={sfxsound}; sfxsound[]={"sound\arabicsong2.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; }
just a trigger. the only thing you need do is change the variable name to ctptrig. It gets all it needs from the script. Im off to bed now but if you are stuck tomorrow I will show you in more detail. Guess I should anyway as ive not explained it very well!
Sorry heroes ive not been very helpful. just add a trigger called ctptrig where ever you want the sound to play and the civs to go to.
Sorted! You were correct I was missing a couple of } and };
Cheers been a long time since i tried to do any sqf
It didnt include an init.sqf and im pretty sure it doesnt need one. I have put a }; at the end of the CTP sound block as i think you are right but it now says it is missing a } at line 190
Here you go. That's the complete script as edited by spyder plus my CTP.ogg
https://www.dropbox.com/sh/b6eu4wzxnhjzez1/AACU9x44M4fbafV2zeFtmYIja?dl=0
I know i know im a pest! Sorry fellas. Can you see where i have gone wrong here? It is telling me i am missing a } at line 191 (two lines after the final };
Consequently i cant see the sounds in editor to add them!
author = "[IRU]Sheeps"; onLoadName = "IRU Sangin MilSim"; onLoadMission = ""; joinUnassigned = 0; disabledAI = true; disableChannels[]={0,1,2,3,4,5,6}; enableDebugConsole = 1; allowFunctionsLog = 1; briefing = 0; ShowGPS = 1; showWatch = 0; showMap = 1; respawn = "BASE"; respawndelay = 120; class CfgSounds { sounds[]={CTP1}; class CTP1 { name="CTP1"; sound[]={"sound\CTP.ogg", 1, 1}; titles[]= {90, ""}; class CfgSFX { sounds[] = {}; class sfxsound { name = "sfxsound"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound2 { name = "sfxsound2"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound2.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound3 { name = "sfxsound3"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound3.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound4 { name = "sfxsound4"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound4.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound5 { name = "sfxsound5"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound5.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound6 { name = "sfxsound6"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound2.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound7 { name = "sfxsound7"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound3.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound8 { name = "sfxsound8"; sounds[]={sfxsound}; sfxsound[]={"sound\sfxsound4.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound9 { name = "news1"; sounds[]={sfxsound}; sfxsound[]={"sound\news1.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound10 { name = "music1"; sounds[]={sfxsound}; sfxsound[]={"sound\music1.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound11 { name = "music2"; sounds[]={sfxsound}; sfxsound[]={"sound\music2.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound12 { name = "kunduznews"; sounds[]={sfxsound}; sfxsound[]={"sound\kunduznews.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound13 { name = "SanginnewsBBC"; sounds[]={sfxsound}; sfxsound[]={"sound\SanginnewsBBC.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound14 { name = "prayer2"; sounds[]={sfxsound}; sfxsound[]={"sound\prayer2.ogg",15,1,24,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound15 { name = "Britishnews"; sounds[]={sfxsound}; sfxsound[]={"sound\Britishnews.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound16 { name = "ISISpropoganda"; sounds[]={sfxsound}; sfxsound[]={"sound\ISISpropoganda.ogg",15,1,24,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound17 { name = "IEDchatter"; sounds[]={sfxsound}; sfxsound[]={"sound\IEDchatter.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound18 { name = "arab_talking"; sounds[]={sfxsound}; sfxsound[]={"sound\arab_talking.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound19 { name = "arabicsong1"; sounds[]={sfxsound}; sfxsound[]={"sound\arabicsong1.ogg",15,1,24,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; class sfxsound20 { name = "arabicsong2"; sounds[]={sfxsound}; sfxsound[]={"sound\arabicsong2.ogg",15,1,18,1,1,1,0}; empty[]= {"",0,0,0,0,0,0,0}; }; };
Spyder you are a legend!
Heroes, do you want me to add it to my drop box?
I'll be sticking with CAF aggressors for opfor and my civ vehicles from now I think
I should be able to get the previous release from our server so will roll back mine then wipe it from my mission never to use his work again!