config.cpp 969 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(jammer_truck)
  5. {
  6. addonRootClass=macro_patch_name(vehicles)
  7. requiredAddons[]=
  8. {
  9. macro_patch_name(vehicles)
  10. };
  11. requiredVersion=0.1;
  12. units[]=
  13. {
  14. macro_new_vehicle(cis,jammer_truck),
  15. };
  16. weapons[]=
  17. {
  18. };
  19. };
  20. };
  21. class CfgVehicles
  22. {
  23. class I_Truck_02_ammo_F;
  24. class macro_new_vehicle(cis,jammer_truck): I_Truck_02_ammo_F
  25. {
  26. displayName = "CIS Enigma (Jammer)";
  27. crew = macro_new_unit_class(opfor,B1_crew)
  28. side = 0;
  29. faction = macro_cis_faction
  30. editorSubcategory = macro_editor_cat(car)
  31. vehicleClass = macro_editor_vehicle_type(Car)
  32. scope = 2;
  33. scopeCurator = 2;
  34. forceInGarage = 1;
  35. };
  36. };
  37. class Extended_Init_EventHandlers
  38. {
  39. class macro_new_vehicle(cis,jammer_truck)
  40. {
  41. class rd501_jammer {
  42. init = "[_this select 0, 600, 160] call rd501_fnc_jammersAdd";
  43. };
  44. }
  45. };