Jump to content

Recommended Posts

Posted

I really enjoy most of the WW2 warbirds that can be found here or in Wings over Russia/ Africa. But I have a problem with the gunnery. I'd like to have a trigger devoted to each group of weapons (the way it is in IL-2 1946 for instance), rather than to have to cycle through several weapons configurations to find the most efficient one in the midst of a harsh dogfight. The solution, of course, is to replace in the plane's data file GunGroups with Primary/ Secondary Gun specifications, and to adapt the commands configuration. Just the way it's done in the example below for a BF 109 E.

 

 

[LeftNoseMG]

SystemType=FIXED_GUN

GunTypeName=7.9MM_MG17

GunGroup=1

InputName=FIRE_PRIMARY_GUN

MuzzlePosition=-0.1677,2.8028,0.1200

MaxAmmo=1000

EjectShells=FALSE

 

[RightNoseMG]

SystemType=FIXED_GUN

GunTypeName=7.9MM_MG17

GunGroup=1

InputName=FIRE_PRIMARY_GUN

MuzzlePosition=0.1677,2.8028,0.1200

MaxAmmo=1000

EjectShells=FALSE

 

[LeftWingCannon]

SystemType=FIXED_GUN

GunTypeName=20MM_MGFF

GunGroup=2

InputName=FIRE_PRIMARY_GUN ---> InputName=FIRE_SECONDARY_GUN

MuzzlePosition=-2.1301,2.4904,-0.5971

AimAngles=0.4068,0.0,0.1140

MaxAmmo=60

EjectShells=TRUE

EjectPosition=-2.13,1.197,-0.69

EjectVelocity= 0.0,0.0,-2.0

 

[RightWingCannon]

SystemType=FIXED_GUN

GunTypeName=20MM_MGFF

GunGroup=2

InputName=FIRE_PRIMARY_GUN ---> InputName=FIRE_SECONDARY_GUN

MuzzlePosition=2.1301,2.4904,-0.5971

AimAngles=-0.4068,0.0,0.1140

MaxAmmo=60

EjectShells=TRUE

EjectPosition=2.13,1.197,-0.69

EjectVelocity= 0.0,0.0,-2.0

 

 

Nonetheless, I have observed that on such modified planes, the AI-controlled planes seem to only use their primary guns. With the example above, I've never seen such a modified AI-controlled BF 109 E, either friendly or enemy, use its 20mm guns. Same thing for other planes I've tried to modify. So, is there a way to have the AI-controlled planes use their secondary weapons on given or any circumstances? Perhaps by adding or modifying a line of code in the AIData block? (still the example of a BF 109 E)

 

 

[AIData]

AileronDeltaRoll=1.3

AileronRollRate=-1.0

ElevatorDeltaPitch=1.0

ElevatorPitchRate=-0.1

ThrottleDeltaSpeed=0.10

ThrottleVelocity=-0.03

DeltaSpeedForAfterburner=50

DeltaSpeedForAirbrakes=-50

MaxPitchForAltitude=15.0

MinPitchForAltitude=-10.0

PitchForThrottle=0.005

PitchForAltitude=0.01

PitchForVerticalVelocity=-0.01

RollForHeading=20.0

RollForHeadingRate=-0.6

MinRollHeading=15.0

MaxRollForHeading=45.0

PitchForRoll=0.20

FormationSpeedForPosition=0.8

FormationSpeedForRate=0.45

GunnerFireChance=80 ---> ?

GunnerFireTime=2.5

GunnerAimOffset=0.0050

 

 

Thank you for helping.

 

 

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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