Gr8 Posted December 10, 2014 Report Share Posted December 10, 2014 Welcome Messages Credit Style Messages When a player Spawns in Install Instructions: If not done already, create a blank init.sqf in your mission root. In your Init.sqf Add this line to the very bottom // Welcome Credits by Gr8 [] execVM "custom\welcome.sqf"; Make a Custom Folder in your mission file Make a file called Welcome.sqf in your Custom Folder Add this into your 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 = "Welcome Survivor"; _shorttext = "Arma 3 Epoch By MyServer"; _posText = [0.8,0.5,0.4]; _title2 = "Website"; _shorttext2 = "www.my-site.com"; _posText2 = [0.8,0.5,0.25]; _title3 = "Teamspeak 3"; _shorttext3 = "ts.my-site.com"; _posText3 = [0.8,0.5,0.25]; _title4 = "Donate"; _shorttext4 = "Support the server and Help it stay up"; _posText4 = [0.8,0.5,0.28]; _title5 = "Custom Scripts"; _shorttext5 = "Welcome Messages <br />AI Missions<br />Custom Traders<br /> "; _posText5 = [0.8,0.5,0.335]; _title6 = "Play Fair And Enjoy"; _shorttext6 = "Admins are Always Active"; _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; Download this Intro Song and put it in your mission root. Note : You can always use your own music. Just make sure its in .ogg format In your Description.ext add this at the bottom: class cfgMusic{ class intro { name = "intro"; sound = {"IntroSong.ogg", db+1,1}; }; }; Modify Your BattlEye Filters Go to your Config folder (By Default called SC) / BattlEye and open Scripts.txt Then Then find the line 2 which looks like this: 7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" and add following to the end of the line: "sleep (_onScreenTime) spawn bis_fnc_dynamictext;" Then in same file find line 21 which looks like this: 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" and add following to the end of the line (modify this if you need to): !="execVM \"\MPMissions\epoch.altis\scripts\welcome.sqf\"" CLICK HERE TO SHOOT ME A LIKE xbelanch, martuk66, CharlesDarwin and 43 others 46 Link to comment Share on other sites More sharing options...
_SAM_ Posted December 10, 2014 Report Share Posted December 10, 2014 BE Filters? Link to comment Share on other sites More sharing options...
matrixmark Posted December 11, 2014 Report Share Posted December 11, 2014 BE Filters? +1 everyone gets kicked when using this. Script restriction #21 Script restriction #1 Link to comment Share on other sites More sharing options...
ProtossMaster Posted December 11, 2014 Report Share Posted December 11, 2014 +1 everyone gets kicked when using this. Script restriction #21 Script restriction #1 K post the errors and we will create the exception. Link to comment Share on other sites More sharing options...
Gr8 Posted December 11, 2014 Author Report Share Posted December 11, 2014 +1 everyone gets kicked when using this. Script restriction #21 Script restriction #1 Post Your Script.log Link to comment Share on other sites More sharing options...
brillo_pad Posted December 11, 2014 Report Share Posted December 11, 2014 Add an exception to the exec line in scripts for your server welcome.sqf ( around line 21) Add an exception for the bis_FNC_dynamicText (around line 3) Both edits in script.text +1 for crediting script author. Also Link to comment Share on other sites More sharing options...
matrixmark Posted December 11, 2014 Report Share Posted December 11, 2014 It was the same script kick I posted in another thread regarding it. The noob told me it wasn't arma 3 code lol. But in any case this is the log. 11.12.2014 08:12:09: Dr. Mortis (**.*.***.***:2302) ******************************** - #1 "Y + safezoneH - 0.8,0.7], _onScreenTime, 0.5 ] spawn BIS_fnc_dynamicText; sleep (_onScreenTime); } forEach [ [_role1, _role1na" Link to comment Share on other sites More sharing options...
Metalfoundry Posted December 11, 2014 Report Share Posted December 11, 2014 Same problem here.. how to handle this in scripts.txt`? Link to comment Share on other sites More sharing options...
Coco-Nuts Posted December 11, 2014 Report Share Posted December 11, 2014 Thank you for the credits Gr8Boi :) About the "script restriction #1" you have to modify the file "script.txt" in your BattlEye folder. Then find the line 2 : 7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" Add this line at the end : "sleep (_onScreenTime) spawn bis_fnc_dynamictext;" It looks like this : 7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" "sleep (_onScreenTime) spawn bis_fnc_dynamictext;" Peace ! Dew 1 Link to comment Share on other sites More sharing options...
matrixmark Posted December 11, 2014 Report Share Posted December 11, 2014 Thank you for the credits Gr8Boi :) About the "script restriction #1" you have to modify the file "script.txt" in your BattlEye folder. Then find the line 2 : 7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" Add this line at the end : "sleep (_onScreenTime) spawn bis_fnc_dynamictext;" It looks like this : 7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" "sleep (_onScreenTime) spawn bis_fnc_dynamictext;" Peace ! Thanks that worked lovely :D I also had to edit line 21 also to stop the kicks there. Link to comment Share on other sites More sharing options...
pr0dukt Posted December 11, 2014 Report Share Posted December 11, 2014 lol gr8. look at you contributing and shiiit. one of us should make a "how to" on the BE filters. no one seems to understand how to make exceptions for expressions.. TekHunter 1 Link to comment Share on other sites More sharing options...
Gr8 Posted December 11, 2014 Author Report Share Posted December 11, 2014 lol gr8. look at you contributing and shiiit. one of us should make a "how to" on the BE filters. no one seems to understand how to make exceptions for expressions.. will do when i get home, also add BE Filters for this script to the OP Link to comment Share on other sites More sharing options...
Darth_Rogue Posted December 11, 2014 Report Share Posted December 11, 2014 Works great! Thanks! Link to comment Share on other sites More sharing options...
Humpabry Posted December 12, 2014 Report Share Posted December 12, 2014 ty for this very nice good work +1 Link to comment Share on other sites More sharing options...
pr0dukt Posted December 12, 2014 Report Share Posted December 12, 2014 gr8 hit me up when you get on. steam is .pr0dukt// Link to comment Share on other sites More sharing options...
Gr8 Posted December 12, 2014 Author Report Share Posted December 12, 2014 Works great! Thanks! ty for this very nice good work +1 Glad you liked it :) Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted December 12, 2014 Report Share Posted December 12, 2014 So, if you don't have an init.sqf, you just create it with the lines in the first post? Link to comment Share on other sites More sharing options...
Gr8 Posted December 12, 2014 Author Report Share Posted December 12, 2014 So, if you don't have an init.sqf, you just create it with the lines in the first post? yes, that is correct Link to comment Share on other sites More sharing options...
Coco-Nuts Posted December 12, 2014 Report Share Posted December 12, 2014 So, if you don't have an init.sqf, you just create it with the lines in the first post? That's right ! Link to comment Share on other sites More sharing options...
dzrealkiller Posted December 13, 2014 Report Share Posted December 13, 2014 Would there happen to be a video of this in action? Link to comment Share on other sites More sharing options...
Coco-Nuts Posted December 13, 2014 Report Share Posted December 13, 2014 Would there happen to be a video of this in action? It's the same thing like this : http://www.youtube.com/watch?v=HCf-hzIb4P4 Link to comment Share on other sites More sharing options...
dzrealkiller Posted December 13, 2014 Report Share Posted December 13, 2014 Oh that's pretty damn cool, One question... Would this only show when entering the server or would this show every time you died? Link to comment Share on other sites More sharing options...
Gr8 Posted December 13, 2014 Author Report Share Posted December 13, 2014 Oh that's pretty damn cool, One question... Would this only show when entering the server or would this show every time you died? Only upon Entering the server Link to comment Share on other sites More sharing options...
dzrealkiller Posted December 13, 2014 Report Share Posted December 13, 2014 Awesome I will add this later and have a good old look :) Link to comment Share on other sites More sharing options...
Artis Posted December 14, 2014 Report Share Posted December 14, 2014 Sorry to ask this but its puzzling me Where do you create the Init.sqf? Link to comment Share on other sites More sharing options...
Recommended Posts