Jump to content
  • 0
Sign in to follow this  
nidico100

Problems with custom map buildings

Question

I built an base in the editor:

Spoiler

if (isServer) then {

_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["mbg_brickhouse_03_EO", [9010.1865, 12929.909, 0.1996108], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir -137.63887;
  _this setPos [9010.1865, 12929.909, 0.1996108];
};

_vehicle_20 = objNull;
if (true) then
{
  _this = createVehicle ["mbg_slum01_EO", [9027.9082, 12929.496, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_20 = _this;
  _this setDir 143.62804;
  _this setPos [9027.9082, 12929.496, -1.5258789e-005];
};

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["Land_bags_stack_EP1", [9009.9248, 12933.339, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir -166.40646;
  _this setPos [9009.9248, 12933.339, 3.8146973e-005];
};

_vehicle_34 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Misc_Scaffolding", [9008.6299, 12925.025, 0.26146442], [], 0, "CAN_COLLIDE"];
  _vehicle_34 = _this;
  _this setDir -47.088337;
  _this setPos [9008.6299, 12925.025, 0.26146442];
};

_vehicle_35 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Crates_stack_EP1", [9029.1133, 12928.901, 0.0028184012], [], 0, "CAN_COLLIDE"];
  _vehicle_35 = _this;
  _this setPos [9029.1133, 12928.901, 0.0028184012];
};

_vehicle_37 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Ind_TankSmall2", [9000.6045, 12936.255, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_37 = _this;
  _this setDir 126.94191;
  _this setPos [9000.6045, 12936.255, 9.1552734e-005];
};

_vehicle_52 = objNull;
if (true) then
{
  _this = createVehicle ["Land_transport_crates_EP1", [9011.5527, 12931.697, 0.017630585], [], 0, "CAN_COLLIDE"];
  _vehicle_52 = _this;
  _this setDir 46.696278;
  _this setPos [9011.5527, 12931.697, 0.017630585];
};

_vehicle_69 = objNull;
if (true) then
{
  _this = createVehicle ["OutHouse_DZ", [8999.1982, 12943.307, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_69 = _this;
  _this setDir -101.94044;
  _this setPos [8999.1982, 12943.307, 1.5258789e-005];
};

_unit_6 = objNull;
if (true) then
{
  _this = _group_3 createUnit ["UN_CDF_Soldier_AAT_EP1", [9008.4189, 12943.334, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_6 = _this;
  _this setUnitAbility 0.60000002;
  if (true) then {_group_3 selectLeader _this;};
  if (true) then {selectPlayer _this;};
  if (true) then {setPlayable _this;};
};

_vehicle_114 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9023.6328, 12938.506, -3.8146973e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_114 = _this;
  _this setPos [9023.6328, 12938.506, -3.8146973e-005];
};

_vehicle_149 = objNull;
if (true) then
{
  _this = createVehicle ["Land_bags_stack_EP1", [9032.5801, 12931.402, 1.0003071], [], 0, "CAN_COLLIDE"];
  _vehicle_149 = _this;
  _this setDir 201.53522;
  _this setPos [9032.5801, 12931.402, 1.0003071];
};

_vehicle_151 = objNull;
if (true) then
{
  _this = createVehicle ["Land_bags_stack_EP1", [9013.5225, 12932.917, 0.25614053], [], 0, "CAN_COLLIDE"];
  _vehicle_151 = _this;
  _this setDir -162.56001;
  _this setPos [9013.5225, 12932.917, 0.25614053];
};

_vehicle_153 = objNull;
if (true) then
{
  _this = createVehicle ["Land_bags_stack_EP1", [9009.877, 12934.777, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_153 = _this;
  _this setDir -86.882942;
  _this setPos [9009.877, 12934.777, 5.3405762e-005];
};

_vehicle_161 = objNull;
if (true) then
{
  _this = createVehicle ["Paleta1", [9013.083, 12932.569, 0.044510506], [], 0, "CAN_COLLIDE"];
  _vehicle_161 = _this;
  _this setDir 16.673784;
  _this setPos [9013.083, 12932.569, 0.044510506];
};

_vehicle_162 = objNull;
if (true) then
{
  _this = createVehicle ["Paleta2", [9011.4365, 12933.042, -0.012683003], [], 0, "CAN_COLLIDE"];
  _vehicle_162 = _this;
  _this setDir -25.659601;
  _this setPos [9011.4365, 12933.042, -0.012683003];
};

_vehicle_175 = objNull;
if (true) then
{
  _this = createVehicle ["Land_transport_cart_EP1", [9031.5488, 12931.597, -0.022413157], [], 0, "CAN_COLLIDE"];
  _vehicle_175 = _this;
  _this setDir 104.78625;
  _this setPos [9031.5488, 12931.597, -0.022413157];
};

_vehicle_186 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_SmallObj_money", [9006.9541, 12931.413, 4.3921809], [], 0, "CAN_COLLIDE"];
  _vehicle_186 = _this;
  _this setPos [9006.9541, 12931.413, 4.3921809];
};

_vehicle_188 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_SmallObj_moscow_docs", [9006.4141, 12931.029, 4.3670654], [], 0, "CAN_COLLIDE"];
  _vehicle_188 = _this;
  _this setDir -8.7260981;
  _this setPos [9006.4141, 12931.029, 4.3670654];
};

_vehicle_191 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_chair", [9005.7793, 12931.559, 3.6511281], [], 0, "CAN_COLLIDE"];
  _vehicle_191 = _this;
  _this setDir -48.148903;
  _this setPos [9005.7793, 12931.559, 3.6511281];
};

_vehicle_192 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_conference_table_a", [9006.6396, 12931.105, 3.6791992], [], 0, "CAN_COLLIDE"];
  _vehicle_192 = _this;
  _this setDir -45.332043;
  _this setPos [9006.6396, 12931.105, 3.6791992];
};

_vehicle_193 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_briefcase", [9005.9941, 12930.534, 3.6425858], [], 0, "CAN_COLLIDE"];
  _vehicle_193 = _this;
  _this setDir 45.656857;
  _this setPos [9005.9941, 12930.534, 3.6425858];
};

_vehicle_196 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_picture_a_03", [9006.126, 12933.377, 4.3327508], [], 0, "CAN_COLLIDE"];
  _vehicle_196 = _this;
  _this setDir 135.26016;
  _this setPos [9006.126, 12933.377, 4.3327508];
};

_vehicle_200 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_wall_board_03", [9004.5195, 12928.885, 3.9469461], [], 0, "CAN_COLLIDE"];
  _vehicle_200 = _this;
  _this setDir 43.366463;
  _this setPos [9004.5195, 12928.885, 3.9469461];
};

_vehicle_206 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_Boogieman", [9024.5488, 12940.621, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_206 = _this;
  _this setDir -113.60766;
  _this setPos [9024.5488, 12940.621, 2.2888184e-005];
};

_vehicle_209 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_WellPump", [9024.8262, 12928.366, -0.08088886], [], 0, "CAN_COLLIDE"];
  _vehicle_209 = _this;
  _this setDir 282.21912;
  _this setPos [9024.8262, 12928.366, -0.08088886];
};

_vehicle_228 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_TyreHeap", [9004.7842, 12934.979, 0.011758575], [], 0, "CAN_COLLIDE"];
  _vehicle_228 = _this;
  _this setPos [9004.7842, 12934.979, 0.011758575];
};

_vehicle_246 = objNull;
if (true) then
{
  _this = createVehicle ["Land_cages_EP1", [9012.8965, 12922.869, 3.5565181], [], 0, "CAN_COLLIDE"];
  _vehicle_246 = _this;
  _this setDir 259.53946;
  _this setPos [9012.8965, 12922.869, 3.5565181];
};

_vehicle_248 = objNull;
if (true) then
{
  _this = createVehicle ["AmmoCrates_NoInteractive_Large", [9016.3457, 12926.683, 3.6531131], [], 0, "CAN_COLLIDE"];
  _vehicle_248 = _this;
  _this setDir -66.0355;
  _this setPos [9016.3457, 12926.683, 3.6531131];
};

_vehicle_252 = objNull;
if (true) then
{
  _this = createVehicle ["AmmoCrates_NoInteractive_Medium", [9007.5781, 12926.843, 3.6150992], [], 0, "CAN_COLLIDE"];
  _vehicle_252 = _this;
  _this setDir 84.682304;
  _this setPos [9007.5781, 12926.843, 3.6150992];
};

_vehicle_256 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [9005.1934, 12930.201, 0.34983155], [], 0, "CAN_COLLIDE"];
  _vehicle_256 = _this;
  _this setDir 46.809952;
  _this setPos [9005.1934, 12930.201, 0.34983155];
};

_vehicle_260 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [9006.248, 12929.221, 0.33885282], [], 0, "CAN_COLLIDE"];
  _vehicle_260 = _this;
  _this setDir 46.809952;
  _this setPos [9006.248, 12929.221, 0.33885282];
};

_vehicle_262 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [9007.4258, 12928.2, 0.32500392], [], 0, "CAN_COLLIDE"];
  _vehicle_262 = _this;
  _this setDir 46.809952;
  _this setPos [9007.4258, 12928.2, 0.32500392];
};

_vehicle_266 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [9007.2061, 12932.114, 0.38681564], [], 0, "CAN_COLLIDE"];
  _vehicle_266 = _this;
  _this setDir -137.61824;
  _this setPos [9007.2061, 12932.114, 0.38681564];
};

_vehicle_268 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Wheel_cart_EP1", [9014.0117, 12928.813, 0.38119316], [], 0, "CAN_COLLIDE"];
  _vehicle_268 = _this;
  _this setDir -72.640549;
  _this setPos [9014.0117, 12928.813, 0.38119316];
};

_vehicle_273 = objNull;
if (true) then
{
  _this = createVehicle ["AmmoCrates_NoInteractive_Small", [9027.3027, 12928.585, 0.02336337], [], 0, "CAN_COLLIDE"];
  _vehicle_273 = _this;
  _this setDir 122.88802;
  _this setPos [9027.3027, 12928.585, 0.02336337];
};

_vehicle_279 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9021.6475, 12941.2, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_279 = _this;
  _this setPos [9021.6475, 12941.2, 7.6293945e-006];
};

_vehicle_281 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9023.8242, 12943.091, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_281 = _this;
  _this setPos [9023.8242, 12943.091, -4.5776367e-005];
};

_vehicle_283 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9024.2988, 12945.313], [], 0, "CAN_COLLIDE"];
  _vehicle_283 = _this;
  _this setPos [9024.2988, 12945.313];
};

_vehicle_285 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9021.1719, 12944.113, 8.392334e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_285 = _this;
  _this setPos [9021.1719, 12944.113, 8.392334e-005];
};

_vehicle_287 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9018.8135, 12941.938, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_287 = _this;
  _this setPos [9018.8135, 12941.938, 3.0517578e-005];
};

_vehicle_289 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9020.6094, 12938.231, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_289 = _this;
  _this setPos [9020.6094, 12938.231, -6.1035156e-005];
};

_vehicle_291 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9020.3262, 12946.362, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_291 = _this;
  _this setPos [9020.3262, 12946.362, 7.6293945e-006];
};

_vehicle_293 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9018.3203, 12944.568, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_293 = _this;
  _this setPos [9018.3203, 12944.568, 3.0517578e-005];
};

_vehicle_301 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9026.6826, 12946.492, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_301 = _this;
  _this setPos [9026.6826, 12946.492, 6.1035156e-005];
};

_vehicle_303 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9029.8789, 12941.016, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_303 = _this;
  _this setPos [9029.8789, 12941.016, 2.2888184e-005];
};

_vehicle_305 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9024.502, 12947.974, 0.00015258789], [], 0, "CAN_COLLIDE"];
  _vehicle_305 = _this;
  _this setPos [9024.502, 12947.974, 0.00015258789];
};

_vehicle_307 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9022.1025, 12947.898, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_307 = _this;
  _this setPos [9022.1025, 12947.898, 6.8664551e-005];
};

_vehicle_311 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9016.8174, 12947.158, -5.3405762e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_311 = _this;
  _this setPos [9016.8174, 12947.158, -5.3405762e-005];
};

_vehicle_313 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9019.251, 12948.965, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_313 = _this;
  _this setPos [9019.251, 12948.965, -2.2888184e-005];
};

_vehicle_315 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9015.417, 12944.541, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_315 = _this;
  _this setPos [9015.417, 12944.541, -2.2888184e-005];
};

_vehicle_317 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9017.5029, 12939.988, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_317 = _this;
  _this setPos [9017.5029, 12939.988, 5.3405762e-005];
};

_vehicle_319 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9016.2764, 12942.37, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_319 = _this;
  _this setPos [9016.2764, 12942.37, 7.6293945e-006];
};

_vehicle_321 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9026.7568, 12941.954, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_321 = _this;
  _this setPos [9026.7568, 12941.954, 3.8146973e-005];
};

_vehicle_323 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9027.7598, 12939.567, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_323 = _this;
  _this setPos [9027.7598, 12939.567, 6.8664551e-005];
};

_vehicle_325 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9029.4951, 12943.715, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_325 = _this;
  _this setPos [9029.4951, 12943.715, -7.6293945e-006];
};

_vehicle_329 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9026.4277, 12937.903, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_329 = _this;
  _this setPos [9026.4277, 12937.903, 7.6293945e-006];
};

_vehicle_333 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9027.1074, 12944.475, 0.00015258789], [], 0, "CAN_COLLIDE"];
  _vehicle_333 = _this;
  _this setPos [9027.1074, 12944.475, 0.00015258789];
};

_vehicle_336 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_Boogieman", [9022.2803, 12945.343, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_336 = _this;
  _this setDir -113.60766;
  _this setPos [9022.2803, 12945.343, -3.0517578e-005];
};

_this = createMarker ["Hemp-Plantation", [9015.7412, 12935.761]];
_this setMarkerText "Hemp-Plantation";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Warning";
_this setMarkerColor "ColorGreen";
_this setMarkerBrush "Grid";
_this setMarkerSize [20, 20];
_marker_0 = _this;

}
 

but this happened:

Unbenannt.jpg

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By EditedSnowHD
      Hy,
       
      I have downloaded some custom bases, and 'installed' them on my server.
      But i have no idea why there not spawning. Because only the first custom base i installed is spawning.
      And when i try to add another custom map additions, there just not spawning. 
      Does someone have an idea what im doing wrong here?
       
      In my server.pbo, i have a "buildings" folder, with all the Custom bases .sqf files. Except from the NorthWestAirfield.sqf i got that in a diffirent folder called "mapaddons", but i dont understand why that one is spawning but the otherones aren't?
      In my server_functions all the way in the bottom i got the usual:
      //MapAddons execVM "\z\addons\dayz_server\mapaddons\NorthWestAirfield.sqf"; execVM "\z\addons\dayz_server\buildings\NEAF_S4M.sqf"; execVM "\z\addons\dayz_server\buildings\traderstary.sqf"; execVM "\z\addons\dayz_server\buildings\novy.sqf"; execVM "\z\addons\dayz_server\buildings\dichina.sqf"; execVM "\z\addons\dayz_server\buildings\bor.sqf"; My server RTP: https://www.dropbox.com/s/1v6eqk9r1fowrsq/arma2oaserver.RPT?dl=0
       
      Thank you very much for you time!
      (PS, im still a bit noobish)
       
       
    • By juandayz
      This is an abandoned camping placed on the north of chernarus.
      you can loot normally but also you can cut bags and open tents to find items.
      https://postimg.org/image/nmmi2qxup/

       
      INSTALL:
      *Create this path:  Mpmissions\instance_11.chernarus\custom\camping\
      *Create this sqf:
      camping.sqf
      campmark.sqf
      action1.sqf
      action2.sqf
      at bottom of your init.sqf
      at bottom of your fn_selfactions.sqf
       
    • By juandayz
      I feel like Chinese built the Great Wall My server is in a quarantine context so I decided to make this closed border. A large Wall blocking the way to south.Thers 12 Border Crossings guarded by the AI. When players try to cross thers sound alarms triggers for each crossing.
      Markers included.
      Frontier.sqf
      markers.sqf
      signs.sqf (if u wanna use signs u will need a pic for its... heres mine https://postimg.org/image/tpjpnabpt/ )  must go into custom/Maps/skin/frontera.jpg .  If u want make your own must be 512x512)
      at bottom of your init.sqf
      Pics:
      https://postimg.org/image/tiftwa1i9/
    • By juandayz
      *This is a Large Central Market to replace every markets in chernarus. ( for coin system)
      but if u want use in Gold system u can modify your "server_traders.sqf"
      *Here are include merchants of:
      weapons,ammo,food,drinks,medicals supply,backpacks,clothes, land vehicles, wholesaler, air dealear, hero trade, bandit trade. and separated near the sea one boat dealer.
      The idea is delete all other trades and replace whit Central Market.
      Special tnks to: Buck0,ElDubya,creativv  for help me !!!


       
      well lets to install:
      This guide have 2 parts: 
      1-make two sqf files and Install  ("mission.sqf" , "server_traders_cherno_11.sqf") sory for not upload the files, my mediafire its not working.
      2- reconfigure your class markers, and sensors. located in "mission.sqm".
      ________________________________________________________________________________________________________________________________
      1-Making the sqf:
      A-open a new file in note++ and call it "mission.sqf" then paste this code inside.
      B-open a new file in note++ and call it "server_traders_cherno_11.sqf" then paste this code inside.
      First: drop the new file "mission.sqf" in:
      YourServerRoot\@DayZ_Epoch_Server\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\
      overwrite the file. then pack again your "dayz_server" folder like .pbo
      Second: drop the new file "server_traders_cherno_11.sqf"  in:
      YourServerRoot\MPMissions\DayZ_Epoch_11.Chernarus\
      overwrite the file.  First part are ready.
      _______________________________________________________________________________________________________
      2-
      first: reconfigure your class marker. (add market and boat dealer markers)
      *go to YourServerRoot\MPMissions\DayZ_Epoch_11.Chernarus\  and open "mission.sqm"
      find "class Markers" and delete everything related whit stary,klen,bash,hero trade, bandit trade, boat dealer,and wholesaler.
      then add this code at the end of class markers  but inside of it.
      (take care about  class item7 and class item8 modify number 7 and 8. if u last class item are 9 then the central market class item must be 10, and boat dealer item must be 11
      **Now find  and modify number 21.  Example: if u have 10 class markers, then item=21 must be item=11. in this case we are adding two marks so add 2 numbers more.
      ***Modify Sensors.To get a safe zone in Central Market.... in "mission.sqm" find:
      then add
      ***Note: again take care about numbers in class items.
      I add my mission.sqm  for you compared.
      DONE!
    • By juandayz
      A Custom Trade, that simulates a radio emergency broadcast signal. Called "Antena 4"
      Thers 2 IA traders and you can choose what kind of things sold.

      well.
      -------------------------------------------------------------------------------------------------------------------------------------------------
      ONE: Download the folder whit .sqf BUILDINGS and IA TRADERS and paste into "MPMISSIONS/Chernarus_11/          
      Download:http://www.mediafire.com/download/od5i42e53ennt73/customtrade.zip
      ---------------------------------------------------------------------------------------------------------------------------------------------------
      TWO: Open your init.sqf and go to botton to add this:  (change if ure using other path)
      [] execVM "customtrade\Radio.sqf";
      [] execVM "customtrade\Radioia.sqf";
      ---------------------------------------------------------------------------------------------------------------------------------------------------- THREE: Open your mission.sqm and find this: (adding markers at map)
      class Markers
          {
              items=24;
              class Item0
      ***Look at items numbers, you need to add one more.
      Example if u have Items=8 then change by Items=9 or in this case items=24 by items=25

      ---------------------------------------------------------------------------------------------------------------------------------------------------
      FOUR: at the end of Class Markers add this:
      class Item17
              {
                  position[]={4894.3384, -0.29563946, 5687.3564};
                  name="Radio";
                  text="ANTENA 4 Broadcast Signal";
                  type="mil_circle";
                  colorName="ColorGreen";
              };
      ***note: the number of class item must be below the previous.
      example:
      class Item16
              {
                  position[]={12944.227,210.19823,12766.889};
                  name="HeroTrader";
                  text="Campamento Veteranos";
                  type="mil_dot";
                  colorName="ColorBlue";
              };
              class Item17
              {
                  position[]={4894.3384, -0.29563946, 5687.3564};
                  name="Radio";
                  text="ANTENA 4 Broadcast Signal";
                  type="mil_circle";
                  colorName="ColorGreen";
              };
       };
      -------------------------------------------------------------------------------------------------------------------------------------------------------
      FIVE: (adding the new trade like a safe zone)
      in mission.sqm find :
      class Sensors
          {
              items=11;
      ***add two more number to items=;  example:  items=11; change in items=13;
      ***Now find :
      class Item2
              {
                  position[]={6325.6772,304.99033,7807.7412};
                  activationBy="WEST";
                  repeating=1;
                  interruptable=1;
                  age="UNKNOWN";
                  name="zonestary";
                  expCond="(player distance zonestary) < 75;";
                  expActiv="TitleText[""Entrando al ULTIMO Y GRAN PUEBLO de STARY"",""PLAIN DOWN""]; canbuild = false;";
                  expDesactiv="TitleText[""Que tengas un buen viaje"",""PLAIN DOWN""]; canbuild = true;";
                  class Effects
                  {
                      
                  };
              };
      AND  ADD THIS BELOW:
      class Item3
              {
                  position[]={4894.3384, -0.29563946, 5687.3564};
                  activationBy="WEST";
                  repeating=1;
                  interruptable=1;
                  age="UNKNOWN";
                  name="zoneradio";
                  expCond="(player distance zoneradio) < 75;";
                  expActiv="TitleText[""Welcom To The Broadcast Signal"",""PLAIN DOWN""]; canbuild = false;";
                  expDesactiv="TitleText[""See Ya later alligator"",""PLAIN DOWN""]; canbuild = true;";
                  class Effects
                  {
                      
                  };
              };   
      ***Note: Class Item must contain a counting up until the end of the class.
      example: Class Item0 (Bash trade), Class Item1 (Stary Trade), Class Item2 (Klen Trade), Class Item3 (custom trade), Class Item4 (airfield) etc...
      ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      SIX: in mission.sqm find :   class Item7
              {
                  position[]={6325.6772,304.99033,7807.7412};
                  activationBy="ANY";
                  repeating=1;
                  interruptable=1;
                  age="UNKNOWN";
                  name="zonestary_safezone";
                  expCond="(player distance zonestary_safezone) < 150;";
                  expActiv="inSafeZone = true;";
                  expDesactiv="inSafeZone = false;";
                  class Effects
                  {
                      
                  };
              };   ***ADD BELOW: class Item8
              {
                  position[]={4894.3384, -0.29563946, 5687.3564};
                  activationBy="ANY";
                  repeating=1;
                  interruptable=1;
                  age="UNKNOWN";
                  name="zoneradio_safezone";
                  expCond="(player distance zoneradio_safezone) < 150;";
                  expActiv="inSafeZone = true;";
                  expDesactiv="inSafeZone = false;";
                  class Effects
                  {
                  };
              };     
      ***Remember the progresive count whit class items***
      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      SEVEN: adding the new IA like a traders
      ***if ure using ZUPA´S COINS find "server_traders_cherno_11.sqf" in MPMISSION folder.***
      ***if ure using the standard gold system find "server_traders.sqf" in MPMISSION folder.***
      open whit note ++ and in the first line add this at the end of the line:
      ,"ValentinaVictim","Assistant"
      ***EXAMPLE***:
      serverTraders = ["US_Soldier_Pilot_EP1", "RU_Functionary1","RU_Citizen3","Rocker4","Profiteer4","Rita_Ensler_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","TK_GUE_Soldier_5_EP1","GUE_Soldier_MG","Worker2","Worker3","Soldier_GL_M16A2_PMC","Woodlander1","UN_CDF_Soldier_Pilot_EP1","RU_WorkWoman1","Dr_Annie_Baker_EP1","RU_Citizen4","RU_WorkWoman5","RU_Citizen1","RU_Villager3","TK_CIV_Takistani04_EP1","Pilot_EP1","RU_Profiteer4","Woodlander3","Dr_Hladik_EP1","Doctor","HouseWife1","GUE_Woodlander2","ValentinaVictim","Assistant"];
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      EIGHT: adding the stuff will be bought and sold by the new IAb
        In the same file "server_traders.sqf" or "server_traders_cherno_11.sqf" at the botton add this:
      // General Store 2
      menu_ValentinaVictim = [
          [["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single Shot",641],["Sniper Rifle",640],["Submachine Guns",642]],
          [["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
          "neutral"
      ];
      // Medical Supplies
      menu_Assistant = [
          [["Medical Supplies",670],["Toolbelt Items",510],["Drinks",498],["Packaged Food",579]],
          [["ItemGoldBar","ItemZombieParts",1,1,"buy","Zombie Parts","Gold Bar",101]],
          "neutral"
      ];
      ***Note: u can change that is sold or bought. Just look for anothers Ammo,Weapon,Drinks,clothes... categories and paste in Assistant menu or ValentinaVictim menu.
      Or u can do your owns categories for the new IA traders.
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      ***HOW TO ADD A NEW CATEGORY.***
      1-Go to your Category Folder: Using Zupa Coins find in : ...\MPMissions\DayZ_Epoch_11.Chernarus\ZSC\config\Category
      2- for example if u want to add a building supply category open:
      "NeutralBuildingSupplies.hpp" file
      3-go to the botton and add a new category.
      Example:
      class Category_204 {
      };
               class ChainSawR {
              type = "trade_weapons";
              buy[] ={20000,"Coins"};
              sell[] ={10000,"Coins"};
          };
           class ItemMixOil {
              type = "trade_items";
              buy[] ={5000,"Coins"};
              sell[] ={2500,"Coins"};
          };
      };
      class Category_2004 {
          class ItemMixOil {
              type = "trade_items";
              buy[] ={4000,"Coins"};
              sell[] ={2500,"Coins"};
          };
          class ItemTentOld {
              type = "trade_items";
              buy[] ={1000,"Coins"};
              sell[] ={600,"Coins"};
          };
          class ChainSawR {
              type = "trade_weapons";
              buy[] ={15000,"Coins"};
              sell[] ={10000,"Coins"};
          };
          class ItemComboLock {
              type = "trade_items";
              buy[] ={9000,"Coins"};
              sell[] ={5000,"Coins"};
          };  
           class ItemLockbox {
                  type = "trade_items";
              buy[] ={40000,"Coins"};
              sell[] ={20000,"Coins"};
          };
          class ItemVault {
              type = "trade_items";
              buy[] ={100000,"Coins"};
              sell[] ={100000,"Coins"};
          };
          class 30m_plot_kit {
              type = "trade_items";
              buy[] ={90000,"Coins"};
              sell[] ={60000,"Coins"};
          };
          class fuel_pump_kit {
          type = "trade_items";
              buy[] ={30000,"Coins"};
              sell[] ={10000,"Coins"};
          };
          class wood_ramp_kit {
          buy[] ={3000,"Coins"};
          sell[] ={900,"Coins"};    
          };    
          class ItemOilBarrel {
          buy[] ={3000,"Coins"};
          sell[] ={900,"Coins"};    
          };    
      };   
      ***class category number must be high number to not replace an existing one.*** DONE.    
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...