Advertisement
soldierman

Custom Faction

Sep 7th, 2014
10,922
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. class CfgPatches {
  2. class unit_config {
  3. units[] = {};
  4. weapons[] = {};
  5. requiredVersion = 0.1;
  6. requiredAddons[] = {"A3_Characters_F_BLUFOR"};
  7. };
  8. };
  9. class CfgFactionClasses
  10. {
  11. class a_units
  12. {
  13. displayName = "ARMY";
  14. author = "YOURNAME";
  15. icon = "Directory to faction Icon"; // Needs to be 16x16 in resolution and it needs to be in the form of a PAA.
  16. priority = 2;
  17. side = 1; // Blufor
  18. };
  19. };
  20. class CfgVehicleClasses
  21. {
  22. class army_units
  23. {
  24. displayName = "Army Battalion"; // Rename to what you want the sub group of the faction will be. You can have multiple subfactions (VehicleClasses) as long as the class name of the VehicleClass is different. Makes it work with zeus
  25. };
  26. };
  27. class CfgVehicles {
  28. class B_Soldier_base_F;
  29. class Army_Squadleader : B_Soldier_base_F {
  30. _generalMacro = "Army_Squadleader";
  31. scope = 2;
  32. displayName = "Squad Leader"; // In-game name of unit
  33. faction = a_units; // Puts unit under new faction
  34. vehicleClass = "army_units"; // Puts unit in the vehicleclass
  35. icon = "iconManLeader";
  36. nakedUniform = "U_BasicBody";
  37. uniformClass = "U_B_CombatUniform_mcam"; // Uniform Class
  38. backpack = "B_AssaultPack_khk"; // Backpack Class
  39. linkedItems[] = {"V_PlateCarrier3_rgr", "H_HelmetB_light", "NVGoggles", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"}; // Item's added to the unit.
  40. respawnLinkedItems[] = {"V_PlateCarrier3_rgr", "H_HelmetB_light", "NVGoggles", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"}; // Item's added to the unit. Should be identical to the linkedItems section.
  41. weapons[] = {"arifle_MX_F","Binocular"}; // Weapons added to the unit.
  42. respawnweapons[] = {"arifle_MX_F","Binocular"}; // Weapons added to the unit. Should be identical to the weapons section
  43. magazines[] = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","HandGrenade",};
  44. Respawnmagazines[] = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","HandGrenade",};
  45. };
  46. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement