Advertisement
Guest User

Server_WelcomeCredits.sqf Manny

a guest
May 15th, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. // FILENAME: server_WelcomeCredits.sqf
  2. // =====
  3. // SCRIPT NAME: Server Intro Credits Script by IT07
  4. // SCRIPT VERSION: v1.3.7 BETA
  5. // Credits for original script: Bohemia Interactive http://bistudio.com
  6.  
  7. // ========== SCRIPT CONFIG ============
  8. _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
  9. //NOTE: Above value is not in seconds. It is percentage. Default: 6
  10.  
  11. // ==== CUSTOMIZING THE CREDITS ===
  12. // If you want more or less credits on the screen, you have to add/remove roles.
  13. // Watch out though, you need to make sure BOTH role lists match eachother in terms of amount.
  14. // Just take a good look at the _role1 and the rest and you will see what I mean.
  15.  
  16. // == CUSTOMIZING TEXT COLOR ==
  17. // Find line 49 and look for: color='#f2cb0b'
  18. // #f2cb0b is the HTML color code for the text. As well as #FFFFFF in the row below it.
  19. // Find the color code you want here: http://html-color-codes.info
  20. // =====
  21.  
  22. // ==== SCRIPT START ====
  23. waitUntil {!isNil "dayz_animalCheck"};
  24. sleep 10; //Wait in seconds before the credits start after player IS ingame
  25.  
  26. _role1 = "Welcome to";
  27. _role1names = ["LTG DayZ Epoch"];
  28. _role2 = "Admins";
  29. _role2names = ["LTG Nick", "LTG Woolly Mammoth", "LTG Manny",];
  30. _role3 = "Server mod";
  31. _role3names = ["DayZ Epoch Chernarus"];
  32. _role4 = "This Server has an actively updated antihack"; //The "by" in this row will be shown one row below "Server antihack". Can be applied to any role
  33. _role4names = ["infiSTAR.de", "Blurgaming"];
  34. _role5 = "Server Mods";
  35. _role5names = ["Dynamic Spawns", "Self-bb", "Custom traders", "More mods"];
  36. _role6 = "Website";
  37. _role6names = ["dayzltg.com"];
  38. _role7 = "Teamspeak";
  39. _role7names = ["ts3.mcplotmadness.com"];
  40. _role8 = "Email Support";
  41. _role8names = ["@gmx.us"];
  42. _role9 = "Special Thanks";
  43. _role9names = ["infiSTAR.de", "ArmAholic.com", "OpendayZ.net", "DayZmod.com"];
  44.  
  45. {
  46. sleep 2;
  47. _memberFunction = _x select 0;
  48. _memberNames = _x select 1;
  49. _finalText = format ["<t size='0.40' color='#f2cb0b' align='right'>%1<br /></t>", _memberFunction];
  50. _finalText = _finalText + "<t size='0.70' color='#FFFFFF' align='right'>";
  51. {_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames;
  52. _finalText = _finalText + "</t>";
  53. _onScreenTime + (((count _memberNames) - 1) * 0.5);
  54. [
  55. _finalText,
  56. [safezoneX + safezoneW - 0.8,0.50], //DEFAULT: 0.5,0.35
  57. [safezoneY + safezoneH - 0.8,0.7], //DEFAULT: 0.8,0.7
  58. _onScreenTime,
  59. 0.5
  60. ] spawn BIS_fnc_dynamicText;
  61. sleep (_onScreenTime);
  62. } forEach [
  63. //The list below should have exactly the same amount of roles as the list above
  64. [_role1, _role1names],
  65. [_role2, _role2names],
  66. [_role3, _role3names],
  67. [_role4, _role4names],
  68. [_role5, _role5names],
  69. [_role6, _role6names],
  70. [_role7, _role7names],
  71. [_role8, _role8names],
  72. [_role9, _role9names] //make SURE the last one here does NOT have a , at the end
  73. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement