bennie1983nl 0 Posted February 24, 2008 Hi to all here is our config file BUT i can't find de POW's in the editor. i just have the officer, soldier, medic and the soldier with cap. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">// Basic def. #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 // type scope #define private 0 #define protected 1 #define public 2 class CfgPatches {  class holland_inf  {   units[] = {holland_inf};   weapons[]={};   requiredVersion=1.30;  }; }; class CfgModels {  class default {}; class Weapon: Default{}; class m95 : Weapon{};  class Man: default {};  class infantry2: Man {};  class infantry_veldpet: Man {};  class infantrymedic: Man {};  class infantry: man {};  class infantrypow: man {};  class infantrypow2: man {}; }; class CfgAmmo { class default{}; class BulletSingle: default{}; class m95bullet: BulletSingle { hit=9.5; indirectHit=1; indirectHitRange=0.0001;         minRange=0.1; minRangeProbab=0.10;         midRange=200; midRangeProbab=0.38;        maxRange=400; maxRangeProbab=0.04; visibleFire=0.935000; audibleFire=0.035000; visibleFireTime=50; cost=0.7; tracerColor[]={0.4353,0.4353,0.4353,1}; tracerColorR[]={0.4353,0.4353,0.4353,1}; }; }; class CfgWeapons { class Default {}; class MGun: Default {}; class Riffle: MGun {}; class M16:Riffle {}; class m95Rifle : M16 { displayName = "m95 rifle"; scopeWeapon=2; scopeMagazine=0; model="\EWD_dutch\weap\m95.p3d";         reloadMagazineSound[]={"\EWD_dutch\weap\reload.wav",db0,1}; optics=true; opticsZoomMin=0.35;    displayNameMagazine="m95bullets magazine";    shortNameMagazine="m95bullets mag"; picture="\EWD_Dutch\icn.paa"; opticsZoomMax=0.35; modes[]={"Single"}; magazines[]={m95Riflemag}; class Single { ammo="m95bullet"; multiplier=1; burst=1; displayName="m95 Rifle"; dispersion=0.0001500; sound[]={"\EWD_dutch\weap\shot.wav",5.000000,1}; soundContinuous=0; reloadTime=2.150000; ffCount=1; recoil="riffleSingle"; autoFire=0; aiRateOfFire=0.200000; aiRateOfFireDistance=520; useAction=0; useActionTitle=""; }; }; class m95Riflemag : m95rifle { scopeWeapon=0; scopeMagazine=2; picture="\EWD_Dutch\icn.paa"; displayNameMagazine = "m95 Magazine"; shortNameMagazine = "m95";         count=5; }; }; class CfgVehicles {  class All {};  class AllVehicles : All {};  class Land : AllVehicles {};  class Man : Land {};  class Soldier : Man {};  class SoldierWB:Soldier {};  class SoldierWOff:SoldierWB {};  class SoldierWMedic: SoldierWB {};  class holland_inf: SoldierWB  {  side=1;  vehicleClass="Holland Mod";  displayName="Soldier";  model="\EWD_dutch\infantry2.p3d";   wounds[]={}; weapons[]={"throw","put","m95Rifle","handgrenade"}; magazines[]={"m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","handgrenade","handgrenade"};  };  class holland_cap: holland_inf {   side=1;   vehicleClass="Holland Mod";   displayName="Soldier (cap)";   model="\EWD_dutch\infantry_veldpet.p3d";  wounds[]={}; weapons[]={"throw","put","m95Rifle","handgrenade"}; magazines[]={"m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","handgrenade","handgrenade"};  }; class holland_med : SoldierWMedic  {   picture=\misc\medik.paa;  vehicleClass="Holland Mod";  model="\EWD_dutch\infantrymedic.p3d";  scope=public;  cost=60000;  displayName=medic;  attendant = true;  weapons[]={};  magazines[]={};  nameSound="medic";  hiddenSelections[] = {};  };  class holland_off : SoldierWOff  {  side=1;  picture="\misc\frcky.paa";  vehicleClass="Holland Mod";  displayName="Officier";  model="\EWD_dutch\infantry.p3d";  wounds[]={}; weapons[]={"throw","put","m95Rifle","handgrenade"}; magazines[]={"m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","m95Riflemag","handgrenade","handgrenade"};  };  class holland_pow : soldierwb  {  side=1;  Vehicleclass="holland Mod";  displayname=POW;  model="\EWD_dutch\infantrypow.p3d";  wounds[]={};  weapons[]={};  magazines[]={};  };  class holland_pow2 : soldierwb  {  side=1;  Vehicleclass="holland Mod";  displayname=POW2;  model="\EWD_dutch\infantrypow2.p3d";  wounds[]={};  weapons[]={};  magazines[]={};  }; class holland_mg : soldierwb  {  side=1;  Vehicleclass="holland Mod";  displayname=lewis crew;  model="\EWD_dutch\infantry.p3d";  wounds[]={};  weapons[]={};  magazines[]={};  }; }; class CfgGroups { class West { class dutch { name="Dutch Infantry"; class dutch_rifle { name="rifle Squad"; class Unit0 { side=1; vehicle="holland_off"; rank="Lieutnant"; position[]={0,5,0}; }; class Unit1 { side=1; vehicle="holland_inf"; rank="Sergeant"; position[]={3,0,0}; }; class Unit2 { side=1; vehicle="holland_inf"; rank="Corporal"; position[]={-3,0,0}; }; class Unit3 { side=1; vehicle="holland_inf"; rank="Corporal"; position[]={5,0,0}; }; class Unit4 { side=1; vehicle="holland_inf"; rank="Private"; position[]={-5,0,0}; }; class Unit5 { side=1; vehicle="holland_inf"; rank="Private"; position[]={7,0,0}; }; class Unit6 { side=1; vehicle="holland_inf"; rank="Private"; position[]={-7,0,0}; }; class Unit7 { side=1; vehicle="holland_inf"; rank="Private"; position[]={-9,0,0}; }; }; }; }; }; Share this post Link to post Share on other sites