pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin - collaborative debugging tool View Help

Posted by Anonymous on Sun 22nd Jan 09:16 (modification of post by Anonymous view diff)
diff | download | new post

  1. #define TEast           0
  2. #define TWest           1
  3. #define TGuerrila       2
  4. #define TCivilian       3
  5. #define TSideUnknown    4
  6. #define TEnemy          5
  7. #define TFriendly       6
  8. #define TLogic          7
  9.  
  10. class CfgPatches
  11. {
  12.         class strac_us_sappers
  13.         {
  14.                 units[] = {"strac_us_sapper_sol","strac_us_sapper_min","strac_us_sapper_sl","strac_us_sapper_tl","strac_us_sapper_at","strac_us_sapper_mg","strac_us_sapper_amg","strac_us_sapper_m14","strac_us_sap_pack_amg","strac_us_eod","strac_us_eod_m14"};
  15.                 weapons[] = {};
  16.                 requiredVersion = 0.1;
  17.                 requiredAddons[] = {"CACharacters","CACharacters_E","CACharacters2"};
  18.         };
  19. };
  20. class CfgVehicleClasses
  21. {
  22.         class strac_us_sap
  23.         {
  24.                 displayName = "US Army Sappers";
  25.         };
  26.         class strac_us_eod
  27.         {
  28.                 displayName = "US Army EOD";
  29.         };
  30. };
  31. class CfgVehicles
  32. {
  33.         class US_Backpack_AmmoMG_EP1;
  34.         class strac_us_sap_pack_amg: US_Backpack_AmmoMG_EP1
  35.         {
  36.                 displayName = "Sapper AmmoMG Pack US";
  37.                 picture = "\ca\weapons_e\data\icons\backpack_US_CA.paa";
  38.                 icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
  39.                 model = "\ca\weapons_e\AmmoBoxes\backpack_us.p3d";
  40.                 class TransportMagazines
  41.                 {
  42.                         class _xx_PipeBomb
  43.                         {
  44.                                 magazine = "PipeBomb";
  45.                                 count = 1;
  46.                         };
  47.                         class _xx_MAAWS_HEAT
  48.                         {
  49.                                 magazine = "MAAWS_HEAT";
  50.                                 count = 1;
  51.                         };
  52.                         class _xx_100Rnd_762x51_M240
  53.                         {
  54.                                 magazine = "100Rnd_762x51_M240";
  55.                                 count = 3;
  56.                         };
  57.                 };
  58.         };
  59.         class US_Soldier_EP1;
  60.         class US_Soldier_Engineer_EP1;
  61.         class US_Soldier_AT_EP1;
  62.         class US_Soldier_TL_EP1;
  63.         class US_Soldier_SL_EP1;
  64.         class US_Soldier_MG_EP1;
  65.         class strac_us_sapper_sol: US_Soldier_Engineer_EP1
  66.         {
  67.                 vehicleClass = "strac_us_sap";
  68.                 displayName = "Sapper (demo)";
  69.                 weapons[] = {"SCAR_L_STD_Mk4CQT","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
  70.                 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","PipeBomb","PipeBomb","HandGrenade_West","SmokeShell"};
  71.                 respawnWeapons[] = {"SCAR_L_STD_Mk4CQT","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
  72.                 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","PipeBomb","HandGrenade_West","SmokeShell"};
  73.         };
  74.         class strac_us_sapper_min: US_Soldier_Engineer_EP1
  75.         {
  76.                 vehicleClass = "strac_us_sap";
  77.                 displayName = "Sapper (mines)";
  78.                 weapons[] = {"SCAR_L_STD_Mk4CQT","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
  79.                 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","Mine","Mine","HandGrenade_West","SmokeShell"};
  80.                 respawnWeapons[] = {"SCAR_L_STD_Mk4CQT","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
  81.                 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","Mine","HandGrenade_West","SmokeShell"};
  82.         };
  83.         class strac_us_sapper_m14: US_Soldier_Engineer_EP1
  84.         {
  85.                 vehicleClass = "strac_us_sap";
  86.                 displayName = "Sapper (M14)";
  87.                 weapons[] = {"M14_EP1","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
  88.                 magazines[] = {"20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","PipeBomb","20Rnd_762x51_DMR","SmokeShell"};
  89.                 respawnWeapons[] = {"M14_EP1","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
  90.                 respawnMagazines[] = {"20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","PipeBomb","HandGrenade_West","SmokeShell"};
  91.         };
  92.         class strac_us_sapper_sl: US_Soldier_SL_EP1
  93.         {
  94.                 vehicleClass = "strac_us_sap";
  95.                 displayName = "Sapper SL";
  96.                 weapons[] = {"SCAR_L_STD_EGLM_RCO","NVGoggles","ItemGPS","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector","M9"};
  97.                 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","HandGrenade_West","IR_Strobe_Target","SmokeShellGreen","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_Smoke_M203","1Rnd_SmokeGreen_M203","15Rnd_9x19_M9","15Rnd_9x19_M9"};
  98.                 respawnWeapons[] = {"SCAR_L_STD_EGLM_RCO","NVGoggles","ItemGPS","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector","M9"};
  99.                 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","IR_Strobe_Target","SmokeShellGreen","1Rnd_HE_M203","1Rnd_SmokeGreen_M203","15Rnd_9x19_M9","15Rnd_9x19_M9"};
  100.                 backpack = "US_Assault_Pack_Explosives_EP1";
  101.                 engineer = 1;
  102.                 canDeactivateMines = 1;
  103.         };
  104.         class strac_us_sapper_tl: US_Soldier_TL_EP1
  105.         {
  106.                 vehicleClass = "strac_us_sap";
  107.                 displayName = "Sapper TL";
  108.                 weapons[] = {"SCAR_L_STD_EGLM_RCO","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector","ItemGPS"};
  109.                 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","IR_Strobe_Target","SmokeShellRed","HandGrenade_West","HandGrenade_West","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_Smoke_M203","1Rnd_SmokeRed_M203","1Rnd_SmokeRed_M203"};
  110.                 respawnWeapons[] = {"SCAR_L_STD_EGLM_RCO","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector","ItemGPS"};
  111.                 respawnmagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","IR_Strobe_Target","SmokeShellRed","HandGrenade_West","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_SmokeRed_M203"};
  112.                 engineer = 1;
  113.                 canDeactivateMines = 1;
  114.                 backpack = "US_Assault_Pack_Explosives_EP1";
  115.         };
  116.         class strac_us_sapper_at: US_Soldier_AT_EP1
  117.         {
  118.                 vehicleClass = "strac_us_sap";
  119.                 displayName = "Sapper AT (MAAWS)";
  120.                 weapons[] = {"SCAR_L_STD_Mk4CQT","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","MAAWS"};
  121.                 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","MAAWS_HEAT","MAAWS_HEDP","30Rnd_556x45_Stanag","HandGrenade_West"};
  122.                 respawnWeapons[] = {"SCAR_L_CQC_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","MAAWS"};
  123.                 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","MAAWS_HEDP","HandGrenade_West"};
  124.                 engineer = 1;
  125.                 canDeactivateMines = 1;
  126.         };
  127.         class strac_us_sapper_mg: US_Soldier_MG_EP1
  128.         {
  129.                 vehicleClass = "strac_us_sap";
  130.                 displayName = "Sapper MG (M240)";
  131.                 weapons[] = {"m240_scoped_EP1","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","M9"};
  132.                 magazines[] = {"100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9"};
  133.                 respawnWeapons[] = {"m240_scoped_EP1","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","M9"};
  134.                 respawnMagazines[] = {"100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","HandGrenade_West","15Rnd_9x19_M9","15Rnd_9x19_M9"};
  135.                 engineer = 1;
  136.                 canDeactivateMines = 1;
  137.         };
  138.         class strac_us_sapper_amg: US_Soldier_EP1
  139.         {
  140.                 vehicleClass = "strac_us_sap";
  141.                 scope = 2;
  142.                 displayName = "Sapper AssisMG (GL)";
  143.                 backpack = "strac_us_sap_pack_amg";
  144.                 weapons[] = {"SCAR_L_CQC_EGLM_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector"};
  145.                 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","PipeBomb","HandGrenade_West","SmokeShell","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203"};
  146.                 respawnWeapons[] = {"SCAR_L_CQC_EGLM_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
  147.                 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","SmokeShell","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203"};
  148.                 engineer = 1;
  149.                 canDeactivateMines = 1;
  150.         };
  151.         class strac_us_eod: strac_us_sapper_sol
  152.         {
  153.                 vehicleClass = "strac_us_eod";
  154.                 displayName = "EOD";
  155.         };
  156.         class strac_us_eod_m14: strac_us_sapper_m14
  157.         {
  158.                 vehicleClass = "strac_us_eod";
  159.                 displayName = "EOD (M14)";
  160.         };
  161. };
  162. class CfgGroups
  163. {
  164.         class West
  165.         {
  166.                 class BIS_US
  167.                 {
  168.                         class strac_us_sap
  169.                         {
  170.                                 name = "US Army Sappers";
  171.                                 class strac_us_sap_sqd
  172.                                 {
  173.                                         name = "Sapper Squad";
  174.                                         faction = BIS_US;
  175.                                         rarityGroup = 0.8;
  176.                                         class Unit0
  177.                                         {
  178.                                                 side = TWest;
  179.                                                 vehicle = "strac_us_sapper_sl";
  180.                                                 rank = CAPTAIN;
  181.                                                 position[] = {0,5,0};
  182.                                         };
  183.                                         class Unit1
  184.                                         {
  185.                                                 side = TWest;
  186.                                                 vehicle = "strac_us_sapper_tl";
  187.                                                 rank = LIEUTENANT;
  188.                                                 position[] = {3,0,0};
  189.                                         };
  190.                                         class Unit2
  191.                                         {
  192.                                                 side = TWest;
  193.                                                 vehicle = "strac_us_sapper_sol";
  194.                                                 rank = SERGEANT;
  195.                                                 position[] = {5,0,0};
  196.                                         };
  197.                                         class Unit3
  198.                                         {
  199.                                                 side = TWest;
  200.                                                 vehicle = "strac_us_sapper_sol";
  201.                                                 rank = PRIVATE;
  202.                                                 position[] = {7,0,0};
  203.                                         };
  204.                                         class Unit4
  205.                                         {
  206.                                                 side = TWest;
  207.                                                 vehicle = "strac_us_sapper_sol";
  208.                                                 rank = PRIVATE;
  209.                                                 position[] = {-3,0,0};
  210.                                         };
  211.                                         class Unit5
  212.                                         {
  213.                                                 side = TWest;
  214.                                                 vehicle = "strac_us_sapper_tl";
  215.                                                 rank = LIEUTENANT;
  216.                                                 position[] = {-5,0,0};
  217.                                         };
  218.                                         class Unit6
  219.                                         {
  220.                                                 side = TWest;
  221.                                                 vehicle = "strac_us_sapper_min";
  222.                                                 rank = PRIVATE;
  223.                                                 position[] = {-7,0,0};
  224.                                         };
  225.                                         class Unit7
  226.                                         {
  227.                                                 side = TWest;
  228.                                                 vehicle = "strac_us_sapper_min";
  229.                                                 rank = PRIVATE;
  230.                                                 position[] = {-9,0,0};
  231.                                         };
  232.                                         class Unit8
  233.                                         {
  234.                                                 side = TWest;
  235.                                                 vehicle = "strac_us_sapper_at";
  236.                                                 rank = CORPORAL;
  237.                                                 position[] = {9,0,0};
  238.                                         };
  239.                                         class Unit9
  240.                                         {
  241.                                                 side = TWest;
  242.                                                 vehicle = "US_Soldier_Medic_EP1";
  243.                                                 rank = SERGEANT;
  244.                                                 position[] = {-11,0,0};
  245.                                         };
  246.                                         class Unit10
  247.                                         {
  248.                                                 side = TWest;
  249.                                                 vehicle = "strac_us_sapper_mg";
  250.                                                 rank = CORPORAL;
  251.                                                 position[] = {11,0,0};
  252.                                         };
  253.                                         class Unit11
  254.                                         {
  255.                                                 side = TWest;
  256.                                                 vehicle = "strac_us_sapper_amg";
  257.                                                 rank = SERGEANT;
  258.                                                 position[] = {13,0,0};
  259.                                         };
  260.                                 };
  261.                                 class strac_us_sap_dtm
  262.                                 {
  263.                                         name = "Sapper Demo Team";
  264.                                         faction = BIS_US;
  265.                                         rarityGroup = 0.8;
  266.                                         class Unit0
  267.                                         {
  268.                                                 side = TWest;
  269.                                                 vehicle = "strac_us_sapper_tl";
  270.                                                 rank = LIEUTENANT;
  271.                                                 position[] = {0,5,0};
  272.                                         };
  273.                                         class Unit1
  274.                                         {
  275.                                                 side = TWest;
  276.                                                 vehicle = "strac_us_sapper_sol";
  277.                                                 rank = SERGEANT;
  278.                                                 position[] = {3,0,0};
  279.                                         };
  280.                                         class Unit2
  281.                                         {
  282.                                                 side = TWest;
  283.                                                 vehicle = "strac_us_sapper_sol";
  284.                                                 rank = CORPORAL;
  285.                                                 position[] = {5,0,0};
  286.                                         };
  287.                                         class Unit3
  288.                                         {
  289.                                                 side = TWest;
  290.                                                 vehicle = "strac_us_sapper_sol";
  291.                                                 rank = PRIVATE;
  292.                                                 position[] = {7,0,0};
  293.                                         };
  294.                                         class Unit4
  295.                                         {
  296.                                                 side = TWest;
  297.                                                 vehicle = "strac_us_sapper_mg";
  298.                                                 rank = PRIVATE;
  299.                                                 position[] = {-3,0,0};
  300.                                         };
  301.                                         class Unit5
  302.                                         {
  303.                                                 side = TWest;
  304.                                                 vehicle = "US_Soldier_Medic_EP1";
  305.                                                 rank = SERGEANT;
  306.                                                 position[] = {-5,0,0};
  307.                                         };
  308.                                 };
  309.                                 class strac_us_sap_mtm
  310.                                 {
  311.                                         name = "Sapper Mine Team";
  312.                                         faction = BIS_US;
  313.                                         rarityGroup = 0.8;
  314.                                         class Unit0
  315.                                         {
  316.                                                 side = TWest;
  317.                                                 vehicle = "strac_us_sapper_tl";
  318.                                                 rank = LIEUTENANT;
  319.                                                 position[] = {0,5,0};
  320.                                         };
  321.                                         class Unit1
  322.                                         {
  323.                                                 side = TWest;
  324.                                                 vehicle = "strac_us_sapper_min";
  325.                                                 rank = SERGEANT;
  326.                                                 position[] = {3,0,0};
  327.                                         };
  328.                                         class Unit2
  329.                                         {
  330.                                                 side = TWest;
  331.                                                 vehicle = "strac_us_sapper_min";
  332.                                                 rank = CORPORAL;
  333.                                                 position[] = {5,0,0};
  334.                                         };
  335.                                         class Unit3
  336.                                         {
  337.                                                 side = TWest;
  338.                                                 vehicle = "strac_us_sapper_min";
  339.                                                 rank = PRIVATE;
  340.                                                 position[] = {-3,0,0};
  341.                                         };
  342.                                         class Unit4
  343.                                         {
  344.                                                 side = TWest;
  345.                                                 vehicle = "strac_us_sapper_mg";
  346.                                                 rank = PRIVATE;
  347.                                                 position[] = {-5,0,0};
  348.                                         };
  349.                                         class Unit5
  350.                                         {
  351.                                                 side = TWest;
  352.                                                 vehicle = "US_Soldier_Medic_EP1";
  353.                                                 rank = SERGEANT;
  354.                                                 position[] = {-7,0,0};
  355.                                         };
  356.                                 };
  357.                                 class stac_us_sap_eod
  358.                                 {
  359.                                         name = "EOD Team";
  360.                                         faction = BIS_US;
  361.                                         rarityGroup = 0.8;
  362.                                         class Unit0
  363.                                         {
  364.                                                 side = TWest;
  365.                                                 vehicle = "strac_us_eod_m14";
  366.                                                 rank = CAPTAIN;
  367.                                                 position[] = {0,5,0};
  368.                                         };
  369.                                         class Unit1
  370.                                         {
  371.                                                 side = TWest;
  372.                                                 vehicle = "strac_us_eod";
  373.                                                 rank = LIEUTENANT;
  374.                                                 position[] = {3,0,0};
  375.                                         };
  376.                                         class Unit2
  377.                                         {
  378.                                                 side = TWest;
  379.                                                 vehicle = "strac_us_eod";
  380.                                                 rank = LIEUTENANT;
  381.                                                 position[] = {-3,0,0};
  382.                                         };
  383.                                         class Unit3
  384.                                         {
  385.                                                 side = TWest;
  386.                                                 vehicle = "strac_us_eod_m14";
  387.                                                 rank = LIEUTENANT;
  388.                                                 position[] = {5,0,0};
  389.                                         };
  390.                                         class Unit4
  391.                                         {
  392.                                                 side = TWest;
  393.                                                 vehicle = "US_Soldier_Medic_EP1";
  394.                                                 rank = LIEUTENANT;
  395.                                                 position[] = {-5,0,0};
  396.                                         };
  397.                                 };
  398.                         };
  399.                 };
  400.         };
  401. };

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me