diff --git a/MPMissions/epoch.Altis/custom/Welcome.sqf b/MPMissions/epoch.Altis/custom/Welcome.sqf new file mode 100644 index 0000000..6f6aec9 --- /dev/null +++ b/MPMissions/epoch.Altis/custom/Welcome.sqf @@ -0,0 +1,97 @@ +if(isDedicated) exitWith {}; + +_sizeTitle = 0.55; // Font Size of the Title Messages +_sizeSubText = 0.45; // Font Size of the SubTitle Messages +_colorTitle = "#FFFFFF"; // HTML Color Code of the Title Messages (must start with '#' ) +_colorSubText = "#EFEFEF"; // 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 = 2; //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 = "Welcome Survivor"; +_shorttext = "Arma 3 Epoch By Fallingsheep"; +_posText = [0.25,0.5,0.4]; + +_title2 = "ADMINS"; +_shorttext2 = "Fallingsheep"; +_posText2 = [0.38,0.5,0.25]; + +_title3 = "MISSIONS"; +_shorttext3 = "VEMF - Missions system"; +_posText3 = [0.18,0.5,0.7]; + +_title4 = "BASES"; +_shorttext4 = "Indestructible Bases"; +_posText4 = [0.37,0.5,0.28]; + +_title5 = "LOOT"; +_shorttext5 = "Custom Loot Tables"; +_posText5 = [0.35,0.5,0.335]; + +_title6 = "Play Fair & Enjoy"; +_shorttext6 = "respect others!"; +_posText6 = [0.32,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 ["%5
", _sizeTitle, _colorTitle, _alignTitle, _fontTitle, _t]; + _m = _m + format ["%5
", _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; \ No newline at end of file diff --git a/MPMissions/epoch.Altis/description.ext b/MPMissions/epoch.Altis/description.ext index 6b321b7..bef7d27 100644 --- a/MPMissions/epoch.Altis/description.ext +++ b/MPMissions/epoch.Altis/description.ext @@ -36,4 +36,13 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; -class CfgRemoteExecCommands {}; \ No newline at end of file +class CfgRemoteExecCommands {}; + +class cfgMusic +{ + class intro + { + name = "intro"; + sound[] = {"sounds\IntroSong.ogg", db+1,1}; + }; +}; \ No newline at end of file diff --git a/MPMissions/epoch.Altis/init.sqf b/MPMissions/epoch.Altis/init.sqf index b9f27d5..ff770c9 100644 --- a/MPMissions/epoch.Altis/init.sqf +++ b/MPMissions/epoch.Altis/init.sqf @@ -1,2 +1,6 @@ +// Welcome Credits +[] execVM "custom\welcome.sqf"; + +//Admin Menu execVM "adminmenu\activate.sqf"; execVM "adminmenu\loop.sqf"; \ No newline at end of file diff --git a/MPMissions/epoch.Altis/sounds/introSong.ogg b/MPMissions/epoch.Altis/sounds/introSong.ogg new file mode 100644 index 0000000..2ff6353 Binary files /dev/null and b/MPMissions/epoch.Altis/sounds/introSong.ogg differ