lukemax 0 Posted November 28, 2003 i when i put my weapon pack ingame it bombs out straight away! ANy ideas? I think it has something to do with the lsw and terrorMorita weapons. //SSTWP - Starship Troopers Weapons Pack #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 moritaIM: Weapon {}; class morcarb: Weapon {}; class mor: Weapon {}; class sniper: Weapon {}; class md797: Weapon {}; class lswG: Weapon {}; class termorG: Weapon {}; }; class CfgPatches { class sstwp { units[] = {}; weapons[] = {"moritaIM", "termorG", "morita_carb", "lswG", "md797", "morita", "morita_sniper"}; requiredVersion = 1.75; }; }; class CfgAmmo { class Default{}; class BulletSingle: Default{}; class moritaBullet: BulletSingle { hit=10; indirectHit=5; indirectHitRange=0.1; minRange=10;minRangeProbab=0.10; midRange=500;midRangeProbab=0.38; maxRange=1200;maxRangeProbab=0.04; }; class moritaShell: BulletSingle { hit=20; indirectHit=10; indirectHitRange=0.5; minRange=10;minRangeProbab=0.69; midRange=50;midRangeProbab=0.64; maxRange=200;maxRangeProbab=0.55; }; }; class CfgWeapons { class Default {}; class MGun: Default {}; class Riffle: MGun {}; class morita: Riffle { scopeWeapon = public; scopeMagazine = public; model="\morita1\mor.p3d"; modelOptics="optika_m16"; picture = "\morita1\Moriatammo1.paa"; optics = true; opticsZoomMin=0.35; //was 0.21 opticsZoomMax=0.35; count=50; displayName="Morita"; displayNameMagazine="Morita Mag"; shortNameMagazine = "MoritaMag"; drySound[]={"weapons\M16Dry",db-50,1}; // empty magazine reloadMagazineSound[]={"\morita1\sound\reload.ogg",db-50,1}; magazines[] = {morita, morita_carb}; modes[] = {Single,Burst,FullAuto}; class Single { ammo = "moritaBullet"; multiplier=1; burst=1; displayName="Morita"; dispersion=0.002; sound[]={\morita1\sound\morita.wav,db 0,1}; soundContinuous=false; reloadTime=0.15; ffCount=1; recoil=riffleSingle; autoFire = false; aiRateOfFire=5.0; // delay between shots at given distance aiRateOfFireDistance=500; // at shorter distance delay goes lineary to zero useAction = false; useActionTitle = ""; }; class Burst { ammo = "moritaBullet"; multiplier = 1; burst = 5; displayName = "Morita Burst"; dispersion = 0.0004000; sound[]={\morita1\sound\morita.wav,db0,1}; soundContinuous = 0; reloadTime = 0.066666; recoil = "riffleBurst3"; ffCount = 5; autoFire = 0; aiRateOfFire = 5.000000; aiRateOfFireDistance = 500; useAction = 0; useActionTitle = ""; }; class FullAuto { ammo = "moritaBullet"; multiplier=1; burst=1; displayName = "Morita Auto"; dispersion=0.004; sound[]={\morita1\sound\morita.wav,db0,1}; soundContinuous=false; reloadTime=0.1; ffCount=50; recoil=riffleBurst3; autoFire = true; aiRateOfFire=5.0; // delay between shots at given distance aiRateOfFireDistance=500; // at shorter distance delay goes lineary to zero useAction = false; useActionTitle = ""; }; }; class morita_carb: morita { model="\morita1\morcarb.p3d"; displayName="Morita Carbine"; picture = "\morita1\morita.pac"; magazines[] = {morita, morita_carb}; sound[]={\morita1\sound\moritacarb.wav,db 0,1}; soundContinuous=false; modes[] = {Single,Burst,FullAuto}; class Single { ammo = "moritaBullet"; displayName="Morita Carbine"; dispersion=0.002; sound[]={\morita1\sound\moritacarb.wav,db 0,1}; }; class Burst { ammo = "moritaBullet"; displayName="Morita Carbine"; dispersion = 0.0004000; sound[]={\morita1\sound\moritacarb.wav,db 0,1}; }; class FullAuto { ammo = "moritaBullet"; displayName = "Morita Carbine Auto"; dispersion=0.004; sound[]={\morita1\sound\moritacarb.wav,db0,1}; }; }; class lswG: morita { model="\morita1\lsw.p3d"; displayName="Light Support Weapon"; picture = "\morita1\morita.pac"; magazines[] = {morita, morita_carb}; sound[]={\morita1\sound\morita.wav,db 0,1}; muzzles[] = {moritaMuzzle}; soundContinuous=false; modes[] = {Single,FullAuto}; class Single { ammo = "moritaBullet"; displayName="LSW Single"; dispersion=0.002; sound[]={\morita1\sound\moritacarb.wav,db 0,1}; }; class FullAuto { ammo = "moritaBullet"; displayName = "LSW Auto"; dispersion=0.004; sound[]={\morita1\sound\morita.wav,db 0,1}; }; }; class termorG: morita { model="\morita1\termor.p3d"; displayName="Terror Morita"; picture = "\morita1\morita.pac"; magazines[] = {morita, morita_carb}; sound[]={\morita1\sound\morita.wav,db 0,1}; soundContinuous=false; modes[] = {Single,FullAuto}; class Single { ammo = "moritaBullet"; displayName="termor Single"; dispersion=0.002; sound[]={\morita1\sound\moritacarb.wav,db 0,1}; }; class FullAuto { ammo = "moritaBullet"; displayName = "termor Auto"; dispersion=0.004; sound[]={\morita1\sound\morita.wav,db 0,1}; }; }; class md797: Riffle { scopeWeapon = public; scopeMagazine = public; model="\morita1\mor.p3d"; modelOptics="optika_m16"; picture = "\morita1\morita.pac"; optics = true; opticsZoomMin=0.35; //was 0.21 opticsZoomMax=0.35; count=50; reloadTime=2.1; displayName="Shotgun"; displayNameMagazine="ShotgunMag"; shortNameMagazine = "ShotMag"; drySound[]={"weapons\M16Dry",db-50,1}; // empty magazine reloadMagazineSound[]={"\morita1\sound\reload.ogg",db-50,1}; magazines[] = {md797}; muzzlePos="usti granatometu"; muzzleEnd="konec granatometu"; modes[] = {Burst}; class Burst { ammo = "moritaShell"; multiplier=1; burst=10; displayName= "md797"; dispersion=0.10; sound[]={\morita1\sound\MKey_shot.wav,db0,1}; soundContinuous=true; reloadTime=0.000001; ffCount=3; recoil=riffleSingle; autoFire = false; aiRateOfFire=5.0; // delay between shots at given distance aiRateOfFireDistance=50; // at shorter distance delay goes lineary to zero useAction = false; useActionTitle = ""; }; }; class morita_sniper: morita { model="\morita1\sniper.p3d"; modelOptics="morita1\reticule.p3d"; picture = "\morita1\morita.pac"; optics = true; opticsZoomMin=0.1; opticsZoomMax=0.1; displayName="Morita Sniper"; muzzles[] = {moritaMuzzle, md797Muzzle}; class moritaMuzzle : morita { magazines[] = {"morita", "morita_carb"}; model="\morita1\sniper.p3d"; modelOptics="\morita1\reticule.p3d"; optics = true; opticsZoomMin=0.1; opticsZoomMax=0.1; }; class md797Muzzle : md797 { displayName="Morita MD797"; magazines[] = {"md797"}; } canDrop = true; }; class moritaIM { scopeWeapon = 2; scopeMagazine = 0; weaponType = 1; model="\morita1\mor.p3d"; displayName = "Morita IM"; picture = "\morita1\morita.pac"; muzzles[] = {moritaMuzzle, md797Muzzle}; class moritaMuzzle : morita { magazines[] = {"morita", "morita_carb"}; }; class md797Muzzle : md797 { displayName="Morita MD797"; magazines[] = {"md797"}; } canDrop = true; }; }; class CfgVehicles { class All{}; class AllVehicles:All{}; class Land:AllVehicles{}; class Man:Land{}; class Soldier:Man{}; class SoldierWB:Soldier{} class Soldiermorita: SoldierWB{ displayName="Soldier (Morita)"; weapons[]={moritaIM,"Throw","Put"}; vehicleClass="SST - Units"; magazines[]={morita,morita,morita,morita,md797,md797,"HandGrenade","HandGrenade",m orita,morita}; }; class Soldiermoritacarb: SoldierWB{ displayName="Soldier (Morita Carbine)"; weapons[]={morita_carb,"Throw","Put"}; vehicleClass="SST - Units"; magazines[]={morita,morita,morita,morita,"HandGrenade","HandGrenade",SmokeShell,Sm okeShell}; }; class Soldiermorsniper: SoldierWB{ displayName="Soldier (Sniper)"; weapons[]={morita_sniper,"Throw","Put"}; vehicleClass="SST - Units"; magazines[]={morita,morita,morita,morita,md797,md797,md797,md797,morita,morita}; }; class Soldierlsw: SoldierWB{ displayName="Soldier (LSW)"; weapons[]={lsw,"Throw","Put"}; vehicleClass="SST - Units"; magazines[]={morita,morita,morita,morita,morita,morita}; }; class Soldiertermor: SoldierWB{ displayName="Soldier (Terrormorita)"; weapons[]={termor,"Throw","Put"}; vehicleClass="SST - Units"; magazines[]={morita,morita,morita,morita,morita,morita}; }; class CfgNonAIVehicles { class ProxyWeapon {}; class Proxymorita: ProxyWeapon {}; }; }; Share this post Link to post Share on other sites
Eviscerator 0 Posted November 28, 2003 You already have a topic on this subject: http://www.flashpoint1985.com/cgi-bin....t=35373 Share this post Link to post Share on other sites