Jump to content
  • 0

new custom buildings not showing


FreaksV2.0

Question

I ran into something weird while trying to set up a new town kamenka. I got it to work in the mpmission files, by editing the init.sqf file, but when I take it out of there to load from server side it wont load in. I don't get no error messages, its just not there.

 

I loaded the file into the dayz_server.pbo, in newbuildings/kamenka.sqf.

Then I edited the server_functions.sqf with this line at the bottom [] execVM "\z\addons\dayz_server\newbuildings\kamenka.sqf"; and nothing happens

 

So what am I overlooking her, any help will do.

 

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

Hi Freaks,

 

Create a new .sqf called execution in your newbuildings folder.

 

add this to it and then any other building you want to add after that;

 

call compile preprocessFileLineNumbers "\z\addons\dayz_server\newbuildings\kamenka.sqf";

 

(so if you had say 4 custom building .sqf's , your execution.sqf would look like this;

call compile preprocessFileLineNumbers "\z\addons\dayz_server\newbuildings\kamenka.sqf";

call compile preprocessFileLineNumbers "\z\addons\dayz_server\newbuildings\EXAMPLE1.sqf";

call compile preprocessFileLineNumbers "\z\addons\dayz_server\newbuildings\EXAMPLE2.sqf";

call compile preprocessFileLineNumbers "\z\addons\dayz_server\newbuildings\EXAMPLE3.sqf";

)

 

 

change the line at the very bottom of your server_functions.sqf to this;

 

execVM "\z\addons\dayz_server\newbuildings\execution.sqf";

 

You shouldn't have any issue now.

Link to comment
Share on other sites

  • 0

nope now I'm getting a long loop of requesting authentication, then about 50 sec in I get "you must be close to mine ore" then nothing but logo screen.

 

1. this is what I did a new file named newbuildings in the dayz_server.pbo,

 

2. in that file 2 .sqf files named execution.sqf & kamenka.sqf,

 

3. execution.sqf is edited with  call compile preprocessFileLineNumbers "\z\addons\dayz_server\newbuildings\kamenka.sqf";

 

4. then edited the server_functions.sqf with this  execVM "\z\addons\dayz_server\newbuildings\execution.sqf";

 

Do you think it might be the kamenka.sqf file itself, this is where i got it from https://github.com/IanHardy/ChernarusBuildings/blob/master/kamenka.sqf .

 

I just don't understand, why does it work in mpmission files and not server side.

Link to comment
Share on other sites

  • 0

Ok I got it to work, this is what I did.

 

1. create a folder named newbuildings.

 

2. moved my .sqf (kamenka.sqf) files into the newbuildings folder

 

3. edited the kamenka.sqf file by taking out  "if (isServer) then { _vehicle_1 = objNull; if (true) then" line, anything above that like title or who made it, and }; at the bottom so its nothing but codes.

 

4. I moved the whole folder into the dayz_server.pbo

 

5. I edited the dayz_server\init\server_functions with this at the bottom [] ExecVM "\z\addons\dayz_server\newbuildings\kamenka.sqf"; with no closing }; at the end.

 

6. booted up my server, it took a little longer to log in but not bad. Then "badda bing" it worked.

Link to comment
Share on other sites

  • 0

Offtopic. ICE, you shut down your server?

Kind of, I dont really have the patiance to run it. Its great but the constant hack using is such a pain that I only use it sometimes with friends. Gives me more time to concentrate on custom things and enjoy playing on others! If you want anything, or a hand with yours let me know. A burden shared etc.

 

Ive been working on a few things for the lingor map recently.......

Link to comment
Share on other sites

  • 0

Hi guys,

 

i hope you can help me. I'm working on map additions for 3 days now.

 

My problem is that i cant see the objects/buildings i added. They aren't just there? No collision or anything...

 

in my dayz_server.pbo:

 

maps\mapedit.sqf

_bldObj_1484 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Shed", [380.97571, 24870.688, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1484 = _this;
  _this setPos [380.97571, 24870.688, 2.8610229e-006];
};

_bldObj_1485 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Guardhouse", [608.34406, 24379.836, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1485 = _this;
  _this setDir -38.972935;
  _this setPos [608.34406, 24379.836, 1.9073486e-005];
};

_bldObj_1486 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_PowGen_Big", [390.79739, 24493.631, -5.1498413e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1486 = _this;
  _this setDir 100.44908;
  _this setPos [390.79739, 24493.631, -5.1498413e-005];
};

_bldObj_1487 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_CamoNet_NATO", [292.27322, 24601.984], [], 0, "CAN_COLLIDE"];
  _bldObj_1487 = _this;
  _this setDir 175.05156;
  _this setPos [292.27322, 24601.984];
};

_bldObj_1488 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_CamoNet_EAST_var1", [336.01419, 24603.289, 2.3841858e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1488 = _this;
  _this setPos [336.01419, 24603.289, 2.3841858e-006];
};

_bldObj_1489 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Pristresek", [288.59882, 24583.947, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1489 = _this;
  _this setPos [288.59882, 24583.947, 2.8610229e-006];
};

_bldObj_1490 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_obihacka", [623.17639, 24358.73, 9.059906e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1490 = _this;
  _this setDir 230.39415;
  _this setPos [623.17639, 24358.73, 9.059906e-005];
};

_bldObj_1491 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_fort_watchtower", [587.03723, 24332.689, 0.00042295456], [], 0, "CAN_COLLIDE"];
  _bldObj_1491 = _this;
  _this setDir -35.637928;
  _this setPos [587.03723, 24332.689, 0.00042295456];
};

_bldObj_1492 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_fortified_nest_big", [603.98041, 24326.668, 0.00024366379], [], 0, "CAN_COLLIDE"];
  _bldObj_1492 = _this;
  _this setDir -36.327049;
  _this setPos [603.98041, 24326.668, 0.00024366379];
};

_bldObj_1493 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Fortress_02", [654.46277, 24341.975, -1.9550323e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1493 = _this;
  _this setDir 223.86116;
  _this setPos [654.46277, 24341.975, -1.9550323e-005];
};

_bldObj_1494 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_GuardShed", [656.49072, 24292.434, 7.2002411e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1494 = _this;
  _this setDir -10.954136;
  _this setPos [656.49072, 24292.434, 7.2002411e-005];
};

_bldObj_1495 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Pristresek_mensi", [650.17719, 24348.939, -3.3855438e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1495 = _this;
  _this setDir 580.43048;
  _this setPos [650.17719, 24348.939, -3.3855438e-005];
};

_bldObj_1496 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_MASH", [574.0285, 24338.949, -9.2506409e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1496 = _this;
  _this setDir 61.840145;
  _this setPos [574.0285, 24338.949, -9.2506409e-005];
};

_bldObj_1497 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Stan", [491.39874, 24470.521, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _bldObj_1497 = _this;
  _this setDir 312.9295;
  _this setPos [491.39874, 24470.521, 9.5367432e-007];
};

_bldObj_1498 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_tent2_west", [460.04456, 24457.869, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1498 = _this;
  _this setDir 51.343689;
  _this setPos [460.04456, 24457.869, 1.9073486e-006];
};

_bldObj_1499 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_tent_east", [379.57764, 24441.039, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _bldObj_1499 = _this;
  _this setDir 161.64391;
  _this setPos [379.57764, 24441.039, 9.5367432e-007];
};

_bldObj_1500 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Barbedwire", [676.83179, 24254.852, 0.00010490417], [], 0, "CAN_COLLIDE"];
  _bldObj_1500 = _this;
  _this setDir -65.409859;
  _this setPos [676.83179, 24254.852, 0.00010490417];
};

_bldObj_1501 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Barbedwire", [678.74683, 24259.586], [], 0, "CAN_COLLIDE"];
  _bldObj_1501 = _this;
  _this setDir -67.845322;
  _this setPos [678.74683, 24259.586];
};

_bldObj_1502 = objNull;
if (true) then
{
  _this = createVehicle ["Land_BarGate2", [648.80823, 24280.57, -2.3841858e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1502 = _this;
  _this setDir -4.4415712;
  _this setPos [648.80823, 24280.57, -2.3841858e-006];
};

_bldObj_1503 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CamoNetB_NATO_EP1", [421.43073, 24551.805, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _bldObj_1503 = _this;
  _this setDir -0.9629705;
  _this setPos [421.43073, 24551.805, -9.5367432e-007];
};

_bldObj_1504 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [658.88312, 24282.037, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1504 = _this;
  _this setPos [658.88312, 24282.037, 1.9073486e-005];
};

_bldObj_1505 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [655.43243, 24281.773, -6.2942505e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1505 = _this;
  _this setDir -13.298439;
  _this setPos [655.43243, 24281.773, -6.2942505e-005];
};

_bldObj_1506 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [652.41205, 24281.143, -2.6702881e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1506 = _this;
  _this setDir -14.68742;
  _this setPos [652.41205, 24281.143, -2.6702881e-005];
};

_bldObj_1507 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [645.91364, 24282.074], [], 0, "CAN_COLLIDE"];
  _bldObj_1507 = _this;
  _this setDir 72.820442;
  _this setPos [645.91364, 24282.074];
};

_bldObj_1508 = objNull;
if (true) then
{
  _this = createVehicle ["Misc_concrete_High", [620.90417, 24352.092, 4.2915344e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1508 = _this;
  _this setDir 52.167858;
  _this setPos [620.90417, 24352.092, 4.2915344e-006];
};

_bldObj_1509 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [618.08563, 24351.504, 1.0490417e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1509 = _this;
  _this setDir 49.238327;
  _this setPos [618.08563, 24351.504, 1.0490417e-005];
};

_bldObj_1510 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [616.11261, 24353.867, -4.6730042e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1510 = _this;
  _this setDir 50.292942;
  _this setPos [616.11261, 24353.867, -4.6730042e-005];
};

_bldObj_1511 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [602.76196, 24369.541, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _bldObj_1511 = _this;
  _this setDir 50.292942;
  _this setPos [602.76196, 24369.541, 9.5367432e-007];
};

_bldObj_1512 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [605.15021, 24357.865, 0.00029373169], [], 0, "CAN_COLLIDE"];
  _bldObj_1512 = _this;
  _this setDir 50.292942;
  _this setPos [605.15021, 24357.865, 0.00029373169];
};

_bldObj_1513 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [606.35455, 24372.465, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _bldObj_1513 = _this;
  _this setDir 141.59235;
  _this setPos [606.35455, 24372.465, -9.5367432e-007];
};

_bldObj_1514 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [618.20569, 24343.184, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1514 = _this;
  _this setDir 232.3399;
  _this setPos [618.20569, 24343.184, 9.5367432e-006];
};

_bldObj_1515 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock", [604.26276, 24370.715, 8.5830688e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1515 = _this;
  _this setDir 137.93268;
  _this setPos [604.26276, 24370.715, 8.5830688e-005];
};

_bldObj_1516 = objNull;
if (true) then
{
  _this = createVehicle ["EntranceGate_EP1", [574.53857, 24402.799, 5.0544739e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1516 = _this;
  _this setDir -41.783066;
  _this setPos [574.53857, 24402.799, 5.0544739e-005];
};

_bldObj_1517 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Toilet", [578.28223, 24333.871, -0.00010728836], [], 0, "CAN_COLLIDE"];
  _bldObj_1517 = _this;
  _this setDir 508.03259;
  _this setPos [578.28223, 24333.871, -0.00010728836];
};

_bldObj_1518 = objNull;
if (true) then
{
  _this = createVehicle ["FlagCarrierArmex_EP1", [596.21259, 24329, 2.1934509e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1518 = _this;
  _this setPos [596.21259, 24329, 2.1934509e-005];
};

_bldObj_1519 = objNull;
if (true) then
{
  _this = createVehicle ["HeliH", [249.00566, 24641.094, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1519 = _this;
  _this setPos [249.00566, 24641.094, 1.9073486e-006];
};

_bldObj_1520 = objNull;
if (true) then
{
  _this = createVehicle ["HeliHRescue", [227.10423, 24641.381, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _bldObj_1520 = _this;
  _this setPos [227.10423, 24641.381, -9.5367432e-007];
};

_bldObj_1521 = objNull;
if (true) then
{
  _this = createVehicle ["HeliHCivil", [201.07378, 24641.217, -0.00011444092], [], 0, "CAN_COLLIDE"];
  _bldObj_1521 = _this;
  _this setPos [201.07378, 24641.217, -0.00011444092];
};

_bldObj_1522 = objNull;
if (true) then
{
  _this = createVehicle ["Fort_Barracks_USMC", [253.66716, 24586.604], [], 0, "CAN_COLLIDE"];
  _bldObj_1522 = _this;
  _this setPos [253.66716, 24586.604];
};

_bldObj_1523 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Antenna", [230.17706, 24554.752, 1.335144e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1523 = _this;
  _this setDir -6.0576172;
  _this setPos [230.17706, 24554.752, 1.335144e-005];
};

_bldObj_1524 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Barrack2_EP1", [412.40189, 24579.551, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1524 = _this;
  _this setDir 162.53999;
  _this setPos [412.40189, 24579.551, 1.9073486e-006];
};

_bldObj_1525 = objNull;
if (true) then
{
  _this = createVehicle ["Barrack2", [404.37354, 24577.93, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1525 = _this;
  _this setDir 163.96942;
  _this setPos [404.37354, 24577.93, 3.8146973e-006];
};

_bldObj_1526 = objNull;
if (true) then
{
  _this = createVehicle ["Bunker_PMC", [361.45007, 24761.094], [], 0, "CAN_COLLIDE"];
  _bldObj_1526 = _this;
  _this setDir 104.39967;
  _this setPos [361.45007, 24761.094];
};

_bldObj_1527 = objNull;
if (true) then
{
  _this = createVehicle ["Land_RedWhiteBarrier", [602.18738, 24361.527, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1527 = _this;
  _this setDir 50.829014;
  _this setPos [602.18738, 24361.527, 9.5367432e-006];
};

_bldObj_1528 = objNull;
if (true) then
{
  _this = createVehicle ["Land_RedWhiteBarrier", [643.75232, 24305.303, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1528 = _this;
  _this setPos [643.75232, 24305.303, -1.1444092e-005];
};

_bldObj_1529 = objNull;
if (true) then
{
  _this = createVehicle ["Sign_Danger", [677.67487, 24251.631, -5.9604645e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1529 = _this;
  _this setDir -72.853287;
  _this setPos [677.67487, 24251.631, -5.9604645e-005];
};

_bldObj_1530 = objNull;
if (true) then
{
  _this = createVehicle ["Sign_Checkpoint_US_EP1", [701.82294, 24240.871, 8.1062317e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1530 = _this;
  _this setDir -44.271286;
  _this setPos [701.82294, 24240.871, 8.1062317e-005];
};

_bldObj_1531 = objNull;
if (true) then
{
  _this = createVehicle ["RoadBarrier_long", [715.0246, 24213.932, -1.2397766e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1531 = _this;
  _this setDir -26.621992;
  _this setPos [715.0246, 24213.932, -1.2397766e-005];
};

_bldObj_1532 = objNull;
if (true) then
{
  _this = createVehicle ["WarfareBDepot", [352.50952, 24478.672, -2.8610229e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1532 = _this;
  _this setDir 90.193504;
  _this setPos [352.50952, 24478.672, -2.8610229e-005];
};

_bldObj_1533 = objNull;
if (true) then
{
  _this = createVehicle ["USMC_WarfareBArtilleryRadar", [344.55984, 24519.756, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1533 = _this;
  _this setPos [344.55984, 24519.756, 3.8146973e-006];
};

_bldObj_1534 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [289.96426, 24342.584, -7.2479248e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1534 = _this;
  _this setPos [289.96426, 24342.584, -7.2479248e-005];
};

_bldObj_1535 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [305.67578, 24342.563, -2.3841858e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1535 = _this;
  _this setPos [305.67578, 24342.563, -2.3841858e-006];
};

_bldObj_1536 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [321.35956, 24342.615, 0.00032186508], [], 0, "CAN_COLLIDE"];
  _bldObj_1536 = _this;
  _this setPos [321.35956, 24342.615, 0.00032186508];
};

_bldObj_1537 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [336.94565, 24342.43, -0.00011205673], [], 0, "CAN_COLLIDE"];
  _bldObj_1537 = _this;
  _this setPos [336.94565, 24342.43, -0.00011205673];
};

_bldObj_1538 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [352.62799, 24342.484, 0.00014972687], [], 0, "CAN_COLLIDE"];
  _bldObj_1538 = _this;
  _this setPos [352.62799, 24342.484, 0.00014972687];
};

_bldObj_1539 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [368.18658, 24342.389, 5.2452087e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1539 = _this;
  _this setPos [368.18658, 24342.389, 5.2452087e-006];
};

_bldObj_1540 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [375.04706, 24334.895, 0.00011444092], [], 0, "CAN_COLLIDE"];
  _bldObj_1540 = _this;
  _this setDir 88.141006;
  _this setPos [375.04706, 24334.895, 0.00011444092];
};

_bldObj_1541 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [382.50424, 24326.51, 9.393692e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1541 = _this;
  _this setDir 182.56462;
  _this setPos [382.50424, 24326.51, 9.393692e-005];
};

_bldObj_1542 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [397.44556, 24326.701, 2.2411346e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1542 = _this;
  _this setPos [397.44556, 24326.701, 2.2411346e-005];
};

_bldObj_1543 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [409.63406, 24326.381, -0.00030136108], [], 0, "CAN_COLLIDE"];
  _bldObj_1543 = _this;
  _this setPos [409.63406, 24326.381, -0.00030136108];
};

_bldObj_1544 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [424.83267, 24326.404, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1544 = _this;
  _this setPos [424.83267, 24326.404, 1.5258789e-005];
};

_bldObj_1545 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [440.4725, 24326.582, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _bldObj_1545 = _this;
  _this setPos [440.4725, 24326.582, -9.5367432e-007];
};

_bldObj_1546 = objNull;
if (true) then
{
  _this = createVehicle ["LAV25_HQ_unfolded", [321.78799, 24520.275, 0.0001411438], [], 0, "CAN_COLLIDE"];
  _bldObj_1546 = _this;
  _this setPos [321.78799, 24520.275, 0.0001411438];
};

_bldObj_1547 = objNull;
if (true) then
{
  _this = createVehicle ["USMC_WarfareBBarracks", [364.53867, 24517.74, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1547 = _this;
  _this setPos [364.53867, 24517.74, 1.9073486e-005];
};

_bldObj_1548 = objNull;
if (true) then
{
  _this = createVehicle ["USMC_WarfareBLightFactory", [389.49557, 24473.18, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1548 = _this;
  _this setPos [389.49557, 24473.18, 1.1444092e-005];
};

_bldObj_1549 = objNull;
if (true) then
{
  _this = createVehicle ["USMC_WarfareBAntiAirRadar", [371.23782, 24572.953, 2.8610229e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1549 = _this;
  _this setPos [371.23782, 24572.953, 2.8610229e-005];
};

_bldObj_1550 = objNull;
if (true) then
{
  _this = createVehicle ["USMC_WarfareBAircraftFactory", [442.73383, 24504.148, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1550 = _this;
  _this setPos [442.73383, 24504.148, 2.2888184e-005];
};

_bldObj_1551 = objNull;
if (true) then
{
  _this = createVehicle ["USMC_WarfareBHeavyFactory", [334.63956, 24422.914, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1551 = _this;
  _this setDir 179.49994;
  _this setPos [334.63956, 24422.914, 1.9073486e-005];
};

_bldObj_1552 = objNull;
if (true) then
{
  _this = createVehicle ["WarfareBAirport", [114.70186, 24885.354, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1552 = _this;
  _this setPos [114.70186, 24885.354, 5.3405762e-005];
};

_bldObj_1553 = objNull;
if (true) then
{
  _this = createVehicle ["WarfareBAirport", [110.3716, 24703.83, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1553 = _this;
  _this setDir 177.72339;
  _this setPos [110.3716, 24703.83, -1.5258789e-005];
};

_bldObj_1554 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_runway_beton", [112.99685, 24794.578, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _bldObj_1554 = _this;
  _this setPos [112.99685, 24794.578, 3.8146973e-006];
};

_bldObj_1555 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_runway_beton", [108.57281, 24721.6, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _bldObj_1555 = _this;
  _this setPos [108.57281, 24721.6, -3.0517578e-005];
};

processInitCommands;

i edited server_functions.sqf (last line):

 

call compile preprocessFileLineNumbers "\z\addons\dayz_server\maps\mapedit.sqf";

 

The Mod is Dayz Epoch 1.0.5.1 (Linux Debian Server) - Sauerland Map

 

If you need more information tell me.

Link to comment
Share on other sites

  • 0

in dayz_server.pbo

 

missions\Dayz_Epoch_25.chernarus\mission.sqf

 

start:

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Misc_Cargo1E_EP1", [24774.123, 21743.719, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setPos [24774.123, 21743.719, -6.1035156e-005];
};

_vehicle_28 = objNull;
if (true) then
{
  _this = createVehicle ["Misc_Cargo1B_military", [24753.67, 21727.393, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_28 = _this;
  _this setDir 89.235222;
  _this setPos [24753.67, 21727.393, 6.1035156e-005];
};

_vehicle_29 = objNull;
if (true) then
{
  _this = createVehicle ["Misc_Cargo1Bo_military", [24742.969, 21765.781, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_29 = _this;
  _this setDir 190.70085;
  _this setPos [24742.969, 21765.781, 9.1552734e-005];
};

_vehicle_30 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Misc_Cargo1Eo_EP1", [24756.422, 21749.088, 0.00018310547], [], 0, "CAN_COLLIDE"];
  _vehicle_30 = _this;
  _this setDir -120.50433;
  _this setPos [24756.422, 21749.088, 0.00018310547];
};

_vehicle_34 = objNull;
if (true) then
{
  _this = createVehicle ["Misc_Cargo1B_military", [24752.213, 21758.996, -0.034812283], [], 0, "CAN_COLLIDE"];
  _vehicle_34 = _this;
  _this setDir -47.392124;
  _this setPos [24752.213, 21758.996, -0.034812283];
};

_vehicle_36 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Misc_Cargo1E_EP1", [24756.449, 21754.355, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_36 = _this;
  _this setDir -37.268543;
  _this setPos [24756.449, 21754.355, -3.0517578e-005];
};

and so on...

 

end:

_vehicle_1480 = objNull;
if (true) then
{
  _this = createVehicle ["Misc_cargo_cont_net3", [2445.7886, 3894.7576, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_1480 = _this;
  _this setDir -95.426903;
  _this setPos [2445.7886, 3894.7576, -3.0517578e-005];
};

_vehicle_1482 = objNull;
if (true) then
{
  _this = createVehicle ["FoldChair", [2446.5603, 3898.8323], [], 0, "CAN_COLLIDE"];
  _vehicle_1482 = _this;
  _this setDir 103.76042;
  _this setPos [2446.5603, 3898.8323];
};

_vehicle_1483 = objNull;
if (true) then
{
  _this = createVehicle ["FoldTable", [2444.9607, 3899.1589, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_1483 = _this;
  _this setDir -92.448402;
  _this setPos [2444.9607, 3899.1589, 3.0517578e-005];
};

_unit_173 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Soldier_MG", [2446.0735, 3899.76], [], 0, "CAN_COLLIDE"];
  _unit_173 = _this;
  _this setDir -97.42749;
  _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;  ";
  _this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};

processInitCommands;
Link to comment
Share on other sites

  • 0

I did not change server_monitor.sqf at all, but i read some people does instead of editing server_functions.sqf

 

No clue what the difference is.

 

As well with [] ExecVM "..." or execVM "..." or call compile preprocessFileLineNumbers "..."

 

I dont think that, in my mission.pbo the init.sqf has

 

DZE_BuildOnRoad = false;

 

matters.

 

I just wanted to build a admin base & in the future other buildings over the map on server side (not mission.pbo)

 

I also read all 17 pages of

 

and tried all kind of combinations (dont worry did backup of original), there was just no difference ingame.

Link to comment
Share on other sites

  • 0

Hi, Atsutake. As far as i can see, you are using ProcessInitCommands twice, but you are only allowed to use it once. Everything else will be ignored.

Also make sure, that you don't have any variable twice.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...