Jump to content
Sign in to follow this  
stiefel1976

Same Gun sounds

Recommended Posts

Hello! i need some help, am not good in scripting things :confused:

I have two Battle Ships east and west. Both have different gun.wav in the pbo.

in the game, the guns have the same sounds :confused:

Please help

here the config1:

#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

#define CanSeeRadar 1

#define CanSeeEye 2

#define CanSeeOptics 4

#define CanSeeEar 8

#define CanSeeCompass 16

#define CanSeeRadarC CanSeeRadar+CanSeeCompass

#define CanSeeAll 31

class CfgPatches

{

class Bismarck

{

units[] = {Bismarck, Bismarckgun1};

//weapons[] = {};

requiredVersion = 1.96;

};

};

class CfgModels

{

class Default

{

sections[] = {};

sectionsInherit="";

};

class Vehicle: Default

{

sections[] =

{

"zasleh"

};

};

class gun1: Vehicle{};

class gun2: Vehicle{};

class gun3: Vehicle{};

class gun4: Vehicle{};

class Ship

{

sectionsInherit="Vehicle";

sections[]=

{

"sign"

};

};

}; //end CfgModels

class CfgAmmo

{

class default {};

class Shell: Default{};

class Shell73: Shell{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Shell130: Shell125{};

class BulletSingle : Default{};

class ExplosiveBullet: BulletSingle{};

class Bullet30: ExplosiveBullet{};

class Bismarckgun1: Bullet30

{

hit=2000;indirectHit=15;indirectHitRange=1;

minRange=20;minRangeProbab=0.80;

midRange=5000;midRangeProbab=0.95;

maxRange=10000;maxRangeProbab=0.05;

cost=40;

};

};

class CfgWeapons

{

class default {};

class Shell73: Default{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Shell130: Shell125

{

ammo="Shell130";

count=200;

initSpeed=1200;

reloadTime=0.100000;

sound[]={"\Bismarck\Cannon.wav",10.000000,1};

reloadSound[]={"Weapons\missload",0.000316,1};

};

}; // end of Cfgweapons

class WeaponCloudsGun {};

class WeaponCloudsMGun : WeaponCloudsGun {};

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Ship: AllVehicles{};

class SmallShip: Ship{};

class BoatW: SmallShip{};

class Bismarck: BoatW

{

vehicleClass="Armored";

hiddenSelections[] = {"sign"};

displayName="Battleship_Bismarck";

autocenter=0;

accuracy=0.50;

scope=2;

crew="soldierEB";

picture="\Bismarck\shipbattle.paa";

side=TEast;

weapons[] ={};

magazines[] = {};

cost=1500;

hasGunner=0;

hasCommander=0;

hasDriver=1;

armor=100000;

destrType=tank;

fuelCapacity=5000;

driverAction="ManActPBRDriver";

maxSpeed=20;

icon="\Bismarck\shipbattle.paa";

mapSize=150;

model="\Bismarck\Bismarck";

soundEnviron[]={"environmental\wave_break",0.000316,1};

soundEngine[]={"\Bismarck\Motor.wav",0.000316,1};

audible=6;

nameSound="ship";

formationX=80;

formationZ=80;

precision=25;

brakeDistance=5;

formationTime=10;

steerAheadSimul=2.000000;

steerAheadPlan=2.400000;

predictTurnSimul=2.000000;

predictTurnPlan=2.400000;

commanderCanSee = CanSeeAll;

threat[]={0.900000,0.900000,0.700000};

getInRadius=5;

getInAction="ManActGetOutCar";

getOutAction="ManActGetOutCar";

coefInside = 2;

coefInsideHeur = 4.3;

extCameraPosition[]={20,40,-200};

transportSoldier = 0;

animated=0;

class Reflectors

{

class Right

{

color[] = {0.8, 0.8, 1.0, 1.0};

ambient[] = {0.07, 0.07, 0.07, 1.0};

position = "P svetlo";

direction = "konec P svetla";

hitpoint = "P svetlo";

selection = "P svetlo";

size = 3;

brightness = 1.50;

};

class Left

{

color[] = {0.9, 0.8, 0.8, 1.0};

ambient[] = {0.1, 0.1, 0.1, 1.0};

position = "L svetlo";

direction = "konec L svetla";

hitpoint = "L svetlo";

selection = "L svetlo";

size = 1;

brightness = 1.00;

};

};

class eventhandlers

{

init=" _cargo1= ""Anton"" createVehicle getPos ( _this select 0); [_this select 0, _cargo1] exec {\Bismarck\scripts\transport2.sqs};_cargo2= ""Bruno"" createVehicle getPos ( _this select 0); [_this select 0, _cargo2] exec {\Bismarck\scripts\transport3.sqs};_cargo3= ""Caesar"" createVehicle getPos ( _this select 0); [_this select 0, _cargo3] exec {\Bismarck\scripts\transport4.sqs}; [_this select 0, acargo,mike1] exec {\Bismarck\scripts\actionstation.sqs}; [_this select 0, bcargo,mike2] exec {\Bismarck\scripts\actionstation2.sqs}; [_this select 0, ccargo,mike3] exec {\Bismarck\scripts\actionstation3.sqs}; [_this select 0, dcargo,mike4] exec {\Bismarck\scripts\actionstation4.sqs}; [_this select 0] exec {\Bismarck\scripts\digitscript.sqs};[_this select 0] exec{\Bismarck\scripts\autosmoke.sqs}";fired="[_this select 0] exec {\Bismarck\scripts\delete.sqs}";

};

};

class Land: AllVehicles{};

class LandVehicle: Land {};

class Tank: LandVehicle {};

class APC: Tank{};

class M113: APC{};

class M2StaticMG: M113{};

class Bismarckgun1: M2StaticMG

{

autocenter=0;

side=0;

scope=1;

picture="\Bismarck\shipicon.paa";

model="\Bismarck\gun1";

destrType=tank;

cost=150;

armor=1000;

displayName="gun1";

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

maxSpeed=0;

fuelCapacity=0;

gunnerCanSee="1+16+4+8";

extCameraPosition[]={0,3,-12};

irScanRangeMin=500;

irScanRangeMax=4000;

irScanToEyeFactor=1;

threat[]={1,1,1};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=100;

minTurn=-90;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

class Reflectors

{

class Right

{

color[] = {0.8, 0.8, 1.0, 1.0};

ambient[] = {0.07, 0.07, 0.07, 1.0};

position = "P svetlo";

direction = "konec P svetla";

hitpoint = "P svetlo";

selection = "P svetlo";

size = 1;

brightness = 0.95;

};

class Left

{

color[] = {1.0, 0.0, 0.0, 0.0};

ambient[] = {0.7, 0.1, 0.1, 1.0};

position = "L svetlo";

direction = "konec L svetla";

hitpoint = "L svetlo";

selection = "L svetlo";

size = 1;

brightness = 0.25;

};

};

};

class gun1: Bismarckgun1

{

autocenter=0;

side=0;

scope=1;

picture="\Bismarck\shipicon.paa";

model="\Bismarck\gun1";

displayName="Anton";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=120;

minTurn=-180;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

};

class gun2: Bismarckgun1

{

autocenter=0;

side=0;

scope=1;

picture="\Bismarck\shipicon.paa";

model="\Bismarck\gun1";

displayName="Bruno";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=120;

minTurn=-180;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

};

class gun3: Bismarckgun1

{

autocenter=0;

side=0;

scope=1;

picture="\Bismarck\shipicon.paa";

model="\Bismarck\gun1";

displayName="Caesar";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10; maxElev=120;

minTurn=90; maxTurn=240;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

};

class gun4: Bismarckgun1

{

autocenter=0;

side=0;

scope=1;

picture="\Bismarck\shipicon.paa";

model="\Bismarck\gun1";

displayName="Dora";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10; maxElev=120;

minTurn=90; maxTurn=240;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

};

}

}; //end of cfgweapon

--------------------------------------------------------------------------

here the config2:

#define TWest 1

#define TEast 0

#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

#define CanSeeRadar 1

#define CanSeeEye 2

#define CanSeeOptics 4

#define CanSeeEar 8

#define CanSeeCompass 16

#define CanSeeRadarC CanSeeRadar+CanSeeCompass

#define CanSeeAll 31

class CfgPatches

{

class Tirpitz

{

units[] = {Tirpitz, Tirpitzgun1};

//weapons[] = {};

requiredVersion = 1.96;

};

};

class CfgModels

{

class Default

{

sections[] = {};

sectionsInherit="";

};

class Vehicle: Default

{

sections[] =

{

"zasleh"

};

};

class gun1: Vehicle{};

class gun2: Vehicle{};

class gun3: Vehicle{};

class gun4: Vehicle{};

class Ship

{

sectionsInherit="Vehicle";

sections[]=

{

"sign"

};

};

}; //end CfgModels

class CfgAmmo

{

class default {};

class Shell: Default{};

class Shell73: Shell{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Shell130: Shell125{};

class BulletSingle : Default{};

class ExplosiveBullet: BulletSingle{};

class Bullet30: ExplosiveBullet{};

class Tirpitzgun1: Bullet30

{

hit=2000;indirectHit=15;indirectHitRange=1;

minRange=20;minRangeProbab=0.80;

midRange=5000;midRangeProbab=0.95;

maxRange=10000;maxRangeProbab=0.05;

cost=40;

};

};

class CfgWeapons

{

class default {};

class Shell73: Default{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Shell130: Shell125

{

ammo="Shell130";

count=200;

initSpeed=1200;

reloadTime=0.100000;

sound[]={"\Tirpitz\Wav\Cannon.wav",10.000000,1};

reloadSound[]={"Weapons\missload",0.000316,1};

primary = false;

shotFromTurret = true;

soundContinuous=0;

};

}; // end of Cfgweapons

class WeaponCloudsGun {};

class WeaponCloudsMGun : WeaponCloudsGun {};

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Ship: AllVehicles{};

class SmallShip: Ship{};

class BoatW: SmallShip{};

class Tirpitz: BoatW

{

vehicleClass="Armored";

hiddenSelections[] = {"sign"};

displayName="Battleship_Tirpitz";

autocenter=0;

accuracy=0.50;

scope=2;

crew="SoldierWCrew";

picture="\Tirpitz\shipbattle.paa";

side=1;

weapons[] ={};

magazines[] = {};

cost=1500;

hasGunner=0;

hasCommander=0;

hasDriver=1;

armor=100000;

destrType=tank;

fuelCapacity=5000;

driverAction="ManActHRLDriver";

maxSpeed=20;

icon="\Tirpitz\shipbattle.paa";

mapSize=150;

model="\Tirpitz\Tirpitz";

soundEnviron[]={"environmental\wave_break",0.000316,1};

soundEngine[]={"\Tirpitz\Motor.wav",0.000316,1};

audible=6;

nameSound="ship";

formationX=80;

formationZ=80;

precision=25;

brakeDistance=5;

formationTime=10;

steerAheadSimul=2.000000;

steerAheadPlan=2.400000;

predictTurnSimul=2.000000;

predictTurnPlan=2.400000;

commanderCanSee = CanSeeAll;

threat[]={0.900000,0.900000,0.700000};

getInRadius=5;

getInAction="ManActGetOutCar";

getOutAction="ManActGetOutCar";

coefInside = 2;

coefInsideHeur = 4.3;

extCameraPosition[]={20,40,-200};

transportSoldier = 0;

animated=0;

class Reflectors

{

class Right

{

color[] = {0.8, 0.8, 1.0, 1.0};

ambient[] = {0.07, 0.07, 0.07, 1.0};

position = "P svetlo";

direction = "konec P svetla";

hitpoint = "P svetlo";

selection = "P svetlo";

size = 3;

brightness = 1.50;

};

class Left

{

color[] = {0.9, 0.8, 0.8, 1.0};

ambient[] = {0.1, 0.1, 0.1, 1.0};

position = "L svetlo";

direction = "konec L svetla";

hitpoint = "L svetlo";

selection = "L svetlo";

size = 1;

brightness = 1.00;

};

};

class eventhandlers

{

init=" _cargo1= ""Anton"" createVehicle getPos ( _this select 0); [_this select 0, _cargo1] exec {\Tirpitz\scripts\transport2.sqs};_cargo2= ""Bruno"" createVehicle getPos ( _this select 0); [_this select 0, _cargo2] exec {\Tirpitz\scripts\transport3.sqs};_cargo3= ""Caesar"" createVehicle getPos ( _this select 0); [_this select 0, _cargo3] exec {\Tirpitz\scripts\transport4.sqs}; [_this select 0, acargo,mike1] exec {\Tirpitz\scripts\actionstation.sqs}; [_this select 0, bcargo,mike2] exec {\Tirpitz\scripts\actionstation2.sqs}; [_this select 0, ccargo,mike3] exec {\Tirpitz\scripts\actionstation3.sqs}; [_this select 0, dcargo,mike4] exec {\Tirpitz\scripts\actionstation4.sqs}; [_this select 0] exec {\Tirpitz\scripts\digitscript.sqs};[_this select 0] exec{\Tirpitz\scripts\autosmoke.sqs}";fired="[_this select 0] exec {\Tirpitz\scripts\delete.sqs}";

};

};

class Land: AllVehicles{};

class LandVehicle: Land {};

class Tank: LandVehicle {};

class APC: Tank{};

class M113: APC{};

class M2StaticMG: M113{};

class Tirpitzgun1: M2StaticMG

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

destrType=tank;

cost=150;

armor=1000;

displayName="gun1";

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

maxSpeed=0;

fuelCapacity=0;

gunnerCanSee="1+16+4+8";

extCameraPosition[]={0,3,-12};

irScanRangeMin=500;

irScanRangeMax=4000;

irScanToEyeFactor=1;

threat[]={1,1,1};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=100;

minTurn=-90;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

class Reflectors

{

class Right

{

color[] = {0.8, 0.8, 1.0, 1.0};

ambient[] = {0.07, 0.07, 0.07, 1.0};

position = "P svetlo";

direction = "konec P svetla";

hitpoint = "P svetlo";

selection = "P svetlo";

size = 1;

brightness = 0.95;

};

class Left

{

color[] = {1.0, 0.0, 0.0, 0.0};

ambient[] = {0.7, 0.1, 0.1, 1.0};

position = "L svetlo";

direction = "konec L svetla";

hitpoint = "L svetlo";

selection = "L svetlo";

size = 1;

brightness = 0.25;

};

};

};

class gun1: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Anton";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=120;

minTurn=-180;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

};

class gun2: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Bruno";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=120;

minTurn=-180;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

};

class gun3: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Caesar";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10; maxElev=120;

minTurn=90; maxTurn=240;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

};

class gun4: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Dora";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10; maxElev=120;

minTurn=90; maxTurn=240;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell130"};

magazines[]={"Shell130","Shell130", "Shell130"};

};

}

}; //end of cfgweapon

Share this post


Link to post
Share on other sites

It's because the two configs define the same weapon called "shell130" in the cfgweapons.

First config :

class CfgWeapons
{
class default {};
class Shell73: Default{};
class Shell105: Shell73{};
class Shell120: Shell105{};
class Shell125: Shell120{};
class [b][color="Red"]Shell130[/color][/b]: Shell125

{
ammo="Shell130";
count=200;
initSpeed=1200;
reloadTime=0.100000;
sound[]={"\Bismarck\Cannon.wav",10.000000,1};
reloadSound[]={"Weapons\missload",0.000316,1};
};
}; // end of Cfgweapons

Second one :

class CfgWeapons
{
class default {};
class Shell73: Default{};
class Shell105: Shell73{};
class Shell120: Shell105{};
class Shell125: Shell120{};
class [b][color="red"]Shell130[/color][/b]: Shell125

{
ammo="Shell130";
count=200;
initSpeed=1200;
reloadTime=0.100000;
sound[]={"\Tirpitz\Wav\Cannon.wav",10.000000,1};
reloadSound[]={"Weapons\missload",0.000316,1};
primary = false;
shotFromTurret = true;
soundContinuous=0;
};
}; // end of Cfgweapons

Those weapons should have a different config name.

Share this post


Link to post
Share on other sites

Hi,

for example ?

It does not work.......

.........

.........

class CfgAmmo

{

class default {};

class Shell: Default{};

class Shell73: Shell{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Hell145: Shell125{};

class BulletSingle : Default{};

class ExplosiveBullet: BulletSingle{};

class Bullet30: ExplosiveBullet{};

class Tirpitzgun1: Bullet30

{

hit=2000;indirectHit=15;indirectHitRange=1;

minRange=20;minRangeProbab=0.80;

midRange=5000;midRangeProbab=0.95;

maxRange=10000;maxRangeProbab=0.05;

cost=40;

};

};

class CfgWeapons

{

class default {};

class Shell73: Default{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Hell145: Shell125

{

ammo="Hell145";

count=200;

initSpeed=1200;

reloadTime=0.100000;

sound[]={"\Tirpitz\Wav\Cannon.wav",10.000000,1};

reloadSound[]={"Weapons\missload",0.000316,1};

primary = false;

shotFromTurret = true;

soundContinuous=0;

};

...........

...........

Share this post


Link to post
Share on other sites

No no.

Copy and paste the following config (click on spoiler tag), it's the second config modified so that it doesn't conflict with the first one.

#define TWest 1

#define TEast 0

#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

#define CanSeeRadar 1

#define CanSeeEye 2

#define CanSeeOptics 4

#define CanSeeEar 8

#define CanSeeCompass 16

#define CanSeeRadarC CanSeeRadar+CanSeeCompass

#define CanSeeAll 31

class CfgPatches

{

class Tirpitz

{

units[] = {Tirpitz, Tirpitzgun1};

//weapons[] = {};

requiredVersion = 1.96;

};

};

class CfgModels

{

class Default

{

sections[] = {};

sectionsInherit="";

};

class Vehicle: Default

{

sections[] =

{

"zasleh"

};

};

class gun1: Vehicle{};

class gun2: Vehicle{};

class gun3: Vehicle{};

class gun4: Vehicle{};

class Ship

{

sectionsInherit="Vehicle";

sections[]=

{

"sign"

};

};

}; //end CfgModels

class CfgAmmo

{

class default {};

class Shell: Default{};

class Shell73: Shell{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Shell130: Shell125{};

class BulletSingle : Default{};

class ExplosiveBullet: BulletSingle{};

class Bullet30: ExplosiveBullet{};

class Tirpitzgun1: Bullet30

{

hit=2000;indirectHit=15;indirectHitRange=1;

minRange=20;minRangeProbab=0.80;

midRange=5000;midRangeProbab=0.95;

maxRange=10000;maxRangeProbab=0.05;

cost=40;

};

};

class CfgWeapons

{

class default {};

class Shell73: Default{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Shell131: Shell125

{

ammo="Shell130";

count=200;

initSpeed=1200;

reloadTime=0.100000;

sound[]={"\Tirpitz\Wav\Cannon.wav",10.000000,1};

reloadSound[]={"Weapons\missload",0.000316,1};

primary = false;

shotFromTurret = true;

soundContinuous=0;

};

}; // end of Cfgweapons

class WeaponCloudsGun {};

class WeaponCloudsMGun : WeaponCloudsGun {};

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Ship: AllVehicles{};

class SmallShip: Ship{};

class BoatW: SmallShip{};

class Tirpitz: BoatW

{

vehicleClass="Armored";

hiddenSelections[] = {"sign"};

displayName="Battleship_Tirpitz";

autocenter=0;

accuracy=0.50;

scope=2;

crew="SoldierWCrew";

picture="\Tirpitz\shipbattle.paa";

side=1;

weapons[] ={};

magazines[] = {};

cost=1500;

hasGunner=0;

hasCommander=0;

hasDriver=1;

armor=100000;

destrType=tank;

fuelCapacity=5000;

driverAction="ManActHRLDriver";

maxSpeed=20;

icon="\Tirpitz\shipbattle.paa";

mapSize=150;

model="\Tirpitz\Tirpitz";

soundEnviron[]={"environmental\wave_break",0.000316,1};

soundEngine[]={"\Tirpitz\Motor.wav",0.000316,1};

audible=6;

nameSound="ship";

formationX=80;

formationZ=80;

precision=25;

brakeDistance=5;

formationTime=10;

steerAheadSimul=2.000000;

steerAheadPlan=2.400000;

predictTurnSimul=2.000000;

predictTurnPlan=2.400000;

commanderCanSee = CanSeeAll;

threat[]={0.900000,0.900000,0.700000};

getInRadius=5;

getInAction="ManActGetOutCar";

getOutAction="ManActGetOutCar";

coefInside = 2;

coefInsideHeur = 4.3;

extCameraPosition[]={20,40,-200};

transportSoldier = 0;

animated=0;

class Reflectors

{

class Right

{

color[] = {0.8, 0.8, 1.0, 1.0};

ambient[] = {0.07, 0.07, 0.07, 1.0};

position = "P svetlo";

direction = "konec P svetla";

hitpoint = "P svetlo";

selection = "P svetlo";

size = 3;

brightness = 1.50;

};

class Left

{

color[] = {0.9, 0.8, 0.8, 1.0};

ambient[] = {0.1, 0.1, 0.1, 1.0};

position = "L svetlo";

direction = "konec L svetla";

hitpoint = "L svetlo";

selection = "L svetlo";

size = 1;

brightness = 1.00;

};

};

class eventhandlers

{

init=" _cargo1= ""Anton"" createVehicle getPos ( _this select 0); [_this select 0, _cargo1] exec {\Tirpitz\scripts\transport2.sqs};_cargo2= ""Bruno"" createVehicle getPos ( _this select 0); [_this select 0, _cargo2] exec {\Tirpitz\scripts\transport3.sqs};_cargo3= ""Caesar"" createVehicle getPos ( _this select 0); [_this select 0, _cargo3] exec {\Tirpitz\scripts\transport4.sqs}; [_this select 0, acargo,mike1] exec {\Tirpitz\scripts\actionstation.sqs}; [_this select 0, bcargo,mike2] exec {\Tirpitz\scripts\actionstation2.sqs}; [_this select 0, ccargo,mike3] exec {\Tirpitz\scripts\actionstation3.sqs}; [_this select 0, dcargo,mike4] exec {\Tirpitz\scripts\actionstation4.sqs}; [_this select 0] exec {\Tirpitz\scripts\digitscript.sqs};[_this select 0] exec{\Tirpitz\scripts\autosmoke.sqs}";fired="[_this select 0] exec {\Tirpitz\scripts\delete.sqs}";

};

};

class Land: AllVehicles{};

class LandVehicle: Land {};

class Tank: LandVehicle {};

class APC: Tank{};

class M113: APC{};

class M2StaticMG: M113{};

class Tirpitzgun1: M2StaticMG

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

destrType=tank;

cost=150;

armor=1000;

displayName="gun1";

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

maxSpeed=0;

fuelCapacity=0;

gunnerCanSee="1+16+4+8";

extCameraPosition[]={0,3,-12};

irScanRangeMin=500;

irScanRangeMax=4000;

irScanToEyeFactor=1;

threat[]={1,1,1};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=100;

minTurn=-90;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

class Reflectors

{

class Right

{

color[] = {0.8, 0.8, 1.0, 1.0};

ambient[] = {0.07, 0.07, 0.07, 1.0};

position = "P svetlo";

direction = "konec P svetla";

hitpoint = "P svetlo";

selection = "P svetlo";

size = 1;

brightness = 0.95;

};

class Left

{

color[] = {1.0, 0.0, 0.0, 0.0};

ambient[] = {0.7, 0.1, 0.1, 1.0};

position = "L svetlo";

direction = "konec L svetla";

hitpoint = "L svetlo";

selection = "L svetlo";

size = 1;

brightness = 0.25;

};

};

};

class gun1: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Anton";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=120;

minTurn=-180;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

};

class gun2: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Bruno";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=120;

minTurn=-180;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

};

class gun3: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Caesar";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10; maxElev=120;

minTurn=90; maxTurn=240;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

};

class gun4: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Dora";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10; maxElev=120;

minTurn=90; maxTurn=240;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

};

}

}; //end of cfgweapon

Edited by ProfTournesol

Share this post


Link to post
Share on other sites

Hi,

Bismarck Anton attack Bruno Tirpitz

Anton, Bruno, Caesar and Dora from Bismarck says "negative"

Share this post


Link to post
Share on other sites

Ok, i made a "copy and paste" mistake on the ammo used by the weapon (used a shell131 ammo which wasn't existing). I just corrected it. Retry with the above config.

Share this post


Link to post
Share on other sites

Hi ProfTournesol,

Thanks for the reply.....:)

Now, I hear nothing. Bismarck and Tirpitz, with no gun sound :(

#define TWest 1

#define TEast 0

#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

#define CanSeeRadar 1

#define CanSeeEye 2

#define CanSeeOptics 4

#define CanSeeEar 8

#define CanSeeCompass 16

#define CanSeeRadarC CanSeeRadar+CanSeeCompass

#define CanSeeAll 31

class CfgPatches

{

class Tirpitz

{

units[] = {Tirpitz, Tirpitzgun1};

//weapons[] = {};

requiredVersion = 1.96;

};

};

class CfgModels

{

class Default

{

sections[] = {};

sectionsInherit="";

};

class Vehicle: Default

{

sections[] =

{

"zasleh"

};

};

class gun1: Vehicle{};

class gun2: Vehicle{};

class gun3: Vehicle{};

class gun4: Vehicle{};

class Ship

{

sectionsInherit="Vehicle";

sections[]=

{

"sign"

};

};

}; //end CfgModels

class CfgAmmo

{

class default {};

class Shell: Default{};

class Shell73: Shell{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Shell131: Shell125{};

class BulletSingle : Default{};

class ExplosiveBullet: BulletSingle{};

class Bullet30: ExplosiveBullet{};

class Tirpitzgun1: Bullet30

{

hit=2000;indirectHit=15;indirectHitRange=1;

minRange=20;minRangeProbab=0.80;

midRange=5000;midRangeProbab=0.95;

maxRange=10000;maxRangeProbab=0.05;

cost=40;

};

};

class CfgWeapons

{

class default {};

class Shell73: Default{};

class Shell105: Shell73{};

class Shell120: Shell105{};

class Shell125: Shell120{};

class Shell131: Shell125

{

ammo="Shell131";

count=200;

initSpeed=1200;

reloadTime=0.100000;

sound[]={"\Tirpitz\Wav\Cannon.wav",10.000000,1};

reloadSound[]={"Weapons\missload",0.000316,1};

primary = false;

shotFromTurret = true;

soundContinuous=0;

};

}; // end of Cfgweapons

class WeaponCloudsGun {};

class WeaponCloudsMGun : WeaponCloudsGun {};

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Ship: AllVehicles{};

class SmallShip: Ship{};

class BoatW: SmallShip{};

class Tirpitz: BoatW

{

vehicleClass="Armored";

hiddenSelections[] = {"sign"};

displayName="Battleship_Tirpitz";

autocenter=0;

accuracy=0.50;

scope=2;

crew="SoldierWCrew";

picture="\Tirpitz\shipbattle.paa";

side=1;

weapons[] ={};

magazines[] = {};

cost=1500;

hasGunner=0;

hasCommander=0;

hasDriver=1;

armor=100000;

destrType=tank;

fuelCapacity=5000;

driverAction="ManActHRLDriver";

maxSpeed=20;

icon="\Tirpitz\shipbattle.paa";

mapSize=150;

model="\Tirpitz\Tirpitz";

soundEnviron[]={"environmental\wave_break",0.000316,1};

soundEngine[]={"\Tirpitz\Motor.wav",0.000316,1};

audible=6;

nameSound="ship";

formationX=80;

formationZ=80;

precision=25;

brakeDistance=5;

formationTime=10;

steerAheadSimul=2.000000;

steerAheadPlan=2.400000;

predictTurnSimul=2.000000;

predictTurnPlan=2.400000;

commanderCanSee = CanSeeAll;

threat[]={0.900000,0.900000,0.700000};

getInRadius=5;

getInAction="ManActGetOutCar";

getOutAction="ManActGetOutCar";

coefInside = 2;

coefInsideHeur = 4.3;

extCameraPosition[]={20,40,-200};

transportSoldier = 0;

animated=0;

class Reflectors

{

class Right

{

color[] = {0.8, 0.8, 1.0, 1.0};

ambient[] = {0.07, 0.07, 0.07, 1.0};

position = "P svetlo";

direction = "konec P svetla";

hitpoint = "P svetlo";

selection = "P svetlo";

size = 3;

brightness = 1.50;

};

class Left

{

color[] = {0.9, 0.8, 0.8, 1.0};

ambient[] = {0.1, 0.1, 0.1, 1.0};

position = "L svetlo";

direction = "konec L svetla";

hitpoint = "L svetlo";

selection = "L svetlo";

size = 1;

brightness = 1.00;

};

};

class eventhandlers

{

init=" _cargo1= ""Anton"" createVehicle getPos ( _this select 0); [_this select 0, _cargo1] exec {\Tirpitz\scripts\transport2.sqs};_cargo2= ""Bruno"" createVehicle getPos ( _this select 0); [_this select 0, _cargo2] exec {\Tirpitz\scripts\transport3.sqs};_cargo3= ""Caesar"" createVehicle getPos ( _this select 0); [_this select 0, _cargo3] exec {\Tirpitz\scripts\transport4.sqs}; [_this select 0, acargo,mike1] exec {\Tirpitz\scripts\actionstation.sqs}; [_this select 0, bcargo,mike2] exec {\Tirpitz\scripts\actionstation2.sqs}; [_this select 0, ccargo,mike3] exec {\Tirpitz\scripts\actionstation3.sqs}; [_this select 0, dcargo,mike4] exec {\Tirpitz\scripts\actionstation4.sqs}; [_this select 0] exec {\Tirpitz\scripts\digitscript.sqs};[_this select 0] exec{\Tirpitz\scripts\autosmoke.sqs}";fired="[_this select 0] exec {\Tirpitz\scripts\delete.sqs}";

};

};

class Land: AllVehicles{};

class LandVehicle: Land {};

class Tank: LandVehicle {};

class APC: Tank{};

class M113: APC{};

class M2StaticMG: M113{};

class Tirpitzgun1: M2StaticMG

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

destrType=tank;

cost=150;

armor=1000;

displayName="gun1";

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

maxSpeed=0;

fuelCapacity=0;

gunnerCanSee="1+16+4+8";

extCameraPosition[]={0,3,-12};

irScanRangeMin=500;

irScanRangeMax=4000;

irScanToEyeFactor=1;

threat[]={1,1,1};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=100;

minTurn=-90;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

class Reflectors

{

class Right

{

color[] = {0.8, 0.8, 1.0, 1.0};

ambient[] = {0.07, 0.07, 0.07, 1.0};

position = "P svetlo";

direction = "konec P svetla";

hitpoint = "P svetlo";

selection = "P svetlo";

size = 1;

brightness = 0.95;

};

class Left

{

color[] = {1.0, 0.0, 0.0, 0.0};

ambient[] = {0.7, 0.1, 0.1, 1.0};

position = "L svetlo";

direction = "konec L svetla";

hitpoint = "L svetlo";

selection = "L svetlo";

size = 1;

brightness = 0.25;

};

};

};

class gun1: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Anton";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=120;

minTurn=-180;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

};

class gun2: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Bruno";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10;

maxElev=120;

minTurn=-180;

maxTurn=90;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

};

class gun3: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Caesar";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10; maxElev=120;

minTurn=90; maxTurn=240;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

};

class gun4: Tirpitzgun1

{

autocenter=0;

side=1;

scope=1;

picture="\Tirpitz\shipicon.paa";

model="\Tirpitz\gun1";

displayName="Dora";

class MGunClouds : WeaponCloudsMGun

{

cloudletGrowUp = 0.06;

cloudletFadeIn = 0.02;

cloudletFadeOut = 0.12;

cloudletDuration = 0;

cloudletAlpha = 1;

cloudletAccY = 0;

cloudletMinYSpeed = -100;

cloudletMaxYSpeed = 100;

interval = 0.005;

size = 0.13;

sourceSize =0.01;

initT=3200;

deltaT=-4000;

};

class GunClouds : WeaponCloudsGun{};

class TurretBase{};

class Turret: TurretBase

{

gunAxis="OsaHlavne";

turretAxis="OsaVeze";

soundServo[]={};

gunBeg="usti hlavne";

gunEnd="konec hlavne";

minElev=-10; maxElev=120;

minTurn=90; maxTurn=240;

body="OtocVez";

gun="OtocHlaven";

};

weapons[]={"Shell131"};

magazines[]={"Shell131","Shell131", "Shell131"};

};

}

}; //end of cfgweapon

---------- Post added at 06:35 PM ---------- Previous post was at 06:26 PM ----------

..........Gun Sound kb had a size of 790kb and 374th :confused:

Share this post


Link to post
Share on other sites

Well, you didn't use the config i posted here that i modified yesterday. If it still doesn' work, upload your files somewhere and i'll correct them by myself, it will be more efficient.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×