Jump to content

TheGreenRooms Custom Stary Parking & Parking Sign


iCEtIMed

Recommended Posts

Hi guys.

I've been having an issues with people wanting to park at the Stray Trader recently so I decided to make a parking lot.

There is a sign warning people that they have a week at the parking then the vehicle is moved to the impound and then crushed.

 

if (isServer) then {

_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_runwayold_40_main", [6195.0298, 7803.3301, -0.026527589], [], 0, "CAN_COLLIDE"];
  _vehicle_13 = _this;
  _this setDir 35.079712;
  _this setPos [6195.0298, 7803.3301, -0.026527589];
};

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_grav_60_10", [6211.2842, 7816.3042, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir 34.571465;
  _this setPos [6211.2842, 7816.3042, -3.0517578e-005];
};

_vehicle_28 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_grav_6konec", [6249.7529, 7816.6875, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_28 = _this;
  _this setDir -80.71138;
  _this setPos [6249.7529, 7816.6875, 9.1552734e-005];
};

_vehicle_35 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_grav_25", [6244.9785, 7817.231, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_35 = _this;
  _this setDir -82.475632;
  _this setPos [6244.9785, 7817.231, 3.0517578e-005];
};

_vehicle_96 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6169.6484, 7796.6743, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_96 = _this;
  _this setDir 36.009418;
  _this setPos [6169.6484, 7796.6743, -3.0517578e-005];
};

_vehicle_99 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6173.7124, 7793.7739, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_99 = _this;
  _this setDir 34.687664;
  _this setPos [6173.7124, 7793.7739, 3.0517578e-005];
};

_vehicle_101 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6177.8291, 7790.9009, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_101 = _this;
  _this setDir 36.009418;
  _this setPos [6177.8291, 7790.9009, -3.0517578e-005];
};

_vehicle_103 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6181.9038, 7788.0068, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_103 = _this;
  _this setDir 34.107018;
  _this setPos [6181.9038, 7788.0068, -3.0517578e-005];
};

_vehicle_105 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6185.9775, 7785.1357], [], 0, "CAN_COLLIDE"];
  _vehicle_105 = _this;
  _this setDir 36.009418;
  _this setPos [6185.9775, 7785.1357];
};

_vehicle_107 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6190.0874, 7782.2378, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_107 = _this;
  _this setDir 33.373009;
  _this setPos [6190.0874, 7782.2378, -3.0517578e-005];
};

_vehicle_109 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6194.1924, 7779.4141, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_109 = _this;
  _this setDir 36.009418;
  _this setPos [6194.1924, 7779.4141, -3.0517578e-005];
};

_vehicle_111 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6198.231, 7776.5645, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_111 = _this;
  _this setDir 36.009418;
  _this setPos [6198.231, 7776.5645, -6.1035156e-005];
};

_vehicle_113 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6168.3335, 7800.0278, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_113 = _this;
  _this setDir 123.97677;
  _this setPos [6168.3335, 7800.0278, 3.0517578e-005];
};

_vehicle_115 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6171.1211, 7804.0889, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_115 = _this;
  _this setDir 125.43802;
  _this setPos [6171.1211, 7804.0889, 6.1035156e-005];
};

_vehicle_118 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6174.0293, 7808.1406, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_118 = _this;
  _this setDir 125.43802;
  _this setPos [6174.0293, 7808.1406, 3.0517578e-005];
};

_vehicle_120 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6176.9502, 7812.2759, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_120 = _this;
  _this setDir 125.43802;
  _this setPos [6176.9502, 7812.2759, 3.0517578e-005];
};

_vehicle_122 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6179.792, 7816.4258, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_122 = _this;
  _this setDir 125.43802;
  _this setPos [6179.792, 7816.4258, -6.1035156e-005];
};

_vehicle_124 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6182.7363, 7820.5088, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_124 = _this;
  _this setDir 125.43802;
  _this setPos [6182.7363, 7820.5088, -6.1035156e-005];
};

_vehicle_126 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6185.6753, 7824.5601, -0.00024414063], [], 0, "CAN_COLLIDE"];
  _vehicle_126 = _this;
  _this setDir 125.43802;
  _this setPos [6185.6753, 7824.5601, -0.00024414063];
};

_vehicle_128 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6188.5923, 7828.5967], [], 0, "CAN_COLLIDE"];
  _vehicle_128 = _this;
  _this setDir 125.43802;
  _this setPos [6188.5923, 7828.5967];
};

_vehicle_130 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6191.9492, 7829.8979, 0.10471262], [], 0, "CAN_COLLIDE"];
  _vehicle_130 = _this;
  _this setDir -145.62161;
  _this setPos [6191.9492, 7829.8979, 0.10471262];
};

_vehicle_132 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6196.0327, 7827.1309, 0.067705363], [], 0, "CAN_COLLIDE"];
  _vehicle_132 = _this;
  _this setDir -145.62161;
  _this setPos [6196.0327, 7827.1309, 0.067705363];
};

_vehicle_134 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6199.6328, 7824.6055], [], 0, "CAN_COLLIDE"];
  _vehicle_134 = _this;
  _this setDir -145.62161;
  _this setPos [6199.6328, 7824.6055];
};

_vehicle_136 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6205.2402, 7820.8149], [], 0, "CAN_COLLIDE"];
  _vehicle_136 = _this;
  _this setDir -145.62161;
  _this setPos [6205.2402, 7820.8149];
};

_vehicle_140 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6220.4458, 7810.0361, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_140 = _this;
  _this setDir -145.62161;
  _this setPos [6220.4458, 7810.0361, -3.0517578e-005];
};

_vehicle_142 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6202.7393, 7822.4028, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_142 = _this;
  _this setDir -145.62161;
  _this setPos [6202.7393, 7822.4028, 3.0517578e-005];
};

_vehicle_144 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6221.8354, 7806.7148, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_144 = _this;
  _this setDir -55.16124;
  _this setPos [6221.8354, 7806.7148, 3.0517578e-005];
};

_vehicle_146 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6218.9624, 7802.6021], [], 0, "CAN_COLLIDE"];
  _vehicle_146 = _this;
  _this setDir -55.16124;
  _this setPos [6218.9624, 7802.6021];
};

_vehicle_148 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6216.1406, 7798.4917, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_148 = _this;
  _this setDir -55.16124;
  _this setPos [6216.1406, 7798.4917, -3.0517578e-005];
};

_vehicle_150 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6214.1694, 7795.5605], [], 0, "CAN_COLLIDE"];
  _vehicle_150 = _this;
  _this setDir -55.16124;
  _this setPos [6214.1694, 7795.5605];
};

_vehicle_152 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6209.1274, 7788.4951, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_152 = _this;
  _this setDir -52.500156;
  _this setPos [6209.1274, 7788.4951, -3.0517578e-005];
};

_vehicle_154 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6206.6201, 7785.0347, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_154 = _this;
  _this setDir -55.16124;
  _this setPos [6206.6201, 7785.0347, -3.0517578e-005];
};

_vehicle_156 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6204.3887, 7781.8794, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_156 = _this;
  _this setDir -55.16124;
  _this setPos [6204.3887, 7781.8794, 3.0517578e-005];
};

_vehicle_158 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6201.5244, 7777.8716, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_158 = _this;
  _this setDir -55.16124;
  _this setPos [6201.5244, 7777.8716, 9.1552734e-005];
};

_vehicle_160 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_plot_vlnplech1", [6211.6699, 7792.0898], [], 0, "CAN_COLLIDE"];
  _vehicle_160 = _this;
  _this setDir -55.16124;
  _this setPos [6211.6699, 7792.0898];
};

_vehicle_164 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6221.5566, 7810.1357, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_164 = _this;
  _this setDir 33.71661;
  _this setPos [6221.5566, 7810.1357, -3.0517578e-005];
};

_vehicle_166 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6207.0552, 7820.4199, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_166 = _this;
  _this setDir 33.71661;
  _this setPos [6207.0552, 7820.4199, 3.0517578e-005];
};

_vehicle_168 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6202.1558, 7824.0566, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_168 = _this;
  _this setDir 33.71661;
  _this setPos [6202.1558, 7824.0566, -9.1552734e-005];
};

_vehicle_170 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6197.0576, 7827.4385, -0.00012207031], [], 0, "CAN_COLLIDE"];
  _vehicle_170 = _this;
  _this setDir 33.71661;
  _this setPos [6197.0576, 7827.4385, -0.00012207031];
};

_vehicle_172 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6192.7212, 7830.186, -0.00015258789], [], 0, "CAN_COLLIDE"];
  _vehicle_172 = _this;
  _this setDir 33.71661;
  _this setPos [6192.7212, 7830.186, -0.00015258789];
};

_vehicle_174 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6188.3892, 7829.875, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_174 = _this;
  _this setDir -54.387558;
  _this setPos [6188.3892, 7829.875, -3.0517578e-005];
};

_vehicle_177 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6185.3306, 7825.7129, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_177 = _this;
  _this setDir -54.387558;
  _this setPos [6185.3306, 7825.7129, -9.1552734e-005];
};

_vehicle_179 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6182.667, 7821.9658, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_179 = _this;
  _this setDir -54.387558;
  _this setPos [6182.667, 7821.9658, -6.1035156e-005];
};

_vehicle_181 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6179.6738, 7817.6553, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_181 = _this;
  _this setDir -54.387558;
  _this setPos [6179.6738, 7817.6553, 3.0517578e-005];
};

_vehicle_183 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6177.1362, 7814.2295, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_183 = _this;
  _this setDir -54.387558;
  _this setPos [6177.1362, 7814.2295, -6.1035156e-005];
};

_vehicle_185 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6174.1685, 7810.0952, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_185 = _this;
  _this setDir -54.387558;
  _this setPos [6174.1685, 7810.0952, -6.1035156e-005];
};

_vehicle_187 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6171.1318, 7805.7358, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_187 = _this;
  _this setDir -54.387558;
  _this setPos [6171.1318, 7805.7358, -9.1552734e-005];
};

_vehicle_189 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6168.1592, 7801.2959], [], 0, "CAN_COLLIDE"];
  _vehicle_189 = _this;
  _this setDir -54.387558;
  _this setPos [6168.1592, 7801.2959];
};

_vehicle_191 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6168.207, 7796.5322, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_191 = _this;
  _this setDir -144.27129;
  _this setPos [6168.207, 7796.5322, -6.1035156e-005];
};

_vehicle_194 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6172.1343, 7793.7881, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_194 = _this;
  _this setDir -144.27129;
  _this setPos [6172.1343, 7793.7881, -6.1035156e-005];
};

_vehicle_196 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6175.9775, 7791.2485, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_196 = _this;
  _this setDir -144.27129;
  _this setPos [6175.9775, 7791.2485, 0];
};

_vehicle_198 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6180.2881, 7787.8271, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_198 = _this;
  _this setDir -144.27129;
  _this setPos [6180.2881, 7787.8271, 0];
};

_vehicle_200 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6184.46, 7785.3818, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_200 = _this;
  _this setDir -144.27129;
  _this setPos [6184.46, 7785.3818, 0];
};

_vehicle_202 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6188.7803, 7781.8462, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_202 = _this;
  _this setDir -144.27129;
  _this setPos [6188.7803, 7781.8462, 3.0517578e-005];
};

_vehicle_204 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6193.2925, 7779.0225], [], 0, "CAN_COLLIDE"];
  _vehicle_204 = _this;
  _this setDir -144.27129;
  _this setPos [6193.2925, 7779.0225];
};

_vehicle_206 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6197.6016, 7776.0347, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_206 = _this;
  _this setDir -144.27129;
  _this setPos [6197.6016, 7776.0347, 3.0517578e-005];
};

_vehicle_208 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6201.729, 7776.6895, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_208 = _this;
  _this setDir -235.7769;
  _this setPos [6201.729, 7776.6895, 3.0517578e-005];
};

_vehicle_211 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6204.4082, 7780.6221], [], 0, "CAN_COLLIDE"];
  _vehicle_211 = _this;
  _this setDir -235.7769;
  _this setPos [6204.4082, 7780.6221];
};

_vehicle_213 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6207.1387, 7784.5498], [], 0, "CAN_COLLIDE"];
  _vehicle_213 = _this;
  _this setDir -235.7769;
  _this setPos [6207.1387, 7784.5498];
};

_vehicle_215 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6209.6533, 7788.0054, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_215 = _this;
  _this setDir -235.7769;
  _this setPos [6209.6533, 7788.0054, 0];
};

_vehicle_217 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6212.3677, 7791.6006, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_217 = _this;
  _this setDir -235.7769;
  _this setPos [6212.3677, 7791.6006, 0];
};

_vehicle_219 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6214.7178, 7795.4155], [], 0, "CAN_COLLIDE"];
  _vehicle_219 = _this;
  _this setDir -235.7769;
  _this setPos [6214.7178, 7795.4155];
};

_vehicle_221 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6217.4937, 7799.4072], [], 0, "CAN_COLLIDE"];
  _vehicle_221 = _this;
  _this setDir -235.7769;
  _this setPos [6217.4937, 7799.4072];
};

_vehicle_223 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6220.1226, 7803.2344, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_223 = _this;
  _this setDir -235.7769;
  _this setPos [6220.1226, 7803.2344, -3.0517578e-005];
};

_vehicle_225 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CncBlock_D", [6222.5596, 7806.7495, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_225 = _this;
  _this setDir -235.7769;
  _this setPos [6222.5596, 7806.7495, 3.0517578e-005];
};

_vehicle_227 = objNull;
if (true) then
{
  _this = createVehicle ["Hhedgehog_concrete", [6212.6274, 7824.4824, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_227 = _this;
  _this setDir -22.273109;
  _this setPos [6212.6274, 7824.4824, -3.0517578e-005];
};

_vehicle_228 = objNull;
if (true) then
{
  _this = createVehicle ["Hhedgehog_concrete", [6229.2168, 7813.4814], [], 0, "CAN_COLLIDE"];
  _vehicle_228 = _this;
  _this setDir 10.48606;
  _this setPos [6229.2168, 7813.4814];
};

_vehicle_229 = objNull;
if (true) then
{
  _this = createVehicle ["Hhedgehog_concrete", [6223.0669, 7826.3652, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_229 = _this;
  _this setDir 7.6996813;
  _this setPos [6223.0669, 7826.3652, -9.1552734e-005];
};

_vehicle_256 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Hlidac_budka", [6219.7568, 7812.7412, -0.2028625], [], 0, "CAN_COLLIDE"];
  _vehicle_256 = _this;
  _this setDir -324.81656;
  _this setPos [6219.7568, 7812.7412, -0.2028625];
};

_vehicle_268 = objNull;
if (true) then
{
  _this = createVehicle ["WarfareBunkerSign", [6240.7876, 7821.7393, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_268 = _this;
  _this setDir 7.0004873;
  _this setVehicleInit "this setObjectTexture [0,""billboard.jpg""]";
  _this setPos [6240.7876, 7821.7393, -6.1035156e-005];
};

};
 

 

Save the script in the spoiler as a .sqf file named "parking" and add it to the root of your server.

Open your init.sqf and add to the very bottom,

 

[] ExecVM "parking.sqf";            //iCEtIMeds Stary Trader Parking

 

(Or if you keep your custom edits somewhere else, adjust the address.)

 

Download this image and put that in the root of your server also, and you are good to go! (Make sure you keep the name of it "billboard".)

 

*If the image size is a bit heavy for you server, then use a image editing software and change the dimensions of the image from 1024x1024 to 512x512, being careful not to change the name of the file when you save it. - you do lose some quality by doing that.

 

Screenshots

2015_02_06_00001.jpg 2015_02_06_00002.jpg 2015_02_06_00004.jpg

2015_02_06_00006.jpg 2015_02_06_00007.jpg

 

Enjoy! :)

Link to comment
Share on other sites

I delete bases after 30 days of players not logging on.. I also do not allow any parking at stary, nea, bandit and hero.

 

Can that sign be changed? Or could we have the png?

 

Brilliant, by the way!

To change the sign, you just need to create a new .jpg file, (dimensions 1024 x 1024, or 512 x 512) , call it billboard and replace the version I provided with yours.

 

*You can create the image you want as a 1920x 1080 pic, then when you are done change the size to the square dimensions. It will squish up, but on loading it will stretch out again.)

 

**If you don't want the parking and just the sign, use the instructions above, but just save this in the "parking" .sqf file instead. (You can always change the coordinates to suit your own needs]

 

 

if (isServer) then {

 

_vehicle_268 = objNull;

if (true) then

{

  _this = createVehicle ["WarfareBunkerSign", [6240.7876, 7821.7393, -6.1035156e-005], [], 0, "CAN_COLLIDE"];

  _vehicle_268 = _this;

  _this setDir 7.0004873;

  _this setVehicleInit "this setObjectTexture [0,""billboard.jpg""]";

  _this setPos [6240.7876, 7821.7393, -6.1035156e-005];

};

};

 

Link to comment
Share on other sites

When I try to load a custom texture it tells me this:
Warning Message: Cannot load texture mpmissions\dayz_epoch_11.chernarus\quebec.jpg
In my client RPT file

Nothing on the server RPT/

 

PS. I tried doing this for a flag haha :)


_vehicle_1001 = objNull;
if (true) then
{
  _this = createVehicle ["FlagCarrierGermany_EP1", [1974.2338, 9130.4268, -1.0623186], [], 0, "CAN_COLLIDE"];
  _vehicle_1001 = _this;
  _this setDir 18.749798;
  _this setVehicleInit "this SetFlagTexture ""quebec.jpg""";
  _this setPos [1974.2338, 9130.4268, -1.0623186];
};

Link to comment
Share on other sites

  • 3 weeks later...

When I try to load a custom texture it tells me this:

Warning Message: Cannot load texture mpmissions\dayz_epoch_11.chernarus\quebec.jpg

In my client RPT file

Nothing on the server RPT/

 

PS. I tried doing this for a flag haha :)

_vehicle_1001 = objNull;

if (true) then

{

  _this = createVehicle ["FlagCarrierGermany_EP1", [1974.2338, 9130.4268, -1.0623186], [], 0, "CAN_COLLIDE"];

  _vehicle_1001 = _this;

  _this setDir 18.749798;

  _this setVehicleInit "this SetFlagTexture ""quebec.jpg""";

  _this setPos [1974.2338, 9130.4268, -1.0623186];

};

Did you change the image to a square? Also, if its a flag you can make the size ALOT smaller!

Link to comment
Share on other sites

If only I had some image editing software and knew what I was doing with it.. I would just make a NO PARKING sign, maybe even one that warned players that vehicles will be deleted automatically on restarts if left in the safe zone.

I will do that when I get a bit of time this weekend. Where do you think the sign should be? (subtle by the way! XD)

Link to comment
Share on other sites

Awesome! Wellll I have custom trader zones so it doesn't really matter where you stick it. I can move it in the map editor to where I want it.

Ok, here you are. Could you put a screenshot up of it when you get a chance?

 

Script;

if (isServer) then {

_vehicle_999 = objNull;
if (true) then
{
  _this = createVehicle ["WarfareBunkerSign", [6240.7876, 7821.7393, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_999 = _this;
  _this setDir 7.0004873;
  _this setVehicleInit "this setObjectTexture [0,""noparking.jpg""]";
  _this setPos [6240.7876, 7821.7393, -6.1035156e-005];
};

};

Place this image in your root folder and change the cords to where you want it.

 

(If you would like a smaller file size then you can use a lower quality image here.)

 

Enjoy!

Link to comment
Share on other sites

Awesome! gonna add it. Can I call this server side to save my poor mission file? Just exec it in the server_functions.sqf?

Sure, just do as you would for any other custom building. If you need a hand let me know.

(Or check post in the install spoiler to get an idea of how to do that.)

Basically;

execVM "\z\addons\dayz_server\buildings\noparking.sqf";

should work as long as you create a "buildings" folder in your dayz_server .pbo and put the sqf in there and add the picture to the root folder. - although its untested so let me know how you get on.

Link to comment
Share on other sites

Sure, just do as you would for any other custom building. If you need a hand let me know.

(Or check post in the install spoiler to get an idea of how to do that.)

Basically;

execVM "\z\addons\dayz_server\buildings\noparking.sqf";

should work as long as you create a "buildings" folder in your dayz_server .pbo

oh yea man Ive been doing this a long time Ive just never called a jpg from the server before I wasn't sure if it could do it or not

thanks :)

Link to comment
Share on other sites

oh yea man Ive been doing this a long time Ive just never called a jpg from the server before I wasn't sure if it could do it or not

thanks :)

neither have i, id be interested to see if it works - let me know. (a screenshot would be awsome once you sort it.)

Link to comment
Share on other sites

although quick question, lets say the jpeg and the .sqf are in a folder called mapadditions. In the sqf file, do I need to direct the server to the mapadditions folder?

 _this setVehicleInit "this setObjectTexture [0,""\vilayercodecustom\dayz_overpoch\mapadditions\noparking.jpg""]";

like so?

Link to comment
Share on other sites

Id say so, although your address looks odd.

vilayers set up is weird because the PBO's automatically compiles on restart. So you can make all your editing live with an FTP manager and dont need to pack or unpack PBO's, then whenever the server next restarts the changes are automatically applied.

 

On a side note this didnt work, it couldnt' find the jpg.. ill have to play with the pathing  I guess. Mission side works fine though :) screen shot coming soon!

Link to comment
Share on other sites

vilayers set up is weird because the PBO's automatically compiles on restart. So you can make all your editing live with an FTP manager and dont need to pack or unpack PBO's, then whenever the server next restarts the changes are automatically applied.

 

On a side note this didnt work, it couldnt' find the jpg.. ill have to play with the pathing  I guess. Mission side works fine though :) screen shot coming soon!

Awsome man, thanks for the update. I hope you enloy the slightly custom version. Good luck running it server side, if you manage let me know!

Link to comment
Share on other sites

  • 3 weeks later...

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