Jump to content
Sign in to follow this  
Veltro2k

Weapons load INI help needed

Recommended Posts

Want the weapons to load automaticaly...not working ? why ? also would like a specific weapon loaded for Anti-ship

 

// Station 1: Bomb Bay 1

// Station 2: Bomb Bay 2

 

 

 

Loadout[01].WeaponType=250lb_Bomb

Loadout[01].Quantity=4

Loadout[02].WeaponType=250lb_Bomb

Loadout[02].Quantity=4

 

[Anti-Ship]

Loadout[01].WeaponType=250lb_Bomb

Loadout[01].Quantity=4

Loadout[02].WeaponType=250lb_Bomb

Loadout[02].Quantity=4

 

[Attack]

Loadout[01].WeaponType=250lb_Bomb

Loadout[01].Quantity=4

Loadout[02].WeaponType=250lb_Bomb

Loadout[02].Quantity=4

 

[sEAD]

Loadout[01].WeaponType=250lb_Bomb

Loadout[01].Quantity=4

Loadout[02].WeaponType=250lb_Bomb

Loadout[02].Quantity=4

 

[FAC]

Loadout[01].WeaponType=250lb_Bomb

Loadout[01].Quantity=4

Loadout[02].WeaponType=250lb_Bomb

Loadout[02].Quantity=4

 

[Recon]

Loadout[01].WeaponType=250lb_Bomb

Loadout[01].Quantity=4

Loadout[02].WeaponType=250lb_Bomb

Loadout[02].Quantity=4

 

 

[WeaponsBay1]

SystemType=WEAPON_STATION

StationID=7

StationGroupID=3

StationType=INTERNAL

NumWeapons=4

AttachmentPosition001=0.955,1.18,0.725

AttachmentPosition002=0.524,1.18,0.783

AttachmentPosition003=-0.89,1.18,0.825

AttachmentPosition004=-0.082,1.18,0.739

AttachmentAngles=0.0,0.0,0.0

LoadLimit=1000

AllowedWeaponClass=BOMB

SpecificStationCode=

DiameterLimit=0.5

LengthLimit=3.0

BombBayAnimationID=8

BombBayOpenTime=3.0

BombBayCloseTime=3.0

AttachmentType=RAF

ModelNodeName=BRACK_L

MovingPylon=TRUE

RotatingPylon=FALSE

AutomaticDoors=FALSE

PylonMass=10

PylonDragArea=0.06

 

[WeaponsBay2]

SystemType=WEAPON_STATION

StationID=8

StationGroupID=3

StationType=INTERNAL

NumWeapons=4

AttachmentPosition001=1.163,1.174,0.831

AttachmentPosition002=0.531,1.174,0.784

AttachmentPosition003=-0.076,1.174,0.74

AttachmentPosition004=-0.689,1.174,0.699

AttachmentAngles=0.0,0.0,0.0

LoadLimit=1000

AllowedWeaponClass=BOMB

SpecificStationCode=

DiameterLimit=0.5

LengthLimit=3.0

BombBayAnimationID=8

BombBayOpenTime=3.0

BombBayCloseTime=3.0

AttachmentType=RAF

ModelNodeName=BRACK_R

MovingPylon=TRUE

RotatingPylon=FALSE

AutomaticDoors=FALSE

PylonMass=10

PylonDragArea=0.06

Share this post


Link to post
Share on other sites

Are they not showing at all? - have you tried increasing the size limits for the bays?

Share this post


Link to post
Share on other sites

Do you actually have that bomb in your install?

 

Unless you also have wing-mounted weapons then I think the problem might be here

 

StationID=7

StationGroupID=3

Share this post


Link to post
Share on other sites

As far as I know, the figure in brackets in "Loadout[01]" should be the same as the Station ID number in "StationID=7". These numbers should start from 1 and follow further in consequtive order.

As Spinners said, unless you have other weapons stations, then I think you should have:

 

[WeaponsBay1]

SystemType=WEAPON_STATION

StationID=1 <--- correct like this

StationGroupID=1 <--- correct like this

StationType=INTERNAL

NumWeapons=4

AttachmentPosition001=0.955,1.18,0.725

AttachmentPosition002=0.524,1.18,0.783

AttachmentPosition003=-0.89,1.18,0.825

AttachmentPosition004=-0.082,1.18,0.739

AttachmentAngles=0.0,0.0,0.0

LoadLimit=1000

AllowedWeaponClass=BOMB

SpecificStationCode=

DiameterLimit=0.5

LengthLimit=3.0

BombBayAnimationID=8

BombBayOpenTime=3.0

BombBayCloseTime=3.0

AttachmentType=RAF

ModelNodeName=BRACK_L

MovingPylon=TRUE

RotatingPylon=FALSE

AutomaticDoors=FALSE

PylonMass=10

PylonDragArea=0.06

 

[WeaponsBay2]

SystemType=WEAPON_STATION

StationID=2 <--- correct like this

StationGroupID=1 <--- correct like this or put 2 instead if you would prefer to load the bay separately

StationType=INTERNAL

NumWeapons=4

AttachmentPosition001=1.163,1.174,0.831

AttachmentPosition002=0.531,1.174,0.784

AttachmentPosition003=-0.076,1.174,0.74

AttachmentPosition004=-0.689,1.174,0.699

AttachmentAngles=0.0,0.0,0.0

LoadLimit=1000

AllowedWeaponClass=BOMB

SpecificStationCode=

DiameterLimit=0.5

LengthLimit=3.0

BombBayAnimationID=8

BombBayOpenTime=3.0

BombBayCloseTime=3.0

AttachmentType=RAF

ModelNodeName=BRACK_R

MovingPylon=TRUE

RotatingPylon=FALSE

AutomaticDoors=FALSE

PylonMass=10

PylonDragArea=0.06

 

Hope that heps.

Share this post


Link to post
Share on other sites

And make sure that the Anti-ship tab is ANTI_SHIP.

you need you use underscore and not the dash in order for the game to recognize it.

Share this post


Link to post
Share on other sites

As far as I know, the figure in brackets in "Loadout[01]" should be the same as the Station ID number in "StationID=7". These numbers should start from 1 and follow further in consequtive order.

As Spinners said, unless you have other weapons stations, then I think you should have:

 

[WeaponsBay1]

SystemType=WEAPON_STATION

StationID=1 <--- correct like this

StationGroupID=1 <--- correct like this

StationType=INTERNAL

NumWeapons=4

AttachmentPosition001=0.955,1.18,0.725

AttachmentPosition002=0.524,1.18,0.783

AttachmentPosition003=-0.89,1.18,0.825

AttachmentPosition004=-0.082,1.18,0.739

AttachmentAngles=0.0,0.0,0.0

LoadLimit=1000

AllowedWeaponClass=BOMB

SpecificStationCode=

DiameterLimit=0.5

LengthLimit=3.0

BombBayAnimationID=8

BombBayOpenTime=3.0

BombBayCloseTime=3.0

AttachmentType=RAF

ModelNodeName=BRACK_L

MovingPylon=TRUE

RotatingPylon=FALSE

AutomaticDoors=FALSE

PylonMass=10

PylonDragArea=0.06

 

[WeaponsBay2]

SystemType=WEAPON_STATION

StationID=2 <--- correct like this

StationGroupID=1 <--- correct like this or put 2 instead if you would prefer to load the bay separately

StationType=INTERNAL

NumWeapons=4

AttachmentPosition001=1.163,1.174,0.831

AttachmentPosition002=0.531,1.174,0.784

AttachmentPosition003=-0.076,1.174,0.74

AttachmentPosition004=-0.689,1.174,0.699

AttachmentAngles=0.0,0.0,0.0

LoadLimit=1000

AllowedWeaponClass=BOMB

SpecificStationCode=

DiameterLimit=0.5

LengthLimit=3.0

BombBayAnimationID=8

BombBayOpenTime=3.0

BombBayCloseTime=3.0

AttachmentType=RAF

ModelNodeName=BRACK_R

MovingPylon=TRUE

RotatingPylon=FALSE

AutomaticDoors=FALSE

PylonMass=10

PylonDragArea=0.06

 

Hope that heps.

 

 

 

ok that helped ,but its picking the 100 lb bombs as default how can i change this ?

Share this post


Link to post
Share on other sites

Attachment Type should be UK - RAF is a Nation (sic).

 

Other than that it must be a length or diameter limitation.

Share this post


Link to post
Share on other sites

Veltro, could you post the 250lb_Bomb weapons data from your install?

In my install, under TypeName 250lb_Bomb I have a WWII USAF bomb, that will not show on WWII RAF bomber.

The RAF 250lb bomb is under TypeName RAF100. If you have the same, then try this in the Loadout.ini:

 

Loadout[01].WeaponType=RAF100

Loadout[01].Quantity=4

Loadout[02].WeaponType=RAF100

Loadout[02].Quantity=4

 

[Anti-Ship]

Loadout[01].WeaponType=RAF100

Loadout[01].Quantity=4

Loadout[02].WeaponType=RAF100

Loadout[02].Quantity=4

 

[Attack]

Loadout[01].WeaponType=RAF100

Loadout[01].Quantity=4

Loadout[02].WeaponType=RAF100

Loadout[02].Quantity=4

 

[sEAD]

Loadout[01].WeaponType=RAF100

Loadout[01].Quantity=4

Loadout[02].WeaponType=RAF100

Loadout[02].Quantity=4

 

[FAC]

Loadout[01].WeaponType=RAF100

Loadout[01].Quantity=4

Loadout[02].WeaponType=RAF100

Loadout[02].Quantity=4

 

[Recon]

Loadout[01].WeaponType=RAF100

Loadout[01].Quantity=4

Loadout[02].WeaponType=RAF100

Loadout[02].Quantity=4

 

There is something strange about RAF WWII bombs in the weaponspack, not sure why:

RAF50 is a 100lb bomb

RAF100 is a 250lb bomb

RAF250 is a 500lb bomb

RAF500 is a 1000lb bomb

One logical reason for me could be that RAF50 stands for a 50 kgs bomb, which is roughly equal to 100 lbs weight. The same for the other listed. If so, messing kg with lb is kind of confusing.

Edited by svetlinnh

Share this post


Link to post
Share on other sites

This is the new weapon I created, But I only want it loaded automaticaly for anti ship the rest I want the 250 ilb bombs

 

 

[WeaponData2092]

TypeName=250lb_bomb

FullName=RAF 250 Depth Charge

ModelName=ww2dc250

Mass=250.000000

Diameter=0.320000

Length=1.600000

SubsonicDragCoeff=0.200000

SupersonicDragCoeff=0.770000

AttachmentType=USN,UK

SpecificStationCode=

NationName=RAF

StartYear=1939

EndYear=1960

Availability=3

BaseQuantity=1000

Exported=TRUE

ExportStartYear=1939

ExportEndYear=1960

ExportAvailability=3

WeaponDataType=0

RailLaunched=FALSE

Retarded=FALSE

FinStabilized=TRUE

SpinStabilized=FALSE

EffectClassName=VeryLargeBombEffects

DragAreaMultiplier=1.000000

WarheadType=0

Explosives=272.000000

FusingDistance=0.000000

ClusterBomblets=0

ClusterDispersion=0.000000

GuidanceType=0

Accuracy=0

MaxTurnRate=0.000000

MaxLaunchG=0.000000

LockonChance=0

LaunchReliability=0

ArmingTime=0.000000

SeekerFOV=0.000000

SeekerGimbleLimit=0.000000

SeekerTrackRate=0.000000

SeekerRange=0.000000

ReleaseAnimationID=-1

EODisplayFlags=0

CEP=0.000000

Share this post


Link to post
Share on other sites

Hm, I do not see anything wrong or in conflict.

Did you change, as Spinners said, AttachmentType in both weapon stations from RAF to UK, like this:

[WeaponsBay1]

SystemType=WEAPON_STATION

StationID=1 <--- correct like this

StationGroupID=1 <--- correct like this

StationType=INTERNAL

NumWeapons=4

AttachmentPosition001=0.955,1.18,0.725

AttachmentPosition002=0.524,1.18,0.783

AttachmentPosition003=-0.89,1.18,0.825

AttachmentPosition004=-0.082,1.18,0.739

AttachmentAngles=0.0,0.0,0.0

LoadLimit=1000

AllowedWeaponClass=BOMB

SpecificStationCode=

DiameterLimit=0.5

LengthLimit=3.0

BombBayAnimationID=8

BombBayOpenTime=3.0

BombBayCloseTime=3.0

AttachmentType=UK <--- not RAF

ModelNodeName=BRACK_L

MovingPylon=TRUE

RotatingPylon=FALSE

AutomaticDoors=FALSE

PylonMass=10

PylonDragArea=0.06

Share this post


Link to post
Share on other sites

Hm, I do not see anything wrong or in conflict.

Did you change, as Spinners said, AttachmentType in both weapon stations from RAF to UK, like this:

[WeaponsBay1]

SystemType=WEAPON_STATION

StationID=1 <--- correct like this

StationGroupID=1 <--- correct like this

StationType=INTERNAL

NumWeapons=4

AttachmentPosition001=0.955,1.18,0.725

AttachmentPosition002=0.524,1.18,0.783

AttachmentPosition003=-0.89,1.18,0.825

AttachmentPosition004=-0.082,1.18,0.739

AttachmentAngles=0.0,0.0,0.0

LoadLimit=1000

AllowedWeaponClass=BOMB

SpecificStationCode=

DiameterLimit=0.5

LengthLimit=3.0

BombBayAnimationID=8

BombBayOpenTime=3.0

BombBayCloseTime=3.0

AttachmentType=UK <--- not RAF

ModelNodeName=BRACK_L

MovingPylon=TRUE

RotatingPylon=FALSE

AutomaticDoors=FALSE

PylonMass=10

PylonDragArea=0.06

yes

Share this post


Link to post
Share on other sites

Veltro, I have one last idea.

Would you like to try and put another TypeName to your RAF 250 Depth Charge to avoid having 2 weapons with same TypeName?

For example TypeName=250lb_depthcharge

Then in the loadout.ini:

[Anti-Ship]

Loadout[01].WeaponType=250lb_depthcharge

Loadout[01].Quantity=4

Loadout[02].WeaponType=250lb_depthcharge

Loadout[02].Quantity=4

Share this post


Link to post
Share on other sites

isn't there a Mk.7 depth charge already in the WW2 weapons pak??

 

wrench

kevin stein

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..