Advertisement
Guest User

init

a guest
May 30th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. enableSaving [false,false];
  2.  
  3. btc_ro_isGame = true;
  4. btc_ro_one_life = if ((paramsArray select 0) > 0) then {false} else {true};
  5. btc_ro_jip_max_time = (paramsArray select 1);
  6.  
  7.  
  8. btc_debug = false;
  9. if !(isMultiplayer) then {btc_debug = true;};
  10.  
  11. if (isServer) then {
  12.  
  13. btc_type_static = "O_static_AA_F";
  14. btc_type_helo = "RHS_CH_47F_light";
  15.  
  16. _items = ["ACE_EarPlugs","ACE_surgicalKit","ACE_personalAidKit","ACE_quikclot","ACE_salineIV_250","ACE_salineIV_500","ACE_salineIV","ACE_bloodIV_250","ACE_bloodIV_500","ACE_fieldDressing","ACE_packingBandage","ACE_elasticBandage","ACE_tourniquet","ACE_morphine","ACE_atropine","ACE_epinephrine","ACE_plasmaIV","ACE_plasmaIV_500","ACE_plasmaIV_250","ACE_bloodIV"];
  17.  
  18. clearWeaponCargoGlobal btc_truck;clearItemCargoGlobal btc_truck;clearMagazineCargoGlobal btc_truck;clearBackpackCargoGlobal btc_truck;
  19. btc_truck addMagazineCargoGlobal ["BTC_SMAW_HEAA",2];
  20. btc_truck addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_M855A1_Stanag",150];
  21. btc_truck addMagazineCargoGlobal ["rhsusf_100Rnd_556x45_soft_pouch",60];
  22. {btc_truck addItemCargoGlobal [_x,150];} foreach _items;//,"ACRE_PRC343"
  23. //btc_truck addBackPackCargoGlobal ["tf_rt1523g_big",5];//btc_truck addItemCargoGlobal ["ACRE_PRC148",5];
  24.  
  25. btc_truck addMagazineCargoGlobal ["DemoCharge_Remote_Mag",15];
  26. btc_truck addItemCargoGlobal ["ACE_Clacker",5];
  27.  
  28. btc_truck addWeaponCargoGlobal ["rhs_weap_M136",2];
  29. btc_truck addMagazineCargoGlobal ["rhs_m136_mag",2];
  30. btc_truck addWeaponCargoGlobal ["btc_smaw",1];
  31.  
  32.  
  33. [] execVM "0.sqf";
  34. };
  35.  
  36. if (!isDedicated) then {
  37.  
  38. [] execVM "briefing.sqf";
  39.  
  40. [] spawn {
  41. waitUntil {!isNull player};
  42.  
  43. player execVM "fnc_set_gear.sqf";
  44.  
  45. };
  46. };
  47.  
  48. if (btc_debug) then {
  49. onMapSingleClick "vehicle player setpos _pos;copyToClipBoard str(_pos);";
  50. player allowDamage false;
  51.  
  52. btc_ro_marker_debug_cond = true;
  53. [] spawn btc_ro_fnc_marker_debug;
  54.  
  55. player addaction ["Open Virtual Arsenal", {["Open",true] call BIS_fnc_arsenal;}];
  56.  
  57. player addaction ["Open Virtual Garage", {["Open",true] call BIS_fnc_garage;}];
  58.  
  59. player addaction ["COPY - POS", {copyToClipboard (str(getPosATL player) + " - " + str(getDir player));hint (str(getPosATL player) + " - " + str(getDir player))}];
  60.  
  61. player addaction ["MAP CLICK POS", {onMapSingleClick "copyToClipBoard str(_pos);";}];
  62. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement