Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. ace_cookoff_enable = false;
  2. ace_cookoff_ammoCookoffDuration = 0;
  3. ACE_weather_syncWind = false;
  4. ACE_wind = [0,0,0];
  5. setWind [0,0, true];
  6.  
  7. if (isServer) then { //This scope is only for the server
  8.  
  9. if ((paramsArray select 0) == 2) then {
  10. {_x removeMagazine "rhs_mag_9m133"} foreach [k1, k2, k3];
  11. };
  12.  
  13. if ((paramsArray select 0) == 1) then {
  14. {_x removeMagazine "rhs_mag_9m133"} foreach [k1, k2, k3, k1, k2, k3];
  15. };
  16.  
  17. if ((paramsArray select 0) == 4) then {
  18. {_x addMagazine "rhs_mag_9m133"} foreach [k1, k2, k3];
  19. };
  20.  
  21. setViewDistance 4000; //View distance for the server (the ai's)
  22.  
  23. FW_TimeLimit = 120; //Time limit in minutes, to disable the time limit set it to 0
  24. FW_TimeLimitMessage = "TIME LIMIT REACHED!"; //The message displayed when the time runs out
  25.  
  26. [west, "US Army", "player"] call FNC_AddTeam; //Adds a player team called USMC on side west
  27. [east, "MSV", "player"] call FNC_AddTeam; //Adds a ai team called VDV on side east
  28.  
  29. // [resistance, "Local Militia", "player"] call FNC_AddTeam; //Adds a player team called Local Militia on side resistance (aka independent)
  30. BluforWin = 0;
  31. OpforWin = 0;
  32.  
  33. };
  34.  
  35. if (!isDedicated) then { //This scope is only for the player
  36.  
  37. FW_DebugMessagesEnabled = false;//Only disable debug messages when the mission is released
  38.  
  39. //ACE
  40. //THIS IS CURRENTLY TURNED OFF BY DEFAULT ON THE SERVER - Toggle ballistics on/off. true = on, false = off. in a mission with HEAVY firefight, will this be able to win you a few frames.
  41. //Who can use SurgicalKit. 0 = anyone, 1 = Medics, 2 = Doctors
  42. ace_medical_medicSetting_SurgicalKit = 1;
  43. //Remove SurgicalKit on use. 0 = no, 1 = yes.
  44. ace_medical_consumeItem_SurgicalKit = 0;
  45. //Where can SurgicalKits be used (see also Condition below). 0 = Anywhere, 1 = Medical Vehicles, 2 = Medical Facility, 3 = Vheicles and Facility, 4 = disabled.
  46. ace_medical_useLocation_SurgicalKit = 0;
  47. //When can the SuricalKit be used. 0 = Anytime, 1 = When pation is stable (no pain, bleeding)
  48. ace_medical_useCondition_SurgicalKit = 1;
  49.  
  50. setViewDistance 5000; //View distance for the player
  51.  
  52. if (!(isNil "med1")) then { med1 setVariable ["ace_medical_medicClass",1,true]; };
  53. if (!(isNil "med2")) then { med2 setVariable ["ace_medical_medicClass",1,true]; };
  54. if (!(isNil "med3")) then { med3 setVariable ["ace_medical_medicClass",1,true]; };
  55. if (!(isNil "med4")) then { med4 setVariable ["ace_medical_medicClass",1,true]; };
  56.  
  57. [{if (time > 0 && {getTerrainGrid != 2}) then {setTerrainGrid 2;}}, 0] call CBA_fnc_addPerFrameHandler;
  58.  
  59. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement