Hi, I am running Epoch server v.1.0.4.2 and I am having trouble with the welcome credits for when people join the server.
The scripts are from here ~ http://opendayz.net/threads/dayz-welcome-message-credits-style.13071/
Since it was not working, I tried moving the Server_WelcomeCredits.sqf to another folder called 'welcome' in the same directory. That is the only reason why my files say 'welcome\Server_WelcomeCredits.sqf'
My mission.pbo init.sqf file ~ here.
My mission.pbo \welcome\Server_WelcomeCredits.sqf file ~ here.
Per instruction, I placed [] execVM "welcome\Server_WelcomeCredits.sqf"; between the lines
to make
I have tried seeing if the [] execVM "welcome\Server_WelcomeCredits.sqf"; was actually executing in the first place by making it search for the server_welcomecredits in the wrong folder, and it came up as a script not found error. So that tells me it's seeing the script but it's not doing anything.
I have tried looking around for an answer but haven't found one, any help would be most appreciated, and if anyone has had experience with Epoch and wouldn't mind helping a new guy in the field that would be awesome.
Thanks in advance
EDIT: RESOLVED - Thanks to SchwEde's comment ~
Basically by using v1.3.4 of Server_WelcomeCredits.sqf -
The scripts are from here ~ http://opendayz.net/threads/dayz-welcome-message-credits-style.13071/
Since it was not working, I tried moving the Server_WelcomeCredits.sqf to another folder called 'welcome' in the same directory. That is the only reason why my files say 'welcome\Server_WelcomeCredits.sqf'
My mission.pbo init.sqf file ~ here.
My mission.pbo \welcome\Server_WelcomeCredits.sqf file ~ here.
Per instruction, I placed [] execVM "welcome\Server_WelcomeCredits.sqf"; between the lines
Code:
if (!isDedicated) then {
//Conduct map operations
to make
Code:
if (!isDedicated) then {
[] execVM "welcome\Server_WelcomeCredits.sqf";
//Conduct map operations
I have tried seeing if the [] execVM "welcome\Server_WelcomeCredits.sqf"; was actually executing in the first place by making it search for the server_welcomecredits in the wrong folder, and it came up as a script not found error. So that tells me it's seeing the script but it's not doing anything.
I have tried looking around for an answer but haven't found one, any help would be most appreciated, and if anyone has had experience with Epoch and wouldn't mind helping a new guy in the field that would be awesome.
Thanks in advance
EDIT: RESOLVED - Thanks to SchwEde's comment ~
Basically by using v1.3.4 of Server_WelcomeCredits.sqf -
Code:
/* *********************************************************************** */
/* =======================================================================
/* SCRIPT NAME: Server Intro Credits Script by IT07
/* SCRIPT VERSION: v1.3.4 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!
// ==== HOW TO CUSTOMIZE 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.
// For further explanation of it all, I included some info in the code.
// == HOW TO CUSTOMIZE THE COLOR OF CREDITS ==
// Find line **** and look for: color='#f2cb0b'
// The numbers and letters between the 2 '' is the HTML color code for a certain yellow.
// If you want to change the color of the text, search on google for HTML color codes and pick the one your like.
// Then, replace the existing color code for the code you would like to use instead. Don't forget the # in front of it.
// HTML Color Codes Examples:
// #FFFFFF (white)
// #000000 (black) No idea why you would want black, but whatever
// #C80000 (red)
// #009FCF (light-blue)
// #31C300 (Razer Green)
// #FF8501 (orange)
// ===========================================
// SCRIPT START
waitUntil { alive player };
sleep 2;
waituntil {!isnull (finddisplay 46)};
sleep 35; //Wait in seconds before the credits start after player loads into the game
_role1 = "Welcome to";
_role1names = ["123"];
_role2 = "Admins";
_role2names = ["SchwEde"];
_role3 = "Server mod";
_role3names = ["DayZ Chernarus"];
_role4 = "Useful Information"; //The "by" in this row will be shown one row below "Server antihack". Can be applied to any role
_role4names = ["Bla Bla hier"];
_role5 = "Server Mods";
_role5names = ["Bla Bla nicht hier"];
_role6 = "Website";
_role6names = ["asddde.de"];
_role7 = "Teamspeak";
_role7names = ["pssss"];
_role8 = "Email Support";
_role8names = ["@gmail"];
_role9 = "Special Thanks";
_role9names = ["OpenDayZ.net", "rosska85", "infiSTAR"];
{
sleep 2;
_memberFunction = _x select 0;
_memberNames = _x select 1;
_finalText = format ["<t size='0.40' color='#FF8501' align='right'>%1<br /></t>", _memberFunction];
_finalText = _finalText + "<t size='0.65' color='#FFFFFF' align='right'>";
{_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames;
_finalText = _finalText + "</t>";
_onScreenTime + (((count _memberNames) - 1) * 0.5);
[
_finalText,
[safezoneX + safezoneW - 1.8,0.35],
[safezoneY + safezoneH - 0.8,0.7],
_onScreenTime,
0.5
] spawn BIS_fnc_dynamicText;
sleep 7;
} 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
];
Last edited: