SadBoy1981 Posted February 10, 2015 Report Share Posted February 10, 2015 Cant make music play! :unsure: End of decriptions i add class cfgMusic { class intro { name = "intro"; sound[] = {"custom\IntroSong.ogg", db+1,1}; }; }; welcome.sqf if(isDedicated) exitWith {}; _sizeTitle = 0.55; // Font Size of the Title Messages _sizeSubText = 0.45; // Font Size of the SubTitle Messages _colorTitle = "#0969ee"; // HTML Color Code of the Title Messages (must start with '#' ) _colorSubText = "#1cee09"; // HTML Color Code of the SubTitle Messages (must start with '#' ) _alignTitle = "left"; // Alignment of the Title Message (right or left) _alignSubText = "right"; // Alignment of the SubTitle Message (right or left) _fontTitle = "PuristaSemibold"; // Font Type Of Title Messages _fontSubText = "PuristaLight"; // Font Type Of SubTitle Messages _Delay = 10; // Wait in seconds before the credits start after player IS ingame _FadeIn = 3; //how long one role should stay on screen. Use value from 0 to 10 where 0 is almost instant transition to next role _IntroMusic = true; // Welcome Intro Song During the credits (true or false) _posDefault = [0.3,0.55,0.5]; // Defualt Positions of all Credits _title = "Добро Пожаловать!"; _shorttext = "Сервер Stay Alive Ru"; _posText = [0.8,0.5,0.4]; _title2 = "Группа"; _shorttext2 = "vk.com/stay_alive_rus"; _posText2 = [0.8,0.5,0.25]; _title3 = "Teamspeak 3"; _shorttext3 = "ruts1.gameservers.com:9244 "; _posText3 = [0.8,0.5,0.25]; _title4 = "Донат"; _shorttext4 = "В разработке"; _posText4 = [0.8,0.5,0.28]; _title5 = "Скрипты"; _shorttext5 = "Миссии с Ботами <br />Статус Бар<br />Infistar Anti Hack<br /> "; _posText5 = [0.8,0.5,0.335]; _title6 = "Админы Сервера"; _shorttext6 = "M_E_D <br />F_R_O_S_T<br />"; _posText6 = [0.8,0.5,0.4]; /***********************************************************************************************************************************************/ /***********************************************************************************************************************************************/ /* /!\ DO NOT EDIT BELOW THIS LINE. DO NOT REMOVE CREDITS /!\ /* /* SCRIPTING BY: GR8 [GhostzGamerz.com] /* VERSION: 2.1 /* DATE: 21 December 2014 /* /***********************************************************************************************************************************************/ /***********************************************************************************************************************************************/ _ms = []; for "_i" from 1 to 50 do { _t = if (_i!=1) then { format["_title%1",_i] } else { "_title" }; _s = if (_i!=1) then { format["_shorttext%1",_i] } else { "_shorttext" }; _p = if (_i!=1) then { format["_postext%1",_i] } else { "_postext" }; if (!isNil _t or !isNil _s) then { _at = if (!isNil _t) then { call compile _t } else { "" }; _as = if (!isNil _s) then { call compile _s } else { "" }; _ap = if (!isNil _p) then { call compile _p } else { _posDefault }; _ms = _ms + [[_at,_as,_ap]]; } }; waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; sleep _Delay; if (_IntroMusic) then { playMusic "intro";}; player enableSimulation true; { _t = _x select 0; _s = _x select 1; _pX = _x select 2 select 0; _pY = _x select 2 select 1; _pW = _x select 2 select 2; _m = format ["<t size='%1' color='%2' align='%3' font='%4'>%5<br /></t>", _sizeTitle, _colorTitle, _alignTitle, _fontTitle, _t]; _m = _m + format ["<t size='%1' color='%2' align='%3' font='%4'>%5<br /></t>", _sizeSubText, _colorSubText, _alignSubText, _fontSubText, _s]; _tm = round (count toArray (_t+_s) / 6 / 2) + 3; [ _m, [_pX * safeZoneW + safeZoneX, _pW], [_pY * safezoneH + safezoneY, 1 * safezoneH + safezoneY], _tm, _FadeIn ] spawn BIS_fnc_dynamicText; sleep (_tm+_FadeIn+4); } forEach _ms; IntroSong.ogg and welcome.sqf inside my custom folder. Cant understand why intro not playing, All works only dont have music sound. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted February 11, 2015 Report Share Posted February 11, 2015 Check your in-game music volume setting. Link to comment Share on other sites More sharing options...
SadBoy1981 Posted February 11, 2015 Report Share Posted February 11, 2015 volume 100% not workig :( Link to comment Share on other sites More sharing options...
Gr8 Posted February 11, 2015 Author Report Share Posted February 11, 2015 volume 100% not workig :( There is music Volume setting, most people have it down all the way Link to comment Share on other sites More sharing options...
OfficeGlenn Posted February 11, 2015 Report Share Posted February 11, 2015 I've followed all above suggestions but I keep getting kicked by BattlEye: CreateVehicle Restriction #0 for the damn seagull error. Not sure why this is happening. Prior to installing the welcome script I installed the A3EAI roaming AI script, the Simple Epoch Missions Script and the Player Status Bar script. All of which work fine. But then I add the welcome script and it kicks me for being a SeaGull. Any suggestions would be appreciated. Link to comment Share on other sites More sharing options...
SadBoy1981 Posted February 11, 2015 Report Share Posted February 11, 2015 There is music Volume setting, most people have it down all the way Im not idiot lol =) i have music volume set to 100% Anyway thanks for try to help Link to comment Share on other sites More sharing options...
SadBoy1981 Posted February 11, 2015 Report Share Posted February 11, 2015 I've followed all above suggestions but I keep getting kicked by BattlEye: CreateVehicle Restriction #0 for the damn seagull error. Not sure why this is happening. Prior to installing the welcome script I installed the A3EAI roaming AI script, the Simple Epoch Missions Script and the Player Status Bar script. All of which work fine. But then I add the welcome script and it kicks me for being a SeaGull. Any suggestions would be appreciated. My createvehicle.txt 5 "" !"CargoNet_01_box_F" !"C_Offroad_01_repair_F" !"B_Heli_Light_01_EPOCH" !"O_MRAP_02_F" !"O_MRAP_02_hmg_F" !"I_MRAP_03_hmg_F" !"Box_NATO_Wps_F" !"O_Truck_02_transport_EPOCH" !"B_Parachute" !="R_PG32V_F" !="R_TBG32V_F" !="I_UAV_01_F" !="I_UAV_AI" !"_EPOCH" !="B_65x39_Minigun_Caseless_Red_splash" !="B_762x51_Minigun_Tracer_Yellow_splash" !="B_Swing" !"^SmokeShell" !"^G_40mm_" !"^F_40mm_" !"Sub_F_" !"^F_Signal_" !="mini_Grenade" !="GrenadeHand" !="LaserTarget(C|W|E)" !"^Chemlight_" !="(ClaymoreDirectionalMine|DemoCharge|SatchelCharge)_Remote_Ammo" !="SLAMDirectionalMine_Wire_Ammo" !="(CMflare_Chaff|Sapper_Charge|ATMine_Range)_Ammo" !="APERS(TripMine_Wire|BoundingMine_Range|Mine_Range)_Ammo" !="Epoch_(Sapper|Cloak)_F" !="GreatWhite_F" !="groundWeaponHolder" !="WeaponHolderSimulated" !="Epoch_(Male|Female)_F" !"Supply[0-9]" !"Steerable_Parachute_F" !"Carryall" !="B_Parachute_02_F" !"Tarp_EPOCH" !"M_Scalpel_AT" !"R_80mm_HE" !"O_Heli_Attack_02_black_F" 5 "_EPOCH" !"ChairRed_EPOCH" !"Freezer_EPOCH" !"Pelican_EPOCH" !"Filing_EPOCH" " " !"O_Truck_02_transport_EPOCH" !="(SapperHead|Jack)_SIM_EPOCH" !="(Tipi|StorageShelf)_Ghost_EPOCH" !="(Tipi|StorageShelf|LockBox|FirePlace|PlotPole|I_Soldier|Jack)_EPOCH" !="(Bed|locker|Filing|Chair|ChairRed|wardrobe|cooker|Couch|Table|Pelican|Fridge|Shelf|ToolRack|Shoebox|Bunk|Rabbit)_EPOCH" !="(Sheep|Goat|Snake|Hen|Cock|Fin|Alsatian)_random_EPOCH" !="LockBox_(Ghost|SIM)_EPOCH" !="CinderWallHalf_(Ghost|SIM)_EPOCH" !="(CinderWall|CinderWallGarage|PlotPole|Tipi|StorageShelf)_SIM_EPOCH" !="Wood(Floor|LargeWall|LargeWallCor|LargeWallDoor|LargeWallDoorL|LargeWallDoorway|Stairs|Stairs2|Ramp)_(Ghost|SIM)_EPOCH" !="Foundation_Ghost_EPOCH" !="Foundation_EPOCH" !"Carryall" !"Tarp_EPOCH" 5 SeaGull !"Tarp_EPOCH" 1 "" Link to comment Share on other sites More sharing options...
Gr8 Posted February 11, 2015 Author Report Share Posted February 11, 2015 Im not idiot lol =) i have music volume set to 100% Anyway thanks for try to help Not Calling you an idiot, just making sure, becuase you didnt specify what volume you turned up. Try CfgSound instead and let me know what happens Link to comment Share on other sites More sharing options...
OfficeGlenn Posted February 11, 2015 Report Share Posted February 11, 2015 My createvehicle.txt 5 "" !"CargoNet_01_box_F" !"C_Offroad_01_repair_F" !"B_Heli_Light_01_EPOCH" !"O_MRAP_02_F" !"O_MRAP_02_hmg_F" !"I_MRAP_03_hmg_F" !"Box_NATO_Wps_F" !"O_Truck_02_transport_EPOCH" !"B_Parachute" !="R_PG32V_F" !="R_TBG32V_F" !="I_UAV_01_F" !="I_UAV_AI" !"_EPOCH" !="B_65x39_Minigun_Caseless_Red_splash" !="B_762x51_Minigun_Tracer_Yellow_splash" !="B_Swing" !"^SmokeShell" !"^G_40mm_" !"^F_40mm_" !"Sub_F_" !"^F_Signal_" !="mini_Grenade" !="GrenadeHand" !="LaserTarget(C|W|E)" !"^Chemlight_" !="(ClaymoreDirectionalMine|DemoCharge|SatchelCharge)_Remote_Ammo" !="SLAMDirectionalMine_Wire_Ammo" !="(CMflare_Chaff|Sapper_Charge|ATMine_Range)_Ammo" !="APERS(TripMine_Wire|BoundingMine_Range|Mine_Range)_Ammo" !="Epoch_(Sapper|Cloak)_F" !="GreatWhite_F" !="groundWeaponHolder" !="WeaponHolderSimulated" !="Epoch_(Male|Female)_F" !"Supply[0-9]" !"Steerable_Parachute_F" !"Carryall" !="B_Parachute_02_F" !"Tarp_EPOCH" !"M_Scalpel_AT" !"R_80mm_HE" !"O_Heli_Attack_02_black_F" 5 "_EPOCH" !"ChairRed_EPOCH" !"Freezer_EPOCH" !"Pelican_EPOCH" !"Filing_EPOCH" " " !"O_Truck_02_transport_EPOCH" !="(SapperHead|Jack)_SIM_EPOCH" !="(Tipi|StorageShelf)_Ghost_EPOCH" !="(Tipi|StorageShelf|LockBox|FirePlace|PlotPole|I_Soldier|Jack)_EPOCH" !="(Bed|locker|Filing|Chair|ChairRed|wardrobe|cooker|Couch|Table|Pelican|Fridge|Shelf|ToolRack|Shoebox|Bunk|Rabbit)_EPOCH" !="(Sheep|Goat|Snake|Hen|Cock|Fin|Alsatian)_random_EPOCH" !="LockBox_(Ghost|SIM)_EPOCH" !="CinderWallHalf_(Ghost|SIM)_EPOCH" !="(CinderWall|CinderWallGarage|PlotPole|Tipi|StorageShelf)_SIM_EPOCH" !="Wood(Floor|LargeWall|LargeWallCor|LargeWallDoor|LargeWallDoorL|LargeWallDoorway|Stairs|Stairs2|Ramp)_(Ghost|SIM)_EPOCH" !="Foundation_Ghost_EPOCH" !="Foundation_EPOCH" !"Carryall" !"Tarp_EPOCH" 5 SeaGull !"Tarp_EPOCH" 1 "" I see you have multiple references to !"Tarp_EPOCH", what is that? Link to comment Share on other sites More sharing options...
Gr8 Posted February 11, 2015 Author Report Share Posted February 11, 2015 I see you have multiple references to !"Tarp_EPOCH", what is that? Something not related to this script. As far as I know Seagull Kicks are mainly because of lag. Link to comment Share on other sites More sharing options...
SadBoy1981 Posted February 11, 2015 Report Share Posted February 11, 2015 Not Calling you an idiot, just making sure, becuase you didnt specify what volume you turned up. Try CfgSound instead and let me know what happens Yep, my bad. Still trying but nothing for now. Link to comment Share on other sites More sharing options...
SadBoy1981 Posted February 11, 2015 Report Share Posted February 11, 2015 I see you have multiple references to !"Tarp_EPOCH", what is that? oh, yep, some time ago when i just learn how to add filters i just add in a few lines, cose cant understand how to do it =) Link to comment Share on other sites More sharing options...
clarkycal Posted February 11, 2015 Report Share Posted February 11, 2015 Hey again... the messages works fine but the sound did not play.. I got this after spawn on my server "Sound intro not found" my description.ext looks like this wreckManagerMode = 1; wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; class CfgRemoteExecCommands {}; class cfgSound { class intro { name = "intro"; sound[] = {"custom\intro.ogg", db+1,1}; }; }; and my welcome.sqf playSound "intro"; // This calls the code inside of description.ext // i have put my intro.ogg into the custom folder. Whats wrong? i plus one you my friend, changing the playMusic and CfgMusic to playSound and CfgSound gives you this error. how do i know this? it happened to me i dont know why tho so that i know only cfgmusic works Link to comment Share on other sites More sharing options...
SadBoy1981 Posted February 12, 2015 Report Share Posted February 12, 2015 i plus one you my friend, changing the playMusic and CfgMusic to playSound and CfgSound gives you this error. how do i know this? it happened to me i dont know why tho so that i know only cfgmusic works Working for me now! Link to comment Share on other sites More sharing options...
clarkycal Posted February 12, 2015 Report Share Posted February 12, 2015 Working for me now! can you show us how? are you using the CfgSound or CfgMusic? if the CfgSound how? Link to comment Share on other sites More sharing options...
SadBoy1981 Posted February 12, 2015 Report Share Posted February 12, 2015 if (_IntroMusic) then { playMusic "intro";}; class cfgMusic { class intro { name = "intro"; sound[] = {"custom\IntroSong.ogg", db+1,1}; }; }; Link to comment Share on other sites More sharing options...
clarkycal Posted February 12, 2015 Report Share Posted February 12, 2015 if (_IntroMusic) then { playMusic "intro";}; class cfgMusic { class intro { name = "intro"; sound[] = {"custom\IntroSong.ogg", db+1,1}; }; }; ok... your not using the CfgSound and i think you got a bit confused but nvm Link to comment Share on other sites More sharing options...
Moody Posted February 12, 2015 Report Share Posted February 12, 2015 I just made a fresh install of this script. made a folder called custom in my epoch.altis.pbo, added "Welcome.sqf" and copy/pasted the lines from this post into it. Editted the info i want to be shown. Downloaded added my own IntroSong.ogg that i converted and made 32 seconds long, pasted that file in my custom folder. downloaded new mission file when joining server, but nothing shows. Im not getting any errors either upon joining server. Heres my init and description files:description.txtinit.txt Link to comment Share on other sites More sharing options...
Gr8 Posted February 12, 2015 Author Report Share Posted February 12, 2015 can you show us how? are you using the CfgSound or CfgMusic? if the CfgSound how? Yes, Please share. I would like to if the OP is wrong? should i use Sound or Music? Link to comment Share on other sites More sharing options...
clarkycal Posted February 13, 2015 Report Share Posted February 13, 2015 I just made a fresh install of this script. made a folder called custom in my epoch.altis.pbo, added "Welcome.sqf" and copy/pasted the lines from this post into it. Editted the info i want to be shown. Downloaded added my own IntroSong.ogg that i converted and made 32 seconds long, pasted that file in my custom folder. downloaded new mission file when joining server, but nothing shows. Im not getting any errors either upon joining server. Heres my init and description files: try this please So basically i tried all sorts of things.. so there wasnt just one thing i triedso start off by putting your BE Filters in (even tho you dont get kicked)Second, Some addons/scripts you have might be blocking it as i had a mission system that i think was the problem!I also tried moving the execute path to the top of the init.sqf Link to comment Share on other sites More sharing options...
clarkycal Posted February 13, 2015 Report Share Posted February 13, 2015 Yes, Please share. I would like to if the OP is wrong? should i use Sound or Music? i would like to know how to do it with CfgSound but it doesn't work and i wanna know how to do it! Link to comment Share on other sites More sharing options...
Moody Posted February 13, 2015 Report Share Posted February 13, 2015 try this please So basically i tried all sorts of things.. so there wasnt just one thing i triedso start off by putting your BE Filters in (even tho you dont get kicked)Second, Some addons/scripts you have might be blocking it as i had a mission system that i think was the problem!I also tried moving the execute path to the top of the init.sqf Where can i find these filters i need to add? They are not in the OP(?) Link to comment Share on other sites More sharing options...
second_coming Posted February 13, 2015 Report Share Posted February 13, 2015 I just made a fresh install of this script. made a folder called custom in my epoch.altis.pbo, added "Welcome.sqf" and copy/pasted the lines from this post into it. Editted the info i want to be shown. Downloaded added my own IntroSong.ogg that i converted and made 32 seconds long, pasted that file in my custom folder. downloaded new mission file when joining server, but nothing shows. Im not getting any errors either upon joining server. Heres my init and description files:Does it work if you move// Welcome Credits [] execVM "custom\welcome.sqf";to the top of your init.sqf? Link to comment Share on other sites More sharing options...
fr1nk Posted February 13, 2015 Report Share Posted February 13, 2015 Where can i find these filters i need to add? They are not in the OP(?) Check the entire thread, there are some BE-related posts. Moody 1 Link to comment Share on other sites More sharing options...
Moody Posted February 13, 2015 Report Share Posted February 13, 2015 Check the entire thread, there are some BE-related posts. I found this, and i dont have it in my BE filter. But it doesnt look alright, i feel something is wrong.? !="execVM "MPMissions\epoch.Altis\scripts\fn_statusBar.sqf"; !="<execute expression=" !"RscDebugConsole_execute" !=execVM "custom\Welcome.sqf";" Somehow i feel the ; and " are mixed and not at the correct place. Can anyone verify? Cheers! Link to comment Share on other sites More sharing options...
Recommended Posts