Jump to content
Sign in to follow this  
logan4

Help request - weaponstation arangements in _data.ini and/or loadout.ini

Recommended Posts

Hello Gents and Ladies!

I'm working on a Mikoyan Ye-8 model and run into a little problem with the weapon stations and allocations.

 

The basic version has 2 hardpoints like the MiG-21PF/PFM and due to different missiles if I look at the 60's/70's time frame it needs 4 different launch rails. Which is not a big deal and had made them. Where I run into the problem is that each rail type can be used for IRM's and also two of them for SAHM's.

The rails are APU-7 (AA-1 IRM and beam rider), APU-R3R/S (AA-2 family), APU-60-1M (AA-8 family) and APU-13TM (R-13 versions).

I did set up the legth and weights in the _data.ini and the number of weapons in the loadout.ini and they work somewhat correctly until I want to change something in the loadout menu. For example in year 1974, if the system started out with AA-2 atolls and I want to change to AA-8 aphid on one of the stations then it gives me 3-4 aphids on the that pylon, and also loads each launchrail due to the fact it meets each stations "LenghtLimit" requirement, being the smallest missile.

I try to stick with stock weapons and the ones in question unfortunately they do not have "specificstationcodes" assigned in their data.inis.

 

Bellow is the related _data.ini section for these stations

 

 

[LeftWingStation]

SystemType=WEAPON_STATION

StationID=1

StationGroupID=1

StationType=EXTERNAL

AttachmentPosition=-2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=900.0

LengthLimit=4.2

AllowedWeaponClass=IRM,SAHM

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Lmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_R3C_L

LaunchRailHeight=0.154

LaunchRailMass=25

 

[RightWingStation]

SystemType=WEAPON_STATION

StationID=2

StationGroupID=2

StationType=EXTERNAL

AttachmentPosition=2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=900.0

LengthLimit=4.2

AllowedWeaponClass=IRM,SAHM

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Rmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_R3C_R

LaunchRailHeight=0.154

LaunchRailMass=25

 

[LeftWingStation1]

SystemType=WEAPON_STATION

StationID=8

StationGroupID=1

StationType=EXTERNAL

AttachmentPosition=-2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=300.0

LengthLimit=2.2

AllowedWeaponClass=IRM,2IR

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Lmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_60-1M_L

LaunchRailHeight=0.164

LaunchRailMass=25

 

[RightWingStation1]

SystemType=WEAPON_STATION

StationID=9

StationGroupID=2

StationType=EXTERNAL

AttachmentPosition=2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=300.0

LengthLimit=2.2

AllowedWeaponClass=IRM,2IR

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Rmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_60-1M_R

LaunchRailHeight=0.164

LaunchRailMass=25

 

[LeftWingStation1a]

SystemType=WEAPON_STATION

StationID=10

StationGroupID=1

StationType=EXTERNAL

AttachmentPosition=-2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=300.0

LengthLimit=2.5

AllowedWeaponClass=IRM,SAHM

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Lmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_7_L

LaunchRailHeight=0.144

LaunchRailMass=25

 

[RightWingStation1a]

SystemType=WEAPON_STATION

StationID=11

StationGroupID=2

StationType=EXTERNAL

AttachmentPosition=2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=300.0

LengthLimit=2.5

AllowedWeaponClass=IRM,SAHM

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Rmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_7_R

LaunchRailHeight=0.144

LaunchRailMass=25

 

Question is, is there a work around so without creating 4-16 weapon duplicates in the weapons folder (with station codes added), that the loadouts show up properly even if someone changes them in the loadout menu pont?

Or simply I sould try to stick to one launch rail?

Or can we set a minimum "lengthLimit" size for the weapon stations? this later would solve the problem I think.

 

Any input will be appreciated.

Thanks in advance!

logan4

Share this post


Link to post
Share on other sites

First, you can also constrain by DiameterLimit

 

Second, because there are so few hardpoints, you can 'duplicate' weapon stations, for instance:

 

[LeftWingStation]

SystemType=WEAPON_STATION

StationID=1

StationGroupID=1

StationType=EXTERNAL

AttachmentPosition=-2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=900.0

LengthLimit=4.2

AllowedWeaponClass=IRM,SAHM

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Lmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_R3C_L

LaunchRailHeight=0.154

LaunchRailMass=25

 

to this:

 

[LeftWingStationIRM]

SystemType=WEAPON_STATION

StationID=1

StationGroupID=1

StationType=EXTERNAL

AttachmentPosition=-2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=900.0

LengthLimit=4.2

AllowedWeaponClass=IRM

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Lmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_R3C_L

LaunchRailHeight=0.154

LaunchRailMass=25

 

[LeftWingStationSAHM]

SystemType=WEAPON_STATION

StationID=2

StationGroupID=1

StationType=EXTERNAL

AttachmentPosition=-2.032,-0.261,-0.278

AttachmentAngles=0.0,0.0,0.0

LoadLimit=900.0

LengthLimit=4.2

AllowedWeaponClass=SAHM

AttachmentType=WP,Soviet

ModelNodeName=Pyl_Lmid

PylonMass=60

PylondragArea=0.02

LaunchRailNodeName=Apu_R3C_L

LaunchRailHeight=0.154

LaunchRailMass=25

 

And use different LoadLimit, LengthLimit, and DiameterLimit for each one.

 

FC

Share this post


Link to post
Share on other sites

Thanks FC!

As of now I already have 4 stationgroupID groups, 1-1 for AAMs (for assimetric loadout possibility), 1 for bombs/rockets (symethric) and 1 for centerline (recon and ecm pod).

 

I gonna try to fiddle with the separation of IRM, SAHM versions as you suggested and see what comes out. I can give 2 additional groupID-s for the larger (AA-3 and R-23 versions for late 60's and 70's).

Based on the outcomes, probably will have to rethink how I arrange the planed MF (5 hardpoints), Bis/ML (7 hardpoints)

Edited by logan4

Share this post


Link to post
Share on other sites

Some update. The AA-1s seem to be sorted with the separate IRM, SAHM stations. The AA8s are still giving the sympthome but less seviere.

The diameter settings are helping some stations, the best would be some minimum size limitation ability.

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..