This is the info from the column5 thread.
whiteknight,
take a look into the F-111A data ini .The F-111 gunpod is set up in the same way.
The MiG-21PFM lod file has the GP-9_Gunpod entry. Use this for ModelNodeName= in the data ini. Then you have to add the gunpod in the Weapondata ini - again look at the F-111Gun entry already there.
hmm...reads a bit confusing....best I post all entrys ...soon.
Again, original idea by Crab 02 and madcaddie !
I have done a cheap copy
add to aircraft_data.ini
// Internal Guns ---------------------------------------------------------
;[internalGun]
;SystemType=FIXED_GUN
;GunTypeName=23MM_GSH23
;InputName=FIRE_PRIMARY_GUN
;MuzzlePosition=0.0,1.323,-0.716
;LightPosition=0.0,1.453,-0.726
;AimAngles=0.0,0.5,0.0
;MaxAmmo=200
;EjectShells=FALSE
;EjectPosition=0.412,1.454,-0.437
;EjectVelocity=0.0,0.0,-2.0
;MinExtentPosition=-0.13,-2.48,-0.87
;MaxExtentPosition= 0.13, 1.26,-0.53
[internalGun]
SystemType=WEAPON_STATION
StationID=3
StationGroupID=2
StationType=EXTERNAL
AttachmentPosition=0.0,1.5,-0.58
AttachmentAngles=0.0,0.0,0.0
LoadLimit=320
AllowedWeaponClass=GP
AttachmentType=SOVIET
ModelNodeName=GP-9_Gunpod
; = switch off the original data or simply delete it
to loadout.ini
Loadout[03].WeaponType=GP-9
Loadout[03].Quantity=1
do for each missiontype on which you want the GP-9 as default [AirToAir] etc.
add to weaponsdata.ini
[WeaponData691]
TypeName=GP-9
FullName=GP-9 Gunpod
ModelName=gp9
Mass=300.000000
Diameter=0.260000
Length=3.074000
AttachmentType=SOVIET
NationName=SOVIET
StartYear=1968
EndYear=0
Availability=2
BaseQuantity=1
Exported=TRUE
ExportStartYear=1968
ExportAvailability=2
WeaponDataType=3
GunTypeName=23MM_GSH23
MaxRounds=200
MuzzlePosition=0.000000,0.000000,0.000000
LightPosition=0.000000,0.000000,0.000000
AimDirection=0.000000,2.300000,0.000000
EjectShells=1
EjectPosition=0.000000,-1.800000,-0.250000
EjectVelocity=0.000000,0.000000,-2.000000
since the start year is set to 1968 it will appear as default loadout if added to loadout.ini. prior to this date the station remains empty
if you want to simply delete the pod add to aircraft_data.ini (MiG-21FL e.g.)
// Internal Guns ---------------------------------------------------------
[internalGun]
SystemType=WEAPON_STATION
StationID=3
StationGroupID=2
StationType=EXTERNAL
ModelNodeName=GP-9_Gunpod
delete original data
the station is visible on the loadout menu but can't be loaded
I hope this helps