Inkko
Valued Member!
Here is what my description.ext looks like with some other scripts that conflicted with it.My Taviana .pbo already has numerous changes within it, what do I actually need to add/change in order to apply this script to my server?
Thanks in advance
Code:
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Taviana";
OnLoadIntro = "Welcome to Taviana";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,1,2,6};
enableItemsDropping = 0;
class Header
{
gameType = COOP; //DM, Team, Coop, ...
minPlayers = 1; //min # of players the mission supports
maxPlayers = 100; //Max # of players the mission supports
};
#include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"
aiKills = 1;
diagRadio = 1;
diagHit = 1;
//INCLUDE R3F
#include "R3F_ARTY_AND_LOG\desc_include.h"
//REMOVED RSCTITLES conflict with other scripts already defined
#include "R3F_ARTY_AND_LOG\desc_rsct_include.h"
class RscText
{
type = 0;
idc = -1;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
style = 0x100;
font = Zeppelin32;
SizeEx = 0.03921;
colorText[] = {1,1,1,1};
colorBackground[] = {0, 0, 0, 0};
linespacing = 1;
};
//REMOVED RSCPICTURE
class RscLoadingText : RscText
{
style = 2;
x = 0.323532;
y = 0.666672;
w = 0.352944;
h = 0.039216;
sizeEx = 0.03921;
colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
x = 0.344;
y = 0.619;
w = 0.313726;
h = 0.0261438;
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
colorFrame[] = {0,0,0,0};
colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
idc = -1;
type = 45;
style = 0;
x = 0.022059;
y = 0.911772;
w = 0.029412;
h = 0.039216;
texture = "#(argb,8,8,3)color(0,0,0,0)";
};
//
// the loading screen itself
//
class DayZ_loadingScreen
{
idd = -1;
duration = 10e10;
fadein = 0;
fadeout = 0;
name = "loading screen";
class controlsBackground
{
class blackBG : RscText
{
x = safezoneX;
y = safezoneY;
w = safezoneW;
h = safezoneH;
text = "";
colorText[] = {0,0,0,0};
colorBackground[] = {0,0,0,1};
};
/*
class nicePic : RscPicture
{
style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
x = safezoneX + safezoneW/2 - 0.25;
y = safezoneY + safezoneH/2 - 0.2;
w = 0.5;
h = 0.4;
text = "img\nicePic.paa";
};
*/
};
class controls
{
class Title1 : RscLoadingText
{
text = "$STR_LOADING"; // "Loading" text in the middle of the screen
};
class CA_Progress : RscProgress // progress bar, has to have idc 104
{
idc = 104;
type = 8; // CT_PROGRESS
style = 0; // ST_SINGLE
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
};
class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
{
idc = 103;
};
class Name2: RscText // the text on the top-left
{
idc = 101;
x = 0.05;
y = 0.029412;
w = 0.9;
h = 0.04902;
text = "";
sizeEx = 0.05;
colorText[] = {0.543,0.5742,0.4102,1.0};
};
};
};
Code:
startLoadingScreen ["","DayZ_loadingScreen"];
enableSaving [false, false];
dayZ_instance = 3486; //The instance
hiveInUse = true;
initialized = false;
dayz_previousID = 0;
_logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
// (Taviana) Override some of the variables:
call compile preprocessFileLineNumbers "\kh\dayztaviana\init\variables.sqf";
// Load in the settings compiles:
call compile preprocessFileLineNumbers "\kh\dayztaviana\settingsinit\kh_compiles.sqf";
diag_log "Started executing user settings file.";
call compile preprocessFileLineNumbers "settings.sqf";
diag_log "Finished executing user settings file.";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
// (Taviana) Don't call the regular compile:
// call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
// (Taviana) Instead, call a copy of the DayZ 1.7.4.4 compiles:
call compile preprocessFileLineNumbers "\kh\dayztaviana\init\compiles.sqf"; //Compile regular functions
// (Taviana) Set up the for maule multiplayer prop hit support:
call compile preprocessFileLineNumbers "\khr\maule\scripts\maule_init.sqf";
/*
The Bliss package system works a bit like sticking your arm in a bunch
of snake nests and noticing you don't always get bitten. In this case
we got bitten; this line is to fool the merge process:
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
*/
progressLoadingScreen 1.0;
player setVariable ["BIS_noCoreConversations", true];
enableRadio false;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
if (isServer) then {
hiveInUse = true;
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
};
if (!isDedicated) then {
0 fadeSound 0;
0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
};
// Extra actions for Taviana:
if (!isDedicated) then {
[] execVM "kh_actions.sqf";
};
//R3F EXECVM
execVM "R3F_ARTY_AND_LOG\init.sqf"