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

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