[RELEASE] Dichina Base

bajaboy1972

Well-Known Member
File : dichina.rar
http://69.30.227.58/dichina.rar
Base has secured entrance gate controlled by UID based infostands. There is also separate sections within main base that can be accessed via infostand.




For the Infostands to work you will need to add the following code (below) to your FN_SelfActions

Code:
    // Infostand object removal
    if(cursorTarget isKindOf "Infostand_1_EP1" and _canDo) then {
        if (s_player_infoStand < 0) then {
            s_player_infoStand = player addAction ["Activate Infostand", "infostand\infostand.sqf",cursorTarget, 1, true, true, "", ""];
        };
    } else {
        player removeAction s_player_infoStand;
        s_player_infoStand = -1;
    };
You will also need to add the below coder under the following line in your init.sqf
"if (!isDedicated) then {"
Code:
//Gates
    [] execVM "infostand\kh_door.sqf";
So it should look something like this...
Code:
if (!isDedicated) then {
[] execVM "compile\Server_WelcomeCredits.sqf";
    //Conduct map operations
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
    //Gates
    [] execVM "infostand\kh_door.sqf";
You then will need to add the included folder into your mpmission folder on your server.

File : Infostand.rar
http://69.30.227.58/infostand.rar
You will also need to add a line in your init.sqf that adds an admin list so that only certain people will have access to be able to open the gates.This code gets added under the following line.

//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;

Looks like this :
Code:
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
adminList = ["123456789"];
UID's can also be added to each separate gate within base by changing the following in the base.sqf file.

Code:
//Entrance
_vehicle_427 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3931.7629, 8048.0396], [], 0, "CAN_COLLIDE"];
  _vehicle_427 = _this;
  _this setDir -71.581108;
  _this setPos [3931.7629, 8048.0396];
};

_vehicle_428 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3932.5757, 8050.4653, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_428 = _this;
  _this setDir -72.070648;
  _this setPos [3932.5757, 8050.4653, 3.0517578e-005];
};

_vehicle_429 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3943.0442, 8047.1294, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_429 = _this;
  _this setDir -75.215157;
  _this setPos [3943.0442, 8047.1294, -3.0517578e-005];
};

_vehicle_430 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3942.3958, 8044.8779], [], 0, "CAN_COLLIDE"];
  _vehicle_430 = _this;
  _this setDir -71.855751;
  _this setPos [3942.3958, 8044.8779];
};

_vehicle_431 = objNull;
if (true) then
{
  _this = createVehicle ["Infostand_1_EP1", [3944.9207, 8049.2227, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_431 = _this;
  _this setPos [3944.9207, 8049.2227, 0];
  _this setVariable ["TargetBuilding",[_vehicle_427,_vehicle_428,_vehicle_429,_vehicle_430],true];
  _this setVariable ["AllowRemoval",1,true];
  _this setVariable ["AllowedList", ["123456789"true];
};

_vehicle_432 = objNull;
if (true) then
{
  _this = createVehicle ["Infostand_1_EP1", [3930.2793, 8046.7778, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_432 = _this;
  _this setPos [3930.2793, 8046.7778, 0];
  _this setVariable ["TargetBuilding",[_vehicle_427,_vehicle_428,_vehicle_429,_vehicle_430],true];
  _this setVariable ["AllowRemoval",1,true];
  _this setVariable ["AllowedList", ["123456789"], true];
};
//MrGrimm
//Entrance End
 
Last edited:

bajaboy1972

Well-Known Member
Make sure to run the base server side by doing the following.

Extract dichina.rar and place the .sqf file into your day_server/buildings/

If you don't have a buildings folder , create one.

Then call the file by doing the following:
Add this line to your dayz_server/system/server_monitor.sqf
Code:
//Buildings

call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\dichina.sqf"
 
Last edited:
Is it possible to get both the mission.sqf and .biedi? I'd like to change the folder extension to .mbg_celle2 and find a place to drag the base in an area that would fit it on Celle for my Epidemic server.
 

Gizmo

New Member
All running good, just wondering however, how do we get the camera system working like in the video please?
Otherwise is an awesome addon. Many thanks.
 

bajaboy1972

Well-Known Member
Is it possible to get both the mission.sqf and .biedi? I'd like to change the folder extension to .mbg_celle2 and find a place to drag the base in an area that would fit it on Celle for my Epidemic server.
I wish I could say yes....My son made that base a while back and lost those files in a format :(
 

bajaboy1972

Well-Known Member
All running good, just wondering however, how do we get the camera system working like in the video please?
Otherwise is an awesome addon. Many thanks.
There is a couple different options for that...if you can hop on my TS. Ill be on all day. Ill help you out.

ts3.zombiebattalion.net:9285
 
File : dichina.rar
http://198.8.80.44/DAYZ_Maps/dichina.rar

Base has secured entrance gate controlled by UID based infostands. There is also separate sections within main base that can be accessed via infostand.




For the Infostands to work you will need to add the following code (below) to your FN_SelfActions

Code:
    // Infostand object removal
    if(cursorTarget isKindOf "Infostand_1_EP1" and _canDo) then {
        if (s_player_infoStand < 0) then {
            s_player_infoStand = player addAction ["Activate Infostand", "infostand\infostand.sqf",cursorTarget, 1, true, true, "", ""];
        };
    } else {
        player removeAction s_player_infoStand;
        s_player_infoStand = -1;
    };
You will also need to add the below coder under the following line in your init.sqf
"if (!isDedicated) then {"
Code:
//Gates
    [] execVM "infostand\kh_door.sqf";
So it should look something like this...
Code:
if (!isDedicated) then {
[] execVM "compile\Server_WelcomeCredits.sqf";
    //Conduct map operations
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
    //Gates
    [] execVM "infostand\kh_door.sqf";
You then will need to add the included folder into your mpmission folder on your server.

File : Infostand.rar
http://198.8.80.44/DAYZ_Maps/infostand.rar

You will also need to add a line in your init.sqf that adds an admin list so that only certain people will have access to be able to open the gates.This code gets added under the following line.

//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;

Looks like this :
Code:
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
adminList = ["123456789"];
UID's can also be added to each separate gate within base by changing the following in the base.sqf file.

Code:
//Entrance
_vehicle_427 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3931.7629, 8048.0396], [], 0, "CAN_COLLIDE"];
  _vehicle_427 = _this;
  _this setDir -71.581108;
  _this setPos [3931.7629, 8048.0396];
};

_vehicle_428 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3932.5757, 8050.4653, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_428 = _this;
  _this setDir -72.070648;
  _this setPos [3932.5757, 8050.4653, 3.0517578e-005];
};

_vehicle_429 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3943.0442, 8047.1294, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_429 = _this;
  _this setDir -75.215157;
  _this setPos [3943.0442, 8047.1294, -3.0517578e-005];
};

_vehicle_430 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3942.3958, 8044.8779], [], 0, "CAN_COLLIDE"];
  _vehicle_430 = _this;
  _this setDir -71.855751;
  _this setPos [3942.3958, 8044.8779];
};

_vehicle_431 = objNull;
if (true) then
{
  _this = createVehicle ["Infostand_1_EP1", [3944.9207, 8049.2227, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_431 = _this;
  _this setPos [3944.9207, 8049.2227, 0];
  _this setVariable ["TargetBuilding",[_vehicle_427,_vehicle_428,_vehicle_429,_vehicle_430],true];
  _this setVariable ["AllowRemoval",1,true];
  _this setVariable ["AllowedList", ["123456789"true];
};

_vehicle_432 = objNull;
if (true) then
{
  _this = createVehicle ["Infostand_1_EP1", [3930.2793, 8046.7778, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_432 = _this;
  _this setPos [3930.2793, 8046.7778, 0];
  _this setVariable ["TargetBuilding",[_vehicle_427,_vehicle_428,_vehicle_429,_vehicle_430],true];
  _this setVariable ["AllowRemoval",1,true];
  _this setVariable ["AllowedList", ["123456789"], true];
};
//MrGrimm
//Entrance End
Please,Reload this scripts and rar archives! Thank u!
 
File : dichina.rar
http://198.8.80.44/DAYZ_Maps/dichina.rar

Base has secured entrance gate controlled by UID based infostands. There is also separate sections within main base that can be accessed via infostand.




For the Infostands to work you will need to add the following code (below) to your FN_SelfActions

Code:
    // Infostand object removal
    if(cursorTarget isKindOf "Infostand_1_EP1" and _canDo) then {
        if (s_player_infoStand < 0) then {
            s_player_infoStand = player addAction ["Activate Infostand", "infostand\infostand.sqf",cursorTarget, 1, true, true, "", ""];
        };
    } else {
        player removeAction s_player_infoStand;
        s_player_infoStand = -1;
    };
You will also need to add the below coder under the following line in your init.sqf
"if (!isDedicated) then {"
Code:
//Gates
    [] execVM "infostand\kh_door.sqf";
So it should look something like this...
Code:
if (!isDedicated) then {
[] execVM "compile\Server_WelcomeCredits.sqf";
    //Conduct map operations
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
    //Gates
    [] execVM "infostand\kh_door.sqf";
You then will need to add the included folder into your mpmission folder on your server.

File : Infostand.rar
http://198.8.80.44/DAYZ_Maps/infostand.rar

You will also need to add a line in your init.sqf that adds an admin list so that only certain people will have access to be able to open the gates.This code gets added under the following line.

//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;

Looks like this :
Code:
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
adminList = ["123456789"];
UID's can also be added to each separate gate within base by changing the following in the base.sqf file.

Code:
//Entrance
_vehicle_427 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3931.7629, 8048.0396], [], 0, "CAN_COLLIDE"];
  _vehicle_427 = _this;
  _this setDir -71.581108;
  _this setPos [3931.7629, 8048.0396];
};
 
_vehicle_428 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3932.5757, 8050.4653, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_428 = _this;
  _this setDir -72.070648;
  _this setPos [3932.5757, 8050.4653, 3.0517578e-005];
};
 
_vehicle_429 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3943.0442, 8047.1294, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_429 = _this;
  _this setDir -75.215157;
  _this setPos [3943.0442, 8047.1294, -3.0517578e-005];
};
 
_vehicle_430 = objNull;
if (true) then
{
  _this = createVehicle ["Concrete_Wall_EP1", [3942.3958, 8044.8779], [], 0, "CAN_COLLIDE"];
  _vehicle_430 = _this;
  _this setDir -71.855751;
  _this setPos [3942.3958, 8044.8779];
};
 
_vehicle_431 = objNull;
if (true) then
{
  _this = createVehicle ["Infostand_1_EP1", [3944.9207, 8049.2227, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_431 = _this;
  _this setPos [3944.9207, 8049.2227, 0];
  _this setVariable ["TargetBuilding",[_vehicle_427,_vehicle_428,_vehicle_429,_vehicle_430],true];
  _this setVariable ["AllowRemoval",1,true];
  _this setVariable ["AllowedList", ["123456789"true];
};
 
_vehicle_432 = objNull;
if (true) then
{
  _this = createVehicle ["Infostand_1_EP1", [3930.2793, 8046.7778, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_432 = _this;
  _this setPos [3930.2793, 8046.7778, 0];
  _this setVariable ["TargetBuilding",[_vehicle_427,_vehicle_428,_vehicle_429,_vehicle_430],true];
  _this setVariable ["AllowRemoval",1,true];
  _this setVariable ["AllowedList", ["123456789"], true];
};
//MrGrimm
//Entrance End

Thanks for your hard work but the links don't work anymore. Could you please fix this issue, looks like many have tried to download without any success
 
Top