Home   Help Search Login Register  

Author Topic: NTMUSA config.cpp U.S. Army soldiers pack  (Read 829 times)

0 Members and 1 Guest are viewing this topic.

rbeni12

  • Guest
NTMUSA config.cpp U.S. Army soldiers pack
« on: 21 Sep 2003, 14:41:40 »
Here's the config , it quits when I start the game  :-[



#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

#define private 0
#define protected 1
#define public 2


class CfgPatches
{
   class NTMUSA
   {
      units[] = {

      NTM7th_Soldier,
      NTM7th_SLeader,
      NTM7th_FLeader,
      NTM7th_Gren,
      NTM7th_Radio,
      NTM7th_ASoldier,
      NTM7th_Medic,      

      NTM10th_Soldier,
      NTM10th_SLeader,
      NTM10th_FLeader,
      NTM10th_Gren,
      NTM10th_Radio,      
      NTM10th_ASoldier,
      NTM10th_Medic,

      NTMRanger_Soldier,
                NTMRanger_medic,
                NTMRanger_officer,
                NTMRanger_mg,
      NTMRanger_AT,
      
      NTMAirborne_Soldier,
                NTMAirborne_medic,
                NTMAirborne_officer,
                NTMAirborne_mg,
      NTMAirborne_AT,

      NTMAirborneb_Soldier,
                NTMAirborneb_medic,
                NTMAirborneb_officer,
                NTMAirborneb_mg,
      NTMAirborneb_AT,

      NTMUSMC_officer,
      NTMUSMC_Soldier,
      
      };

      weapons[] = {};
      requiredVersion = 1.91;
   };   
};
class CfgModels
{
   class Default {};
   class Man: Default {};
   class KMMwood6: Man {
      sections[] = {   "head injury",
            "body injury",
            "l arm injury",
            "r arm injury",
            "p arm injury",
            "l leg injury",
            "r leg injury",
            "p leg injury",
            "hlava",
            "krk",
            "zasleh",
                                "goggles",
            "goggles_on",
            "goggles_on_lens",
            "goggles_on_strap",
            "medic",
            "clan",
            "clan_sign",
                                "SJBnvg_rot",
                                "SJBnvgs"
      };
      sectionsInherit=Head;
   };
};
class cfgvehicles
   {
   class All{};
   class AllVehicles:All{};
   class Land:AllVehicles{};
   class Man:Land{};
   class Soldier:Man{};
   class SoldierWB:Soldier{};
   class SoldierWMedic: SoldierWB{};
   class NTM7th_Soldier: SoldierWB   
   {
      nightVision=false;
      model="\NTMUSA\KMMWood.p3d";
      vehicleClass="NATOMOD (Men)";
      scope=public;
      side=TWest;
      accuracy=2.0;
      displayName="7th Rifleman"
                weapons[]={JAM_M16, throw, put};
magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
      cost=40000;
      };

   class NTM7th_Gren: NTM7th_Soldier
      
   {
      displayName="7th Grenadier"
      model="\NTMUSA\KMMWood.p3d";
      weapons[]={JAM_M16GL, throw, put};
      magazines[]={JAM_W556_30Bmag, JAM_W556_30Bmag, JAM_W556_30Bmag, JAM_W556_30Bmag, JAM_M433grenade,JAM_M433grenade,JAM_M433grenade,JAM_M433grenade,JAM_M433grenade,JAM_M433grenade,JAM_M433grenade};
      cost=60000;

   };

   class NTM7th_SLeader: NTM7th_Soldier

   {
      nameSound="officer";
      scope=public;
      model="\NTMUSA\KMMWood.p3d";
      displayName="7th Squad Leader"
      accuracy=4.0;
      vehicleClass="NATOMOD (Men)";
      cost=500000;
      nightVision=false;
      weapons[]={JAM_M16, throw, put};
magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","SmokeShellRed","SmokeShellRed"};
   };
      class EventHandlers
      {
      fired = " if (_this select 4 in [{SmokeShell},{SmokeShellRed},{SmokeShellGreen}]) then {_this exec {\JAM_Magazines\FX\man_popSmoke.sqs}}";
      };


   class NTM7th_fLeader: NTM7th_SLeader

   {
      displayName="7th Fire Team Leader"
      accuracy=3.0;
      cost=300000;
      model="\NTMUSA\KMMWood.p3d";
      nightVision=false;
   };
   class NTM7th_Radio: NTM7th_Soldier
   
   {   
      displayName="7th Radio Operator"
      model="\NTMUSA\KMMWood2.p3d";
      weapons[]={JAM_M16, throw, put};
magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
      cost=60000;
   };
      
   class NTM7th_ASoldier: NTM7th_Soldier
   
   {
      displayname="7th Auto Rifleman"
      model="\NTMUSA\KMMWood4.p3d";
      Weapons[]={JAM_M60, throw, put};
      magazines[]={JAM_W762M_200mag,JAM_W762M_200mag,JAM_W762M_200mag,JAM_W762M_200mag,JAM_W762M_200mag};
      accuracy=6.0;
   };

   class NTM7th_Medic: NTM7th_Soldier

   {
      displayname="7th Medic";
      attendant=true;
      namesound=medic;
      weapons[]={JAM_M16, throw, put, NVGoggles};
magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
   };
   class NTM10th_Soldier: NTM7th_Soldier
   
   {
      displayname="10th Rifleman";
      model="\NTMUSA\KMMwood6.p3d";
      weapons[]={JAM_M16, throw, put, NVGoggles};
magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
      animated=1;

      class Animations
      {
         class CovertNVG
         {
            type="rotation";
            animPeriod=0.5;
            selection="SJBnvg_rot";
            axis="axisNVGs";
            angle0=0;
            angle1=1.91;
         };
      };
      class UserActions
      {
         class Lowervisor
         {
            displayName="Lower Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" < 0.5";
            statement="this animate [""CovertNVG"", 1];this addweapon ""NVGoggles"";this Action[""NVGoggles""]";
         };

         class Raisevisor
         {
            displayName="Raise Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" >= 0.5";
            statement="this animate [""CovertNVG"", 0];this removeweapon ""NVGoggles""";
         };
      };
   };
   
   class NTM10th_SLeader: NTM7th_SLeader

   {
      displayname="10th Squad Leader";
      model="\NTMUSA\KMMwood6.p3d";
      animated=1;

      class Animations
      {
         class CovertNVG
         {
            type="rotation";
            animPeriod=0.5;
            selection="SJBnvg_rot";
            axis="axisNVGs";
            angle0=0;
            angle1=1.91;
         };
      };
      class UserActions
      {
         class Lowervisor
         {
            displayName="Lower Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" < 0.5";
            statement="this animate [""CovertNVG"", 1];this addweapon ""NVGoggles"";this Action[""NVGoggles""]";
         };

         class Raisevisor
         {
            displayName="Raise Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" >= 0.5";
            statement="this animate [""CovertNVG"", 0];this removeweapon ""NVGoggles""";
         };
      };
   };

   class NTM10th_FLeader: NTM7th_fLeader

   {
      displayname="10th Fire Team Leader";
      model="\NTMUSA\KMMwood6.p3d";
      animated=1;

      class Animations
      {
         class CovertNVG
         {
            type="rotation";
            animPeriod=0.5;
            selection="SJBnvg_rot";
            axis="axisNVGs";
            angle0=0;
            angle1=1.91;
         };
      };
      class UserActions
      {
         class Lowervisor
         {
            displayName="Lower Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" < 0.5";
            statement="this animate [""CovertNVG"", 1];this addweapon ""NVGoggles"";this Action[""NVGoggles""]";
         };

         class Raisevisor
         {
            displayName="Raise Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" >= 0.5";
            statement="this animate [""CovertNVG"", 0];this removeweapon ""NVGoggles""";
         };
      };
   };
   
   class NTM10th_Gren: NTM7th_Gren
   
   {
      displayname="10th Grenadier";
      model="\NTMUSA\KMMwood6.p3d";
      animated=1;

      class Animations
      {
         class CovertNVG
         {
            type="rotation";
            animPeriod=0.5;
            selection="SJBnvg_rot";
            axis="axisNVGs";
            angle0=0;
            angle1=1.91;
         };
      };
      class UserActions
      {
         class Lowervisor
         {
            displayName="Lower Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" < 0.5";
            statement="this animate [""CovertNVG"", 1];this addweapon ""NVGoggles"";this Action[""NVGoggles""]";
         };

         class Raisevisor
         {
            displayName="Raise Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" >= 0.5";
            statement="this animate [""CovertNVG"", 0];this removeweapon ""NVGoggles""";
         };
      };
   };

   class NTM10th_Radio: NTM7th_Radio

   {
      displayname="10th Radio Operator";
      model="\NTMUSA\KMMwood2.p3d";
      animated=1;

      class Animations
      {
         class CovertNVG
         {
            type="rotation";
            animPeriod=0.5;
            selection="SJBnvg_rot";
            axis="axisNVGs";
            angle0=0;
            angle1=1.91;
         };
      };
      class UserActions
      {
         class Lowervisor
         {
            displayName="Lower Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" < 0.5";
            statement="this animate [""CovertNVG"", 1];this addweapon ""NVGoggles"";this Action[""NVGoggles""]";
         };

         class Raisevisor
         {
            displayName="Raise Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" >= 0.5";
            statement="this animate [""CovertNVG"", 0];this removeweapon ""NVGoggles""";
         };
      };
   };

   
   class NTM10th_ASoldier: NTM7th_ASoldier

   {
      displayname="10th Auto Rifleman";
      model="\NTMUSA\KMMwood6.p3d";
      animated=1;

      class Animations
      {
         class CovertNVG
         {
            type="rotation";
            animPeriod=0.5;
            selection="SJBnvg_rot";
            axis="axisNVGs";
            angle0=0;
            angle1=1.91;
         };
      };
      class UserActions
      {
         class Lowervisor
         {
            displayName="Lower Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" < 0.5";
            statement="this animate [""CovertNVG"", 1];this addweapon ""NVGoggles"";this Action[""NVGoggles""]";
         };

         class Raisevisor
         {
            displayName="Raise Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" >= 0.5";
            statement="this animate [""CovertNVG"", 0];this removeweapon ""NVGoggles""";
         };
      };
   };

   class NTM10th_Medic: NTM7th_Medic

   {
      displayname="10th Medic";
      model="\NTMUSA\KMMwood6.p3d";
      animated=1;

      class Animations
      {
         class CovertNVG
         {
            type="rotation";
            animPeriod=0.5;
            selection="SJBnvg_rot";
            axis="axisNVGs";
            angle0=0;
            angle1=1.91;
         };
      };
      class UserActions
      {
         class Lowervisor
         {
            displayName="Lower Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" < 0.5";
            statement="this animate [""CovertNVG"", 1];this addweapon ""NVGoggles"";this Action[""NVGoggles""]";
         };

         class Raisevisor
         {
            displayName="Raise Night-Vision Goggles";
            position="axisNVGs";
            radius=1.00000;
            condition="this animationPhase ""CovertNVG"" >= 0.5";
            statement="this animate [""CovertNVG"", 0];this removeweapon ""NVGoggles""";
         };
      };
   };

        class NTMRanger_Soldier: NTM7th_Soldier
   
   {
      displayname="US Ranger Rifleman";
      model="\NTMUSA\Ranger.p3d";
      weapons[]={JAM_M16, throw, put, NVGoggles};
magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
   };

   class NTMRanger_medic: NTM7th_Medic
   
   {
      displayname="US Ranger Medic";
      model="\NTMUSA\Ranger.p3d";
      weapons[]={JAM_M16, throw, put, NVGoggles};
magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
   };

   class NTMRanger_officer: NTM7th_SLeader
   
   {
      displayname="US Ranger Officer";
      model="\NTMUSA\Ranger.p3d";
      weapons[]={JAM_M16, throw, put, NVGoggles};
magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};
   };

   class NTMRanger_mg: NTM7th_ASoldier

   {
      displayname="US Ranger Machine Gunner";
      model="\NTMUSA\Ranger.p3d";
      };
   
   class NTMRanger_AT: NTM7th_Soldier
   
   {
      displayname="US Ranger AT Soldier"
      model="\NTMUSA\Ranger.p3d"
      weapons[]={"JAM_M16", LAWLauncher, throw, put, NVGoggles};      magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag",LAWLauncher,LAWLauncher,LAWLauncher};
      
      
   };
   
   class NTMAirborne_Soldier: NTMRanger_Soldier
   
   {
      displayname="US 173 ABN Rifleman";
      model="\NTMUSA\Airborne.p3d";
   };
   
   class NTMAirborne_medic: NTMRanger_Medic

   {
      displayname="US 173 ABN Medic";
      model="\NTMUSA\Airborne.p3d";
   };

   class NTMAirborne_officer: NTMRanger_Officer

   {
      displayname="US 173 ABN Officer";
      model="\NTMUSA\Airborne.p3d";
   };

   class NTMAirborne_mg: NTMRanger_mg
   
   {
      displayname="US 173 ABN Auto Rifleman";
      model="\NTMUSA\Airborne.p3d";
   };
   
   class NTMAirborne_AT: NTMRanger_AT

   {
      displayname="US 173 ABN AT Soldier";
      model="\NTMUSA\Airborne.p3d";
   };
   
   class NTMAirborneb_Soldier: NTMRanger_Soldier
   
   {
      displayname="US 173 ABN Rifleman (Backpack)";
      model="\NTMUSA\Airborne2.p3d";
   };
   
   class NTMAirborneb_medic: NTMRanger_Medic

   {
      displayname="US 173 ABN Medic (Backpack)";
      model="\NTMUSA\Airborne2.p3d";
   };

   class NTMAirborneb_officer: NTMRanger_Officer

   {
      displayname="US 173 ABN Officer (Backpack)";
      model="\NTMUSA\Airborne2.p3d";
   };

   class NTMAirborneb_mg: NTMRanger_mg
   
   {
      displayname="US 173 ABN Auto Rifleman (Backpack)";
      model="\NTMUSA\Airborne2.p3d";
   };
   
   class NTMAirborneb_AT: NTMRanger_AT

   {
      displayname="US 173 ABN AT Soldier (Backpack)";
      model="\NTMUSA\Airborne2.p3d";
   };

   class NTMUSMC_officer: NTMRanger_Officer

   {
      displayname="USMC Officer";
      model="\NTMUSA\USMC.p3d";
   };
   
   class NTMUSMC_Soldier: NTMRanger_Soldier
   
   {
      displayname="USMC Rifleman";
      model="\NTMUSA\USMC.p3d";
   };
   

   
   
      
};
   


   class CfgGroups
   {
      class West
      {
         name="West";
         class NATOMOD
      {
         name="NATOMOD";
         class NATO7th
         {
         name="7th Infantry Division";

            class Unit0
            {
            name="1";
            side=1;
            vehicle="NTM7th_SLeader";
            rank="Colonel";
            position[]={0,5,0};
            };
            class Unit1
            {
            name="2";
            side=1;
            vehicle="NTM7th_Soldier";
            rank="Lieutnant";
            position[]={5,0,0};
            };
            class Unit2
            {
            name="3";
            side=1;
            vehicle="NTM7th_FLeader";
            rank="Sergeant";
            position[]={-5,0,0};
            };
            class Unit3
            {
            name="4";
            side=1;
            vehicle="NTM7th_Gren"
            rank="Corporal";
            position[]={10,0,0};
            };
            class Unit4
            {
            name="5";
            side=1;
            vehicle="NTM7th_Soldier";
            rank="Corporal";
            position[]={-10,0,0};
            };
            class Unit5
            {
            name="6";
            side=1;
            vehicle="NTM7th_Soldier";
            rank="Corporal";
            position[]={15,0,0};
            };
            class Unit6
            {
            name="7";
            side=1;
            vehicle="NTM7th_Medic";
            rank="Corporal";
            position[]={-15,0,0};
            };
            class Unit7
            {
            name="8";
            side=1;
            vehicle="NTM7th_ASoldier";
            rank="Private";
            position[]={20,0,0};
            };
            class Unit8
            {
            name="9";
            side=1;
            vehicle="NTM7th_Radio";
            rank="Private";
            position[]={-20,0,0};
            };
            
         };
         
         class NATO10th
         {
         name="10th Mountain Division";
            
            class Unit0
            {
            name="1";
            side=1;
            vehicle="NTM10th_SLeader";
            rank="Colonel";
            position[]={0,5,0};
            };
            class Unit1
            {
            name="2";
            side=1;
            vehicle="NTM10th_FLeader";
            rank="Lieutnant";
            position[]={5,0,0};
            };
            class Unit2
            {
            name="3";
            side=1;
            vehicle="NTM10th_Soldier";
            rank="Sergeant";
            position[]={-5,0,0};
            };
            class Unit3
            {
            name="4";
            side=1;
            vehicle="NTM10th_Gren"
            rank="Corporal";
            position[]={10,0,0};
            };
            class Unit4
            {
            name="5";
            side=1;
            vehicle="NTM10th_Soldier";
            rank="Corporal";
            position[]={-10,0,0};
            };
            class Unit5
            {
            name="6";
            side=1;
            vehicle="NTM10th_Soldier";
            rank="Corporal";
            position[]={15,0,0};
            };
            class Unit6
            {
            name="7";
            side=1;
            vehicle="NTM10th_Medic";
            rank="Corporal";
            position[]={-15,0,0};
            };
            class Unit7
            {
            name="8";
            side=1;
            vehicle="NTM10th_ASoldier";
            rank="Private";
            position[]={20,0,0};
            };
            class Unit8
            {
            name="9";
            side=1;
            vehicle="NTM10th_Radio";
            rank="Private";
            position[]={-20,0,0};
            };





BoNeCoLLeCToR

  • Guest
Re:NTMUSA config.cpp U.S. Army soldiers pack
« Reply #1 on: 22 Sep 2003, 15:26:18 »
I think you need to remove this lines in every section by:
vehicleClass="NATOMOD (Men)";
try this: vehicleClass="NATOMOD - Men";