[RELEASE] Dichina Base

Discussion in 'Map Additions' started by bajaboy1972, Mar 16, 2014.

  1. bajaboy1972

    bajaboy1972 Well-Known Member

    Joined:
    Jun 9, 2013
    Messages:
    202
    Likes Received:
    19
    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: Feb 7, 2015
  2. bajaboy1972

    bajaboy1972 Well-Known Member

    Joined:
    Jun 9, 2013
    Messages:
    202
    Likes Received:
    19
    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: Mar 19, 2014
  3. Gizmo

    Gizmo New Member

    Joined:
    Feb 21, 2014
    Messages:
    15
    Likes Received:
    2
    Hi, just wondering where I might find the base.sqf file please? I am running this on Overwatch.
     
  4. LTGNick

    LTGNick Valued Member!

    Joined:
    Feb 27, 2014
    Messages:
    480
    Likes Received:
    36
    Looks good and also where could i find a debug like that?
     
  5. bajaboy1972

    bajaboy1972 Well-Known Member

    Joined:
    Jun 9, 2013
    Messages:
    202
    Likes Received:
    19
    Its included.....the file at the top of the post.
     
    Gizmo likes this.
  6. bajaboy1972

    bajaboy1972 Well-Known Member

    Joined:
    Jun 9, 2013
    Messages:
    202
    Likes Received:
    19
    http://198.8.80.44/DAYZ_Files/

    Add to your init file
    //Debug
    [] ExecVM "debug\functions.sqf";

    Theres a lot of extra stuff in that debug that I haven't really figured out yet. Not sure where I got it.
     
    Gizmo likes this.
  7. LTGNick

    LTGNick Valued Member!

    Joined:
    Feb 27, 2014
    Messages:
    480
    Likes Received:
    36
    ah okay thanks man ive been looking for stuff like this
     
  8. LTGNick

    LTGNick Valued Member!

    Joined:
    Feb 27, 2014
    Messages:
    480
    Likes Received:
    36
    Would you happen to know why in humanity it says Any?
     
  9. bajaboy1972

    bajaboy1972 Well-Known Member

    Joined:
    Jun 9, 2013
    Messages:
    202
    Likes Received:
    19
    Not sure...
     
  10. Chris Atkins

    Chris Atkins Valued Member!

    Joined:
    Aug 28, 2013
    Messages:
    407
    Likes Received:
    52
    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.
     
  11. Gizmo

    Gizmo New Member

    Joined:
    Feb 21, 2014
    Messages:
    15
    Likes Received:
    2
    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.
     
  12. bajaboy1972

    bajaboy1972 Well-Known Member

    Joined:
    Jun 9, 2013
    Messages:
    202
    Likes Received:
    19
    I wish I could say yes....My son made that base a while back and lost those files in a format :(
     
  13. bajaboy1972

    bajaboy1972 Well-Known Member

    Joined:
    Jun 9, 2013
    Messages:
    202
    Likes Received:
    19
    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
     
  14. ThreePlus

    ThreePlus Member

    Joined:
    May 1, 2013
    Messages:
    34
    Likes Received:
    5
    I can't seem to download the file. Maybe reupload it?
     
    |pwn3d|Nexus likes this.
  15. rocky123xo

    rocky123xo Member

    Joined:
    Jul 5, 2013
    Messages:
    49
    Likes Received:
    9
    Links are dead for me as well.
     
    |pwn3d|Nexus likes this.
  16. stig

    stig Member

    Joined:
    Jan 15, 2013
    Messages:
    76
    Likes Received:
    8
    Bumpety bump bump!

    Anyone got this that can upload?

    Thx in advance!
     
  17. DemonsGo

    DemonsGo New Member

    Joined:
    Nov 19, 2013
    Messages:
    3
    Likes Received:
    0
    Please,Reload this scripts and rar archives! Thank u!
     
  18. DemonsGo

    DemonsGo New Member

    Joined:
    Nov 19, 2013
    Messages:
    3
    Likes Received:
    0
    bajaboy1972 help with this 1-more time!
     
  19. Pitbull

    Pitbull New Member

    Joined:
    Jul 1, 2014
    Messages:
    17
    Likes Received:
    0

    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
     
  20. DRussta

    DRussta New Member

    Joined:
    Dec 27, 2014
    Messages:
    3
    Likes Received:
    0
    Would really like to get this But Download link is not working????
     

Share This Page