Evishion 0 Posted August 1, 2003 hey guys I have a little problem. I have maked a M4 gun with reflex sight and grenadelaucnher.  In the config I wrote: // M4 maked by DiabloTerror  // some basic defines #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 CfgModels { class Default{}; class Weapon: Default{}; class M4L : Weapon{}; }; class CfgPatches { class nsM4L { units[] = {nsM4L}; weapons[] = {DT_M4L}; requiredVersion = 1.85; requiredAddons[] = {}; }; }; class CfgRecoils { M4Recoil[]={0.018000,0.033000,0.020000,0.056000,0,0}; }; class CfgWeapons { class Default{} class MGun: Default{}; class MachineGun7_6: MGun{}; class GrenadeLauncher: Default{}; class Riffle: MGun {}; class M4: Riffle {}; class SniperRiffle : Riffle {}; class HuntingRifle : SniperRiffle {}; class SVDDragunov : HuntingRifle{}; class DT_M4L: M4 { cursorAim ="\M4A1wL\Optics\lrdot.paa"; model="\M4A1wL\M4L"; modelOptics="\M4A1wL\Optics\inq_optika_m4reflex"; displayName="M4"; displayNameMagazine = "M4L Mag"; shortNameMagazine = "M4L Mag";     drySound[]={"\M4A1wL\Sounds\M4dry",db-50,1}; reloadMagazineSound[]={"\M4A1wL\Sounds\M4reload.wav",db+10,1}; count=30; picture="\M4A1wL\DT_M4L.paa";     optics = true; opticsZoomMin=0.35; opticsZoomMax=0.50; magazines[] = {"DT_M4L_mag"}; muzzles[] = {M4Muzzle, M203Muzzle}; class M4Muzzle : M4 { magazines[] = {DT_M4L_mag}; }; class M203Muzzle : GrenadeLauncher { displayName=M203; modelOptics="\M4A1wL\Optics\inq_optika_m203"; sound[]={\M4A1wL\Sounds\M203fire, db-70,1}; magazines[] = {GrenadeLauncher, GrenadeLauncher, GrenadeLauncher, GrenadeLauncher, FlareYellow}; }; modes[] = {FullAuto, Single}; class FullAuto { ammo = BulletFullAuto; multiplier=1; burst=1; displayName="M4A1M203 - Fullauto"; dispersion=0.002; sound[]={"\M4A1wL\Sounds\M4fire.wav",1.000000,1}; soundContinuous=false; reloadTime=0.07; ffCount=30; recoil="M4Recoil"; autoFire = true; aiRateOfFire=0.09; aiRateOfFireDistance=500; useAction = false; useActionTitle = ""; }; class Single { ammo = BulletSingle; multiplier=1; burst=1; displayName = "M4M203 - Semi"; dispersion=0.004; sound[]={"\M4A1wL\Sounds\M4fire.wav",1.000000,1}; soundContinuous=false; reloadTime=0.1; ffCount=30; recoil="M4Recoil"; autoFire = false; aiRateOfFire=0.06; aiRateOfFireDistance=500; useAction = false; useActionTitle = ""; };   }; class DT_M4L_mag: DT_M4L { scopeWeapon=0; scopeMagazine=2; displayName="M4L mag"; displayNameMagazine = "M4L Mag"; shortNameMagazine = "M4L Mag"; picture="M16"; }; }; //======================= class cfgvehicles { class All {}; class AllVehicles: All {}; class Land: AllVehicles {}; class Man:Land{}; class Soldier:Man{} class SoldierWB:Soldier{}; class nsM4L: SoldierWB { displayName="Soldier (M4A1-M203)"; access=2 weapons[]={"Throw","Put","DT_M4L","Beretta","NVGoggles& amp; amp; amp; quot;,"Binocular"}; magazines[]={"DT_M4L_mag","DT_M4L_mag","DT_M4L_mag","DT_M4L_mag& ; ; ;quo t;,"GrenadeLauncher","GrenadeLauncher","GrenadeLauncher",&am p;am p;am p;qu ot;BerettaMag","BerettaMag","BerettaMag","BerettaMag"}; } //==============End of units================== }; class CfgNonAIVehicles { class ProxyWeapon {}; }; the prob is that the M203 Optic works perfectly but the Reflex Optic dont work, I just have the standard M16 Optic ... have I done something wrong in teh config?  plllzzz I need help and I need help with the cursor  what have I done wrong there?  -Greetings Share this post Link to post Share on other sites
Evishion 0 Posted August 1, 2003 arrgh--common Someone must know Share this post Link to post Share on other sites
Evishion 0 Posted August 2, 2003 hmmmmmmmmmmmmm theavonladie do u know?? SOMEONE must know!!!! Share this post Link to post Share on other sites
Totmacher 0 Posted August 2, 2003 Try this,... define your optics in the muzzle class i think it must work. muzzles[] = {M4Muzzle, M203Muzzle}; class M4Muzzle : M4 { modelOptics="\M4A1wL\Optics\inq_optika_m4reflex"; magazines[] = {DT_M4L_mag}; }; class M203Muzzle : GrenadeLauncher { displayName=M203; modelOptics="\M4A1wL\Optics\inq_optika_m203"; sound[]={\M4A1wL\Sounds\M203fire, db-70,1}; magazines[] = {GrenadeLauncher, GrenadeLauncher, GrenadeLauncher, GrenadeLauncher, FlareYellow}; }; And that you can change from class DT_M4L: M4 { to class DT_M4L { You do not need to link you own weapon to the bis m4 at this time because you do that here already,.. class M4Muzzle : M4 { I hope it will now work Share this post Link to post Share on other sites
Shashman 0 Posted August 2, 2003 GAH! ANOTHER M4 addon!? Share this post Link to post Share on other sites
Evishion 0 Posted August 2, 2003 Try this,... define your optics in the muzzle class i think it must work.muzzles[] = {M4Muzzle, M203Muzzle}; class M4Muzzle : M4 { modelOptics="\M4A1wL\Optics\inq_optika_m4reflex"; magazines[] = {DT_M4L_mag}; }; class M203Muzzle : GrenadeLauncher { displayName=M203; modelOptics="\M4A1wL\Optics\inq_optika_m203"; sound[]={\M4A1wL\Sounds\M203fire, db-70,1}; magazines[] = {GrenadeLauncher, GrenadeLauncher, GrenadeLauncher, GrenadeLauncher, FlareYellow}; }; And that you can change from class DT_M4L: M4 { to class DT_M4L { You do not need to link you own weapon to the bis m4 at this time because you do that here already,.. class M4Muzzle : M4 { I hope it will now work ok thx I shall try it Quote[/b] ]GAH! ANOTHER M4 addon!? yep Share this post Link to post Share on other sites
Evishion 0 Posted August 2, 2003 arrrggh Just get some errormessages when i do that Share this post Link to post Share on other sites
Totmacher 0 Posted August 2, 2003 Ok can you sent me your addon or the config ?? Or sometimes its helpfull to know what error messages you get  . But this can be deleted class MachineGun7_6: MGun{}; class SniperRiffle : Riffle {}; class HuntingRifle : SniperRiffle {}; class SVDDragunov : HuntingRifle{}; Or do you have more weapons in your addon or in you config? Share this post Link to post Share on other sites
Evishion 0 Posted August 3, 2003 But this can be deletedclass MachineGun7_6: MGun{}; class SniperRiffle : Riffle {}; class HuntingRifle : SniperRiffle {}; class SVDDragunov : HuntingRifle{}; Or do you have more weapons in your addon or in you config? nah i have only 1 gun......I can send u the config sure..whats ur email? Share this post Link to post Share on other sites
Totmacher 0 Posted August 3, 2003 Glick on the 2D, 3D artist text in my sig . Share this post Link to post Share on other sites