Last active
July 6, 2016 18:32
-
-
Save IT07/6210573 to your computer and use it in GitHub Desktop.
[GitHub] DayZ Server Credits by IT07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FILENAME: server_WelcomeCredits.sqf | |
// ===== | |
// SCRIPT NAME: Server Intro Credits Script by IT07 | |
// SCRIPT VERSION: v1.3.7 BETA | |
// Credits for original script: Bohemia Interactive http://bistudio.com | |
// ========== SCRIPT CONFIG ============ | |
_onScreenTime = 6; //how long one role should stay on screen. Use value from 0 to 10 where 0 is almost instant transition to next role | |
//NOTE: Above value is not in seconds. It is percentage. Default: 6 | |
// ==== CUSTOMIZING THE CREDITS === | |
// If you want more or less credits on the screen, you have to add/remove roles. | |
// Watch out though, you need to make sure BOTH role lists match eachother in terms of amount. | |
// Just take a good look at the _role1 and the rest and you will see what I mean. | |
// == CUSTOMIZING TEXT COLOR == | |
// Find line 49 and look for: color='#f2cb0b' | |
// #f2cb0b is the HTML color code for the text. As well as #FFFFFF in the row below it. | |
// Find the color code you want here: http://html-color-codes.info | |
// ===== | |
// ==== SCRIPT START ==== | |
waitUntil {!isNil "dayz_animalCheck"}; //remove this line completely to make it work in ArmA 3. Yes you read that correctly. | |
sleep 10; //Wait in seconds before the credits start after player IS ingame | |
_role1 = "Welcome to"; | |
_role1names = ["Your server name"]; | |
_role2 = "Admins"; | |
_role2names = ["ChuckNorris", "Eddie Morphine"]; | |
_role3 = "Server mod"; | |
_role3names = ["DayZ Epoch Chernarus"]; | |
_role4 = "Server antihack<br />by"; //The "by" in this row will be shown one row below "Server antihack". Can be applied to any role | |
_role4names = ["infiSTAR.de", "Blurgaming"]; | |
_role5 = "Server Mods"; | |
_role5names = ["Dynamic Spawns", "Self-bb", "Custom traders", "More mods"]; | |
_role6 = "Website"; | |
_role6names = ["yourwebsite.com"]; | |
_role7 = "Twitter"; | |
_role7names = ["@yourtwittername"]; | |
_role8 = "Email Support"; | |
_role8names = ["[email protected]"]; | |
_role9 = "Special Thanks"; | |
_role9names = ["DayZ.ST", "Blurgaming.com", "infiSTAR.de", "HFBservers.com", "ArmAholic.com", "OpendayZ.net", "DayZmod.com"]; | |
{ | |
sleep 2; | |
_memberFunction = _x select 0; | |
_memberNames = _x select 1; | |
_finalText = format ["<t size='0.40' color='#f2cb0b' align='right'>%1<br /></t>", _memberFunction]; | |
_finalText = _finalText + "<t size='0.70' color='#FFFFFF' align='right'>"; | |
{_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames; | |
_finalText = _finalText + "</t>"; | |
_onScreenTime + (((count _memberNames) - 1) * 0.5); | |
[ | |
_finalText, | |
[safezoneX + safezoneW - 0.8,0.50], //DEFAULT: 0.5,0.35 | |
[safezoneY + safezoneH - 0.8,0.7], //DEFAULT: 0.8,0.7 | |
_onScreenTime, | |
0.5 | |
] spawn BIS_fnc_dynamicText; | |
sleep (_onScreenTime); | |
} forEach [ | |
//The list below should have exactly the same amount of roles as the list above | |
[_role1, _role1names], | |
[_role2, _role2names], | |
[_role3, _role3names], | |
[_role4, _role4names], | |
[_role5, _role5names], | |
[_role6, _role6names], | |
[_role7, _role7names], | |
[_role8, _role8names], | |
[_role9, _role9names] //make SURE the last one here does NOT have a , at the end | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. Nice for Arma3: Altis Life:)