Jump to content

[RELEASE] Christmas Tree on Chernarus Map!


SadBoy1981

Recommended Posts

You can find my post also in  A2: Custom Bases section, but now i want to share it here..

 

Christmas tree must to be  not like just a custom base :) so here is my tree...

 

All Trader zones and big cities on Chernarus..

 

 

In init.sqf after

if (isServer) then {

add

[] execVM "christmas\init.sqf";

Download files and put in your mission folder.

 

Christmas

 

Also mission file with mission.biedi 

 

https://www.dropbox.com/s/jutbuapozbii90c/stary_sobor_1.rar?dl=0

 

EuOs9i0UA_4.jpg

 

 

k7j9mNXzF6g.jpg

 

 

86L7XTeWp6w.jpg

 

 

EuOs9i0UA_4.jpg

 

 

b_560_95_1.png

 

 

b_560_95_1.png

Link to comment
Share on other sites

SadBoy1981

 Hope you don't mind, but you know someone is gong to ask. btw I really like this.

I put this in on server side, I changed the init.sqf to the following.

 

[]execVM "\z\addons\dayz_server\christmas\stary_1.sqf"; 
[]execVM "\z\addons\dayz_server\christmas\stary_2.sqf"; 
[]execVM "\z\addons\dayz_server\christmas\stary_3.sqf"; 
[]execVM "\z\addons\dayz_server\christmas\klen_1.sqf"; 
[]execVM "\z\addons\dayz_server\christmas\klen_2.sqf";
 
    []execVM "\z\addons\dayz_server\christmas\1.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\2.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\3.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\4.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\5.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\6.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\7.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\8.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\9.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\10.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\11.sqf"; 
 
Then i put the following at the very bottom of the server_functions.sqf     [] ExecVM "\z\addons\dayz_server\christmas\init.sqf";
Make sure you put the christmas folder in the root of the server side
Link to comment
Share on other sites

 

SadBoy1981

 Hope you don't mind, but you know someone is gong to ask. btw I really like this.

I put this in on server side, I changed the init.sqf to the following.

 

[]execVM "\z\addons\dayz_server\christmas\stary_1.sqf"; 
[]execVM "\z\addons\dayz_server\christmas\stary_2.sqf"; 
[]execVM "\z\addons\dayz_server\christmas\stary_3.sqf"; 
[]execVM "\z\addons\dayz_server\christmas\klen_1.sqf"; 
[]execVM "\z\addons\dayz_server\christmas\klen_2.sqf";
 
    []execVM "\z\addons\dayz_server\christmas\1.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\2.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\3.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\4.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\5.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\6.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\7.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\8.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\9.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\10.sqf"; 
    []execVM "\z\addons\dayz_server\christmas\11.sqf"; 
 
Then i put the following at the very bottom of the server_functions.sqf     [] ExecVM "\z\addons\dayz_server\christmas\init.sqf";
Make sure you put the christmas folder in the root of the server side

 

Yep, so above is answer for someone who want to ask, anyway, run this christmas fun for your server is so easy, any problems and we will help! =)

Link to comment
Share on other sites

Hi thanks for this, nice to spread a little Christmas feeling ;)

I have this running on my test server, server side. But I have one question – when does the Christmas lights on the trees turn on and off ?

Can I change them to always on ?

 

Not sure, but by default they flashing.

Link to comment
Share on other sites

Great! We were thinking about doing exactly the same thing and release it here on epochmod. :-) The only thing I could say about anything really is the location at Klein. Could be moved to the left of the car trader so it's in full. :D

 

I have custom Klen trader zone, you can download tradar zone files here if you want 

Also here is Stary Sobor trader zone files 

or you can cgange tree possition, i add biedi file so you can move it where you want.

Link to comment
Share on other sites

private ["_vehicle_5","_vehicle_7","_vehicle_8","_vehicle_9","_vehicle_10","_vehicle_11","_vehicle_12","_vehicle_13","_vehicle_14","_vehicle_15","_vehicle_16","_vehicle_17","_vehicle_18","_vehicle_19","_vehicle_20","_vehicle_21","_vehicle_22","_vehicle_23","_vehicle_24","_vehicle_25","_vehicle_26","_vehicle_27","_vehicle_29","_vehicle_30","_vehicle_31","_vehicle_32","_vehicle_33","_vehicle_34","_vehicle_35","_vehicle_36","_vehicle_37","_vehicle_38","_vehicle_39","_vehicle_40","_vehicle_41","_vehicle_42","_vehicle_43","_vehicle_44","_vehicle_45","_vehicle_46","_vehicle_47","_vehicle_48","_vehicle_49","_vehicle_50","_vehicle_51","_vehicle_52","_vehicle_53","_vehicle_54","_vehicle_55","_vehicle_56","_vehicle_57","_vehicle_58","_vehicle_59","_vehicle_60","_vehicle_61","_vehicle_62","_vehicle_63","_vehicle_64","_vehicle_65","_vehicle_66","_vehicle_67","_vehicle_68","_vehicle_69","_vehicle_70","_vehicle_71","_vehicle_72","_vehicle_73","_vehicle_74","_vehicle_75","_vehicle_85","_vehicle_86","_vehicle_87","_vehicle_88","_vehicle_89","_vehicle_90","_vehicle_91","_vehicle_92","_vehicle_93"];



if (isServer) then {

diag_log "Growing Christmas Tree";

_vehicle_5 = objNull;
if (true) then
{
_this = createVehicle ["MAP_t_picea2s", [11704.6,15206.8,0.91125143], [], 0, "CAN_COLLIDE"];
_vehicle_5 = _this;
_this setDir -18.422382;
_this setPos [11704.6,15206.8,0.91125143];
};

_vehicle_7 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11705.635,15210.183,1.3912543], [], 0, "CAN_COLLIDE"];
_vehicle_7 = _this;
_this setDir -18.422382;
_this setPos [11705.635,15210.183,1.3912543];
};

_vehicle_8 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11707.174,15208.229,3.1506369], [], 0, "CAN_COLLIDE"];
_vehicle_8 = _this;
_this setDir -18.422382;
_this setPos [11707.174,15208.229,3.1506369];
};

_vehicle_9 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11704.142,15209.904,4.4564743], [], 0, "CAN_COLLIDE"];
_vehicle_9 = _this;
_this setDir -18.422382;
_this setPos [11704.142,15209.904,4.4564743];
};

_vehicle_10 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11701.631,15209.194,1.7975755], [], 0, "CAN_COLLIDE"];
_vehicle_10 = _this;
_this setDir -18.422382;
_this setPos [11701.631,15209.194,1.7975755];
};

_vehicle_11 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11702.802,15208.383,5.3574252], [], 0, "CAN_COLLIDE"];
_vehicle_11 = _this;
_this setDir -18.422382;
_this setPos [11702.802,15208.383,5.3574252];
};

_vehicle_12 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11702.013,15205.716,4.3515592], [], 0, "CAN_COLLIDE"];
_vehicle_12 = _this;
_this setDir -18.422382;
_this setPos [11702.013,15205.716,4.3515592];
};

_vehicle_13 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11701.833,15206.845,2.3577054], [], 0, "CAN_COLLIDE"];
_vehicle_13 = _this;
_this setDir -18.422382;
_this setPos [11701.833,15206.845,2.3577054];
};

_vehicle_14 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11703.149,15204.654,7.4341903], [], 0, "CAN_COLLIDE"];
_vehicle_14 = _this;
_this setDir -18.422382;
_this setPos [11703.149,15204.654,7.4341903];
};

_vehicle_15 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11705.277,15203.679,4.898881], [], 0, "CAN_COLLIDE"];
_vehicle_15 = _this;
_this setDir -18.422382;
_this setPos [11705.277,15203.679,4.898881];
};

_vehicle_16 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11706.479,15204.772,6.3004847], [], 0, "CAN_COLLIDE"];
_vehicle_16 = _this;
_this setDir -18.422382;
_this setPos [11706.479,15204.772,6.3004847];
};

_vehicle_17 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11705.629,15206.096,9.7749662], [], 0, "CAN_COLLIDE"];
_vehicle_17 = _this;
_this setDir -18.422382;
_this setPos [11705.629,15206.096,9.7749662];
};

_vehicle_18 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11706.327,15207.02,5.7506824], [], 0, "CAN_COLLIDE"];
_vehicle_18 = _this;
_this setDir -18.422382;
_this setPos [11706.327,15207.02,5.7506824];
};

_vehicle_19 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11708.008,15205.874,3.8002803], [], 0, "CAN_COLLIDE"];
_vehicle_19 = _this;
_this setDir -18.422382;
_this setPos [11708.008,15205.874,3.8002803];
};

_vehicle_20 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11706.37,15206.849,10.762999], [], 0, "CAN_COLLIDE"];
_vehicle_20 = _this;
_this setDir -18.422382;
_this setPos [11706.37,15206.849,10.762999];
};

_vehicle_21 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11704.741,15207.645,13.745195], [], 0, "CAN_COLLIDE"];
_vehicle_21 = _this;
_this setDir -18.422382;
_this setPos [11704.741,15207.645,13.745195];
};

_vehicle_22 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11704.798,15206.892,16.718336], [], 0, "CAN_COLLIDE"];
_vehicle_22 = _this;
_this setDir -18.422382;
_this setPos [11704.798,15206.892,16.718336];
};

_vehicle_23 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbBLUB", [11705.799,15206.176,14.160759], [], 0, "CAN_COLLIDE"];
_vehicle_23 = _this;
_this setDir -18.422382;
_this setPos [11705.799,15206.176,14.160759];
};

_vehicle_24 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbYELB", [11702.266,15208.991,3.9193878], [], 0, "CAN_COLLIDE"];
_vehicle_24 = _this;
_this setDir -18.422382;
_this setPos [11702.266,15208.991,3.9193878];
};

_vehicle_25 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbYELB", [11702.971,15205.97,7.7234449], [], 0, "CAN_COLLIDE"];
_vehicle_25 = _this;
_this setDir -18.422382;
_this setPos [11702.971,15205.97,7.7234449];
};

_vehicle_26 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbYELB", [11704.668,15205.084,9.3241091], [], 0, "CAN_COLLIDE"];
_vehicle_26 = _this;
_this setDir -18.422382;
_this setPos [11704.668,15205.084,9.3241091];
};

_vehicle_27 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbYELB", [11705.994,15207.56,7.4846625], [], 0, "CAN_COLLIDE"];
_vehicle_27 = _this;
_this setDir -18.422382;
_this setPos [11705.994,15207.56,7.4846625];
};

_vehicle_29 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbYELB", [11704.65,15207.804,11.470034], [], 0, "CAN_COLLIDE"];
_vehicle_29 = _this;
_this setDir -18.422382;
_this setPos [11704.65,15207.804,11.470034];
};

_vehicle_30 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbYELB", [11704.807,15206.888,15.751274], [], 0, "CAN_COLLIDE"];
_vehicle_30 = _this;
_this setDir -18.422382;
_this setPos [11704.807,15206.888,15.751274];
};

_vehicle_31 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbYELB", [11706.019,15206.571,12.522041], [], 0, "CAN_COLLIDE"];
_vehicle_31 = _this;
_this setDir -18.422382;
_this setPos [11706.019,15206.571,12.522041];
};

_vehicle_32 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbYELB", [11704.675,15205.841,13.44871], [], 0, "CAN_COLLIDE"];
_vehicle_32 = _this;
_this setDir -18.422382;
_this setPos [11704.675,15205.841,13.44871];
};

_vehicle_33 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11703.309,15207.245,9.0536842], [], 0, "CAN_COLLIDE"];
_vehicle_33 = _this;
_this setDir -18.422382;
_this setPos [11703.309,15207.245,9.0536842];
};

_vehicle_34 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11705.884,15208.677,8.4049397], [], 0, "CAN_COLLIDE"];
_vehicle_34 = _this;
_this setDir -18.422382;
_this setPos [11705.884,15208.677,8.4049397];
};

_vehicle_35 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11707.439,15206.841,3.56301], [], 0, "CAN_COLLIDE"];
_vehicle_35 = _this;
_this setDir -18.422382;
_this setPos [11707.439,15206.841,3.56301];
};

_vehicle_36 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11705.666,15205.819,10.443882], [], 0, "CAN_COLLIDE"];
_vehicle_36 = _this;
_this setDir -18.422382;
_this setPos [11705.666,15205.819,10.443882];
};

_vehicle_37 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11704.282,15205.12,7.7573166], [], 0, "CAN_COLLIDE"];
_vehicle_37 = _this;
_this setDir -18.422382;
_this setPos [11704.282,15205.12,7.7573166];
};

_vehicle_38 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11704.954,15206.8,18.062288], [], 0, "CAN_COLLIDE"];
_vehicle_38 = _this;
_this setDir -18.422382;
_this setPos [11704.954,15206.8,18.062288];
};

_vehicle_39 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11703.991,15208.715,9.8327751], [], 0, "CAN_COLLIDE"];
_vehicle_39 = _this;
_this setDir -18.422382;
_this setPos [11703.991,15208.715,9.8327751];
};

_vehicle_40 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11705.508,15208.046,10.540973], [], 0, "CAN_COLLIDE"];
_vehicle_40 = _this;
_this setDir -18.422382;
_this setPos [11705.508,15208.046,10.540973];
};

_vehicle_41 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11707.414,15204.903,2.4084282], [], 0, "CAN_COLLIDE"];
_vehicle_41 = _this;
_this setDir -18.422382;
_this setPos [11707.414,15204.903,2.4084282];
};

_vehicle_42 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbGRNB", [11702.931,15207.157,7.0459332], [], 0, "CAN_COLLIDE"];
_vehicle_42 = _this;
_this setDir -18.422382;
_this setPos [11702.931,15207.157,7.0459332];
};

_vehicle_43 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11704.689,15209.13,2.9469025], [], 0, "CAN_COLLIDE"];
_vehicle_43 = _this;
_this setDir -18.422382;
_this setPos [11704.689,15209.13,2.9469025];
};

_vehicle_44 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11706.286,15208.456,5.6427155], [], 0, "CAN_COLLIDE"];
_vehicle_44 = _this;
_this setDir -18.422382;
_this setPos [11706.286,15208.456,5.6427155];
};

_vehicle_45 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11706.009,15206.523,6.791667], [], 0, "CAN_COLLIDE"];
_vehicle_45 = _this;
_this setDir -18.422382;
_this setPos [11706.009,15206.523,6.791667];
};

_vehicle_46 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11703.745,15204.119,6.8779864], [], 0, "CAN_COLLIDE"];
_vehicle_46 = _this;
_this setDir -18.422382;
_this setPos [11703.745,15204.119,6.8779864];
};

_vehicle_47 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11703.003,15205.071,5.114079], [], 0, "CAN_COLLIDE"];
_vehicle_47 = _this;
_this setDir -18.422382;
_this setPos [11703.003,15205.071,5.114079];
};

_vehicle_48 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11702.714,15203.178,1.3966956], [], 0, "CAN_COLLIDE"];
_vehicle_48 = _this;
_this setDir -18.422382;
_this setPos [11702.714,15203.178,1.3966956];
};

_vehicle_49 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11703.751,15206.738,12.265183], [], 0, "CAN_COLLIDE"];
_vehicle_49 = _this;
_this setDir -18.422382;
_this setPos [11703.751,15206.738,12.265183];
};

_vehicle_50 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11704.93,15206.855,18.321703], [], 0, "CAN_COLLIDE"];
_vehicle_50 = _this;
_this setDir -18.422382;
_this setPos [11704.93,15206.855,18.321703];
};

_vehicle_51 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11706.366,15207.57,10.988291], [], 0, "CAN_COLLIDE"];
_vehicle_51 = _this;
_this setDir -18.422382;
_this setPos [11706.366,15207.57,10.988291];
};

_vehicle_52 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11703.915,15207.744,7.9982491], [], 0, "CAN_COLLIDE"];
_vehicle_52 = _this;
_this setDir -18.422382;
_this setPos [11703.915,15207.744,7.9982491];
};

_vehicle_53 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11705.047,15205.538,6.7066541], [], 0, "CAN_COLLIDE"];
_vehicle_53 = _this;
_this setDir -18.422382;
_this setPos [11705.047,15205.538,6.7066541];
};

_vehicle_54 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbPURB", [11701.724,15204.06,2.5336418], [], 0, "CAN_COLLIDE"];
_vehicle_54 = _this;
_this setDir -18.422382;
_this setPos [11701.724,15204.06,2.5336418];
};

_vehicle_55 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11704.593,15208.828,3.1774721], [], 0, "CAN_COLLIDE"];
_vehicle_55 = _this;
_this setDir -18.422382;
_this setPos [11704.593,15208.828,3.1774721];
};

_vehicle_56 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11706.773,15208.926,4.4869914], [], 0, "CAN_COLLIDE"];
_vehicle_56 = _this;
_this setDir -18.422382;
_this setPos [11706.773,15208.926,4.4869914];
};

_vehicle_57 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11705.833,15205.503,6.7715173], [], 0, "CAN_COLLIDE"];
_vehicle_57 = _this;
_this setDir -18.422382;
_this setPos [11705.833,15205.503,6.7715173];
};

_vehicle_58 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11702.283,15204.763,2.860559], [], 0, "CAN_COLLIDE"];
_vehicle_58 = _this;
_this setDir -18.422382;
_this setPos [11702.283,15204.763,2.860559];
};

_vehicle_59 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11702.576,15207.383,5.7233105], [], 0, "CAN_COLLIDE"];
_vehicle_59 = _this;
_this setDir -18.422382;
_this setPos [11702.576,15207.383,5.7233105];
};

_vehicle_60 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11703.471,15208.399,2.1664121], [], 0, "CAN_COLLIDE"];
_vehicle_60 = _this;
_this setDir -18.422382;
_this setPos [11703.471,15208.399,2.1664121];
};

_vehicle_61 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11706.063,15207.455,11.208718], [], 0, "CAN_COLLIDE"];
_vehicle_61 = _this;
_this setDir -18.422382;
_this setPos [11706.063,15207.455,11.208718];
};

_vehicle_62 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11704.156,15207.248,13.616852], [], 0, "CAN_COLLIDE"];
_vehicle_62 = _this;
_this setDir -18.422382;
_this setPos [11704.156,15207.248,13.616852];
};

_vehicle_63 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11705.609,15207.099,14.233459], [], 0, "CAN_COLLIDE"];
_vehicle_63 = _this;
_this setDir -18.422382;
_this setPos [11705.609,15207.099,14.233459];
};

_vehicle_64 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbREDB", [11705.09,15208.428,5.1198325], [], 0, "CAN_COLLIDE"];
_vehicle_64 = _this;
_this setDir -18.422382;
_this setPos [11705.09,15208.428,5.1198325];
};

_vehicle_65 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbWHTB", [11706.767,15204.91,4.1582546], [], 0, "CAN_COLLIDE"];
_vehicle_65 = _this;
_this setDir -18.422382;
_this setPos [11706.767,15204.91,4.1582546];
};

_vehicle_66 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbWHTB", [11704.504,15205.089,4.971046], [], 0, "CAN_COLLIDE"];
_vehicle_66 = _this;
_this setDir -18.422382;
_this setPos [11704.504,15205.089,4.971046];
};

_vehicle_67 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbWHTB", [11703.015,15207.271,3.6089122], [], 0, "CAN_COLLIDE"];
_vehicle_67 = _this;
_this setDir -18.422382;
_this setPos [11703.015,15207.271,3.6089122];
};

_vehicle_68 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbWHTB", [11705.185,15208.311,7.7459755], [], 0, "CAN_COLLIDE"];
_vehicle_68 = _this;
_this setDir -18.422382;
_this setPos [11705.185,15208.311,7.7459755];
};

_vehicle_69 = objNull;
if (true) then
{
_this = createVehicle ["ASC_EU_BulbWHTB", [11705.077,15207.059,16.980865], [], 0, "CAN_COLLIDE"];
_vehicle_69 = _this;
_this setDir -18.422382;
_this setPos [11705.077,15207.059,16.980865];
};

_vehicle_70 = objNull;
if (true) then
{
_this = createVehicle ["LAND_ASC_runway_Yellowlight", [11706.72,15208.824,0.000030517578], [], 0, "CAN_COLLIDE"];
_vehicle_70 = _this;
_this setDir -18.422382;
_this setPos [11706.72,15208.824,0.000030517578];

};

_vehicle_71 = objNull;
if (true) then
{
_this = createVehicle ["LAND_ASC_runway_Yellowlight", [11703.684,15208.875,0.000091552734], [], 0, "CAN_COLLIDE"];
_vehicle_71 = _this;
_this setDir -18.422382;
_this setPos [11703.684,15208.875,0.000091552734];

};

/*
_vehicle_72 = objNull;
if (true) then
{
_this = createVehicle ["LAND_ASC_runway_Yellowlight", [11704.112,15204.279,0.000091552734], [], 0, "CAN_COLLIDE"];
_vehicle_72 = _this;
_this setDir -18.422382;
_this setPos [11704.112,15204.279,0.000091552734];
};
*/

_vehicle_73 = objNull;
if (true) then
{
_this = createVehicle ["LAND_ASC_runway_Bluelight", [11706.294,15205.798,0.000091552734], [], 0, "CAN_COLLIDE"];
_vehicle_73 = _this;
_this setDir -18.422382;
_this setPos [11706.294,15205.798,0.000091552734];

};

_vehicle_74 = objNull;
if (true) then
{
_this = createVehicle ["LAND_ASC_runway_Bluelight", [11705.6,15209.477,0.000030517578], [], 0, "CAN_COLLIDE"];
_vehicle_74 = _this;
_this setDir -18.422382;
_this setPos [11705.6,15209.477,0.000030517578];

};

_vehicle_75 = objNull;
if (true) then
{
_this = createVehicle ["LAND_ASC_runway_Bluelight", [11701.864,15205.816,0.000030517578], [], 0, "CAN_COLLIDE"];
_vehicle_75 = _this;
_this setDir -18.422382;
_this setPos [11701.864,15205.816,0.000030517578];

};

_vehicle_85 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11703.165,15202.934,-0.15807596], [], 0, "CAN_COLLIDE"];
_vehicle_85 = _this;
_this setDir 14.136709;
_this setPos [11703.165,15202.934,-0.15807596];
};

_vehicle_86 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11705.872,15203.144,-0.27291915], [], 0, "CAN_COLLIDE"];
_vehicle_86 = _this;
_this setDir -18.422382;
_this setPos [11705.872,15203.144,-0.27291915];
};

_vehicle_87 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11707.921,15204.925,-0.22760519], [], 0, "CAN_COLLIDE"];
_vehicle_87 = _this;
_this setDir 104.77624;
_this setPos [11707.921,15204.925,-0.22760519];
};

_vehicle_88 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11708.087,15207.785,-0.21692845], [], 0, "CAN_COLLIDE"];
_vehicle_88 = _this;
_this setDir 79.998413;
_this setPos [11708.087,15207.785,-0.21692845];
};

_vehicle_89 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11706.676,15210.136,-0.2185739], [], 0, "CAN_COLLIDE"];
_vehicle_89 = _this;
_this setDir 34.89378;
_this setPos [11706.676,15210.136,-0.2185739];
};

_vehicle_90 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11704.095,15210.589,-0.22069229], [], 0, "CAN_COLLIDE"];
_vehicle_90 = _this;
_this setDir -13.638905;
_this setPos [11704.095,15210.589,-0.22069229];
};

_vehicle_91 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11702.081,15209.149,-0.17639831], [], 0, "CAN_COLLIDE"];
_vehicle_91 = _this;
_this setDir 116.35595;
_this setPos [11702.081,15209.149,-0.17639831];
};

_vehicle_92 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11701.572,15204.595,-0.15975466], [], 0, "CAN_COLLIDE"];
_vehicle_92 = _this;
_this setDir 77.306702;
_this setPos [11701.572,15204.595,-0.15975466];
};

_vehicle_93 = objNull;
if (true) then
{
_this = createVehicle ["Land_fort_bagfence_long", [11701.372,15207.006,-0.16745625], [], 0, "CAN_COLLIDE"];
_vehicle_93 = _this;
_this setDir 103.96237;
_this setPos [11701.372,15207.006,-0.16745625];
};

};

Here it is translated for Tavi 2.0 in Lyepestock.  Haven't translated it to the other traders yet.  I'm running it server-side.

Link to comment
Share on other sites

Now, here's an odd thing.  I'm running this server-side and it runs perfectly on my in-home server (not that powerful a box) but when I FTP my entire system -.PBOs, missions, etc.  the tree shows up on my server, the lights are on it but there are no colors and they aren't blinking.  The files are totally identical since I FTP all changes from my dev server to main server.

 

What could cause the lights to blink on one but not the other?

 

Thanks,

Bob

 

Update:  Just to check, I moved it back client-side.  Still no colored lights on one but they work perfect on the other.

Link to comment
Share on other sites

Now, here's an odd thing.  I'm running this server-side and it runs perfectly on my in-home server (not that powerful a box) but when I FTP my entire system -.PBOs, missions, etc.  the tree shows up on my server, the lights are on it but there are no colors and they aren't blinking.  The files are totally identical since I FTP all changes from my dev server to main server.

 

What could cause the lights to blink on one but not the other?

 

Thanks,

Bob

 

Update:  Just to check, I moved it back client-side.  Still no colored lights on one but they work perfect on the other.

I call now all my custom buildings from server monitor and all works same as before when i run it from init.sqf

Link to comment
Share on other sites

  • 11 months later...
  • 10 months later...

anyway @oldmatechoc think you can made a new xmas tree for this 2016 :)  using the lights that was used in old sirens car mod

see

_tree = "MAP_t_picea2s";

_lightRed =
{
	_redLight = "#lightpoint" createVehicle (getPos _tree); 
	_redLight setLightBrightness 0.03;	
	_redLight setLightAmbient [ 0.5, 0, 0 ]; 
	_redLight setLightColor [0.77,0.05,0.23]; 
	_redLight lightAttachObject [_tree, [1, 0, 1.0]];
	sleep 0.13;
	deleteVehicle _redLight;
	sleep 0.13;
};
_lightBlue =
{
	_blueLight = "#lightpoint" createVehicle (getPos _tree); 
	_blueLight setLightBrightness 0.03;
	_blueLight setLightAmbient [ 0, 0, 0.5 ]; 
	_blueLight setLightColor [0,0,1.0]; 
	_blueLight lightAttachObject [_tree, [-1, 0, 1.0]];
	sleep 0.13;
	deleteVehicle _blueLight;
	sleep 0.13;
};

and also for example u can add a sound using:

 

_nul = [objNull, player, rSAY, "xmas"] call RE;

and entry the xmas.ogg in your description.ext

class CfgSounds
{
    soundsxmas[] =
    {
        soundxmas
		
    };
    class soundxmas
    {
        name = "xmas";
        sound[] = {custom\xmas\xmas.ogg,0.4,1};
        titles[] = {};
    };

and remember make a sqf. through arma2oa editor to place the xmas trees.

 

and for example to call the script you can put it at the end of your selfActions.sqf  (players can turn on/off the tree if is near by scroll menu)

private["_playerPos","_neartree"];

_playerPos = getPosATL player;
_neartree = count nearestObjects [_playerPos, ["YOUR TREE ID HERE"], 3] > 0;
 
if (_neartree) then {
        if (s_player_xmas < 0) then {
            s_player_xmas = player addaction[("<t color=""#F7D708"">" + ("TurnON/OFF") +"</t>"),"custom\xmas\xmastree.sqf"];
        };
    } else {
        player removeAction s_player_xmas;
        s_player_xmas = -1;
    };		

 

Link to comment
Share on other sites

or maybe something like this using the server as launcher:
 (not tested and you will need add MAP_t_picea2s  in arma2oa editor )

@oldmatechoc

private ["_xmasvespers","_playerPos","_neartree","_playeratTree","_tree","_rand"];

_xmasvespers = true;
_playerPos = getPos player;
_neartree = count nearestObjects [_playerPos, ["MAP_t_picea2s"], 10] > 0;
_tree = nearestObject [player, "MAP_t_picea2s];
_playeratTree = false;

/////////////////////lights functions
_lightRed =
{
	_redLight = "#lightpoint" createVehicle (getPos _tree); 
	_redLight setLightBrightness 0.03;	
	_redLight setLightAmbient [ 0.5, 0, 0 ]; 
	_redLight setLightColor [0.77,0.05,0.23]; 
	_redLight lightAttachObject [_tree, [1, 0, 1.0]];
	sleep 0.13;
	deleteVehicle _redLight;
	sleep 0.13;
};
_lightBlue =
{
	_blueLight = "#lightpoint" createVehicle (getPos _tree); 
	_blueLight setLightBrightness 0.03;
	_blueLight setLightAmbient [ 0, 0, 0.5 ]; 
	_blueLight setLightColor [0,0,1.0]; 
	_blueLight lightAttachObject [_tree, [-1, 0, 1.0]];
	sleep 0.13;
	deleteVehicle _blueLight;
	sleep 0.13;
};
//////////////////end lights functions



while {_xmasvespers} do {
sleep 2;
{if((isPlayer _x) && (_x distance _neartree <= 10)) then {_playeratTree = true};}forEach playableUnits;    
};

if (_playeratTree) then {
_nul = [objNull, player, rSAY, "xmas"] call RE;
call _lightRed;
sleep 0.2;
call _lightBlue;
sleep 0.2;
call _lightRed;
sleep 0.1;
call _lightBlue;
sleep 0.1;
call _lightBlue;
sleep 0.1;
call _lightBlue;
sleep 1;

_rand = floor(random 100);

if (_rand <= 30) then {
call _lightBlue;
};

if (_rand <= 65 && _rand > 31) then {
call _lightRed;
};

if (_rand <= 65 && _rand > 31) then {
call _lightRed;
call _lightBlue;
};

};

description.ext

Spoiler

class CfgSounds
{
    soundsxmas[] =
    {
        soundxmas
		
    };
    class soundxmas
    {
        name = "xmas";
        sound[] = {custom\xmas\xmas.ogg,0.4,1};
        titles[] = {};
    };

 

Link to comment
Share on other sites

6 hours ago, oldmatechoc said:

I made my own :D

Super basic just flashing lights and a bright white one on top.

If anyone is interested ill post it up, and ill do other maps if needed super easy.

  Reveal hidden contents

4A0691C637C78EF3DEB02860BD64F0DB70857369

 

Nice! post it please!
i want to share a xmas greetings http://www.mediafire.com/file/9i9l5dl719py72n/xmasgreetings.rar

.This need the extra_rc.hpp for right click actions.

1-download and create this path  MPMissions\your instance\custom\xmas\

2-at bottom of description.ext

Spoiler

 

#include "custom\xmas\definesxmas.hpp"

#include "custom\xmas\xmasbook.hpp"

3.in your extra_rc.hpp

Spoiler

class ItemBook3 {
        class menuxmas {
            text = "xmasgreetings";
            script = "execVM 'custom\xmas\xmasbook.sqf'";
        };

so if u put "ItemBook3" into players loadout.. when they made right click on this book they will see a xmas greetings

Link to comment
Share on other sites

28 minutes ago, oldmatechoc said:

Haahaha! this is great! I love it!

 

Here is my Stary Trader tree. Ill get cracking on other traders and maps later today :D

Nothing extra needed, just load this like any other map addon.

  Reveal hidden contents


if (isServer) then {

_vehicle_1040 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_t_picea2s", [6296.0776, 7849.1162, 0.22128832], [], 0, "CAN_COLLIDE"];
  _vehicle_1040 = _this;
  _this setDir -31.889805;
  _this setPos [6296.0776, 7849.1162, 0.22128832];
};

_vehicle_1044 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbBLUB", [6293.5332, 7847.022, 6.1524534], [], 0, "CAN_COLLIDE"];
  _vehicle_1044 = _this;
  _this setPos [6293.5332, 7847.022, 6.1524534];
};

_vehicle_1045 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbGRNB", [6299.4302, 7849.0967, 5.8038812], [], 0, "CAN_COLLIDE"];
  _vehicle_1045 = _this;
  _this setPos [6299.4302, 7849.0967, 5.8038812];
};

_vehicle_1046 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbPURB", [6297.0562, 7845.1694, 1.9395374], [], 0, "CAN_COLLIDE"];
  _vehicle_1046 = _this;
  _this setPos [6297.0562, 7845.1694, 1.9395374];
};

_vehicle_1047 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbYELB", [6295.2432, 7846.2852, 4.9600563], [], 0, "CAN_COLLIDE"];
  _vehicle_1047 = _this;
  _this setPos [6295.2432, 7846.2852, 4.9600563];
};

_vehicle_1048 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbYELB", [6293.1577, 7852.6162, 1.4031596], [], 0, "CAN_COLLIDE"];
  _vehicle_1048 = _this;
  _this setPos [6293.1577, 7852.6162, 1.4031596];
};

_vehicle_1049 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbBLUB", [6295.6992, 7847.5347, 12.087153], [], 0, "CAN_COLLIDE"];
  _vehicle_1049 = _this;
  _this setPos [6295.6992, 7847.5347, 12.087153];
};

_vehicle_1050 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbGRNB", [6294.7671, 7849.2031, 13.088014], [], 0, "CAN_COLLIDE"];
  _vehicle_1050 = _this;
  _this setPos [6294.7671, 7849.2031, 13.088014];
};

_vehicle_1051 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbPURB", [6293.6274, 7847.3301, 8.4721384], [], 0, "CAN_COLLIDE"];
  _vehicle_1051 = _this;
  _this setPos [6293.6274, 7847.3301, 8.4721384];
};

_vehicle_1052 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbREDB", [6294.5112, 7848.1489, 10.235952], [], 0, "CAN_COLLIDE"];
  _vehicle_1052 = _this;
  _this setPos [6294.5112, 7848.1489, 10.235952];
};

_vehicle_1053 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbWHTB", [6296.7524, 7848.1694, 14.137915], [], 0, "CAN_COLLIDE"];
  _vehicle_1053 = _this;
  _this setPos [6296.7524, 7848.1694, 14.137915];
};

_vehicle_1054 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_BulbWHTP", [6295.7104, 7849.0483, 17.956898], [], 0, "CAN_COLLIDE"];
  _vehicle_1054 = _this;
  _this setPos [6295.7104, 7849.0483, 17.956898];
};

_vehicle_1062 = objNull;
if (true) then
{
  _this = createVehicle ["Land_HBarrier5_DZ", [6291.5625, 7847.314, -0.078773782], [], 0, "CAN_COLLIDE"];
  _vehicle_1062 = _this;
  _this setDir 37.382107;
  _this setPos [6291.5625, 7847.314, -0.078773782];
};

_vehicle_1068 = objNull;
if (true) then
{
  _this = createVehicle ["Land_HBarrier5_DZ", [6290.6147, 7850.9712, -0.030434065], [], 0, "CAN_COLLIDE"];
  _vehicle_1068 = _this;
  _this setDir -54.127941;
  _this setPos [6290.6147, 7850.9712, -0.030434065];
};

_vehicle_1076 = objNull;
if (true) then
{
  _this = createVehicle ["Land_HBarrier5_DZ", [6298.3604, 7844.1777, -0.0047524646], [], 0, "CAN_COLLIDE"];
  _vehicle_1076 = _this;
  _this setDir -53.512642;
  _this setPos [6298.3604, 7844.1777, -0.0047524646];
};

_vehicle_1081 = objNull;
if (true) then
{
  _this = createVehicle ["Land_HBarrier5_DZ", [6300.0601, 7851.2339, -0.032492623], [], 0, "CAN_COLLIDE"];
  _vehicle_1081 = _this;
  _this setDir -143.27306;
  _this setPos [6300.0601, 7851.2339, -0.032492623];
};

};

 

 

another idea for this christmas can be made a Santa Trader :D I cannot made it cuz dont have the game anymore but if u wanna make it (put a trade through arma2oa editor) under the xmas tree... here you got the code to give xmas presents for players.

 

xmaspresent.sqf (mpmissions/yourInstance/custom/xmas/ )

Spoiler

private ["_costs","_presents","_LastUsedTime","_Time"];


_presents = ["ItemSodaOrangeSherbet","HandGrenade_west","ItemSodaEmpty","ItemTrashRazor","ItemTrashToiletpaper","TrashJackDaniels","TrashTinCan","ItemOilBarrel","ItemFuelBarrel","ItemBriefcase50oz","ItemAluminumBar10oz","FoodSteakRaw","ItemWaterbottle","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemCanvas","MortarBucket","ItemLightBulb","PartWheel","ItemTent","ItemTentOld","Skin_FR_OHara_DZ","ItemGenerator","ItemComboLock","ItemMixOil","ItemKiloHemp","ItemSandbag","30Rnd_556x45_StanagSD","100Rnd_762x54_PK","20Rnd_762x51_DMR","PartGlass","ItemRuby"] call BIS_fnc_selectRandom;
_costs = 200;
_LastUsedTime = 3600;
_Time = time - lastpack;


if(_Time < _LastUsedTime) exitWith {
    cutText [format["wait %1 seconds Santa is bussy now",(round(_Time - _LastUsedTime))], "PLAIN DOWN"];
};

if !([ player,_costs] call SC_fnc_removeCoins) then {
        titleText [format["Needs %1 %2 to got a xmas present",_costs,CurrencyName] , "PLAIN DOWN", 1];
    } else {
lastuse = time;        
 sleep 1;
    player addMagazine _presents;

    [format["<t size='0.70' color='#D01000'>JOJOJO MERRY CHRISTMAS TO YOU</t><br/><t size='0.9'>%1</t>",(name player)],0,0,2,2] spawn BIS_fnc_dynamicText;    
 
//cutText ["JOJOJO MERRY CHRISTMAS TO YOU", "PLAIN DOWN"];
};

custom fn_selfactions.sqf

Spoiler

find:


if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "Plastic_Pole_EP1_DZ")) then {

above paste: (entry the trader id)


////////////////Lovely Santa////////////////////////////
if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "SANTA TRADER ID HERE")) then {
if (s_player_santa < 0) then {
    s_player_santa = player addAction ["<t color='#66CCFF'>My present please</t>", "custom\xmas\xmaspresent.sqf", [], 5, false];
    };
    } else {
    player removeAction s_player_santa;
    s_player_santa = -1;
    };

 

near the end of fn_selfactions.sqf

Spoiler

paste lines in blue:

} else {
//Engineering

player removeAction s_player_santa;
s_player_santa = -1;

    
    {dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = [];
    s_player_repair_crtl = -1;
    {player removeAction _x} count s_player_combi;s_player_combi = [];
    dayz_myCursorTarget = objNull;
    s_player_lastTarget = [objNull,objNull,objNull,objNull,objNull];
    {player removeAction _x} count s_player_parts;s_player_parts = [];
    s_player_parts_crtl = -1;
    {player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
    s_player_lockUnlock_crtl = -1;
    player removeAction s_player_checkGear;
    s_player_checkGear = -1;
    player removeAction s_player_SurrenderedGear;
    s_player_SurrenderedGear = -1;

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...