Ranger_Sgt_Duke Posted November 3, 2021 Report Share Posted November 3, 2021 Hello All! I have spent countless hours trying to solve a problem. My son-in-law and I play BF2 (AIX2) on my home server every week. I have several modded maps (all "tweaks" are within the maps themselves; I renamed the maps that are tweaked because I don't want to overwrite the original content). I recently decided to make the "ultimate" airplane. My favorite is the SU34 (two seater). I cloned it, reskinned it, and added Maverick missiles to it (and added artillery shells as the machine gun bullets...its like an A-10 now...lol). I also replaced the HUD with the ones from the US vehicles (green...not custom, just replaced the references). It works great on Conquest, but BF2 will crash as soon as I "enter" the plane in Co-op. I believe my problem is with the Weapons.ai and/or the Objects.ai, but I could be wrong. Thanks in advance for your help! I am happy to know people are still playing this awesome game! --- Here are the contents of both: Weapons.ai rem *** Weaponory *** rem * Machine gun * weaponTemplate.create RUAIR_SU34XAutoCannon weaponTemplate.indirect 0 weaponTemplate.minRange 5.0 weaponTemplate.maxRange 600.0 weaponTemplate.setStrength Infantry 9.0 weaponTemplate.setStrength LightArmour 4.0 weaponTemplate.setStrength HeavyArmour 0.0 weaponTemplate.setStrength NavalArmour 0.0 weaponTemplate.setStrength Helicopter 5.0 weaponTemplate.setStrength Airplane 4.0 weaponTemplate.allowedDeviation 20.0 rem * AAM * weaponTemplate.create RUAIR_SU34X_Archer_AI weaponTemplate.indirect 0 weaponTemplate.minRange 5.0 weaponTemplate.maxRange 600.0 weaponTemplate.setStrength Infantry 0.0 weaponTemplate.setStrength LightArmour 0.0 weaponTemplate.setStrength HeavyArmour 0.0 weaponTemplate.setStrength NavalArmour 0.0 weaponTemplate.setStrength Helicopter 7.0 weaponTemplate.setStrength Airplane 9.0 weaponTemplate.allowedDeviation 15.0 rem * Bombs * weaponTemplate.create RUAIR_SU34XBombs weaponTemplate.indirect 1 weaponTemplate.minRange 30.0 weaponTemplate.maxRange 500.0 weaponTemplate.setStrength Infantry 8 weaponTemplate.setStrength LightArmour 31 weaponTemplate.setStrength HeavyArmour 25 weaponTemplate.setStrength NavalArmour 3 weaponTemplate.setStrength Helicopter 1 weaponTemplate.setStrength Airplane 1 weaponTemplate.allowedDeviation 15.0 rem * Laser guided * weaponTemplate.create RUAIR_SU34XKedge weaponTemplate.indirect 0 weaponTemplate.minRange 30.0 weaponTemplate.maxRange 500.0 weaponTemplate.setStrength Infantry 0.0 weaponTemplate.setStrength LightArmour 6.0 weaponTemplate.setStrength HeavyArmour 6.0 weaponTemplate.setStrength NavalArmour 3.0 weaponTemplate.setStrength Helicopter 3.0 weaponTemplate.setStrength Airplane 3.0 weaponTemplate.allowedDeviation 15.0 rem *Laser Guided Missiles* rem weaponTemplate.create RUAIR_SU34X_Mavericks rem rem WeaponTemplate.WeaponFire PIAltFire rem weaponTemplate.indirect 0 rem weaponTemplate.minRange 5.0 rem weaponTemplate.maxRange 300.0 rem weaponTemplate.setStrength Infantry 0.0 rem weaponTemplate.setStrength LightArmour 35.0 rem weaponTemplate.setStrength HeavyArmour 45.0 rem weaponTemplate.setStrength NavalArmour 30.0 rem weaponTemplate.setStrength Helicopter 0.0 rem weaponTemplate.setStrength Airplane 0.0 rem rem weaponTemplate.fireRate 60 rem weaponTemplate.allowedDeviation 90.0 Objects.ai rem *** Plugins *** aiTemplatePlugIn.create Unit RUAIR_SU34XUnit aiTemplatePlugIn.equipmentTypeName Plane aiTemplatePlugIn.setStrategicStrength 0 3 aiTemplatePlugIn.setStrategicStrength 1 3 aiTemplatePlugIn.create Physical RUAIR_SU34XPhysical aiTemplatePlugIn.setStrType AirPlane aiTemplatePlugIn.create ControlInfo RUAIR_SU34XCtrl aiTemplatePlugIn.driveTurnControl PIYaw aiTemplatePlugIn.driveThrottleControl PIThrottle aiTemplatePlugIn.aimHorizontalControl PIYaw aiTemplatePlugIn.aimVerticalControl PIPitch aiTemplatePlugIn.driveRollControl PIRoll aiTemplatePlugIn.drivePitchControl PIPitch aiTemplatePlugIn.aimRollControl PIRoll aiTemplatePlugIn.aimThrottleControl PIThrottle aiTemplatePlugIn.throttleSensitivity -3.0 rem aiTemplatePlugIn.pitchSensitivity -0.5 aiTemplatePlugIn.pitchSensitivity -1.0 aiTemplatePlugIn.rollSensitivity -1.3 aiTemplatePlugIn.yawSensitivity 0.3 aiTemplatePlugIn.throttleLookAhead 1.0 aiTemplatePlugIn.pitchLookAhead 1.2 aiTemplatePlugIn.rollLookAhead 1.5 aiTemplatePlugIn.yawLookAhead 0.3 aiTemplatePlugIn.throttleScale 1.0 rem *** Angle in radians *** aiTemplatePlugIn.pitchScale 0.0010 aiTemplatePlugIn.rollScale 0.0020 aiTemplatePlugIn.yawScale 0.0175 aiTemplatePlugIn.maxRollAngle 0.9900 aiTemplatePlugIn.maxClimbAngle 0.3333 aiTemplatePlugIn.create Mobile RUAIR_SU34XMobile aiTemplatePlugIn.vehicleNumber -1 aiTemplatePlugIn.maxSpeed 60.0 aiTemplatePlugIn.turnRadius 25.0 aiTemplatePlugIn.setSoundSphereRadius 0.0 150.0 aiTemplatePlugIn.setHearingProbability 0.01 0.3 aiTemplatePlugIn.create Armament RUAIR_SU34XArms aiTemplatePlugIn.setIsAntiAircraft 1 rem *** AITemplate *** aiTemplate.create RUAIR_SU34X aiTemplate.addType ITUnit aiTemplate.addType ITMobile aiTemplate.addType ITAir aiTemplate.addType ITHasWreck rem aiTemplate.addType ITCover aiTemplate.degeneration 5 aiTemplate.allowedTimeDiff 0.5 aiTemplate.basicTemp 15 aiTemplate.commonKnowledge 0 aiTemplate.addPlugIn RUAIR_SU34XUnit aiTemplate.addPlugIn RUAIR_SU34XPhysical aiTemplate.addPlugIn RUAIR_SU34XCtrl aiTemplate.addPlugIn RUAIR_SU34XMobile aiTemplate.addPlugIn RUAIR_SU34XArms rem *** The Co.pilot rem *** Plugins *** aiTemplatePlugIn.create Armament RUAIR_SU34XCOPArms rem aiTemplatePlugIn.setIsAntiAircraft 1 aiTemplatePlugIn.create Unit RUAIR_SU34XCOPUnit aiTemplatePlugIn.equipmentTypeName Fixed aiTemplatePlugIn.setStrategicStrength 0 2 aiTemplatePlugIn.setStrategicStrength 1 2 aiTemplatePlugIn.setHasExposedSoldier 1 aiTemplatePlugIn.create ControlInfo RUAIR_SU34XCOPCtrl aiTemplatePlugIn.driveTurnControl PIYaw aiTemplatePlugIn.driveThrottleControl PIThrottle aiTemplatePlugIn.aimHorizontalControl PIMouseLookX aiTemplatePlugIn.aimVerticalControl PIMouseLookY aiTemplatePlugIn.lookHorizontalControl PIMouseLookX aiTemplatePlugIn.lookVerticalControl PIMouseLookY aiTemplatePlugIn.throttleSensitivity -1.0 rem aiTemplatePlugIn.pitchSensitivity 0.021817 rem aiTemplatePlugIn.rollSensitivity -0.021817 aiTemplatePlugIn.pitchSensitivity 0.21817 aiTemplatePlugIn.rollSensitivity -0.21817 aiTemplatePlugIn.yawSensitivity -2.5 rem aiTemplatePlugIn.lookVerticalSensitivity 0.021817 rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817 aiTemplatePlugIn.lookVerticalSensitivity 0.21817 aiTemplatePlugIn.lookHorizontalSensitivity -0.21817 aiTemplatePlugIn.throttleLookAhead 1.0 aiTemplatePlugIn.pitchLookAhead 1.0 aiTemplatePlugIn.rollLookAhead 1.0 aiTemplatePlugIn.yawLookAhead 1.0 aiTemplatePlugIn.lookVerticalLookAhead 1.0 aiTemplatePlugIn.lookHorizontalLookAhead 1.0 aiTemplatePlugIn.throttleScale 1.0 rem *** Angle in radians *** aiTemplatePlugIn.pitchScale 2.0 aiTemplatePlugIn.rollScale 2.0 aiTemplatePlugIn.yawScale 0.0020 aiTemplatePlugIn.lookVerticalScale 1.0 aiTemplatePlugIn.lookHorizontalScale 1.0 aiTemplatePlugIn.setCameraRelativeMinRotationDeg -360/-45/0 aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 360/10/0 rem *** AITemplate *** aiTemplate.create RUAIR_SU34XCoPilot aiTemplate.addType ITUnit aiTemplate.addType ITBiological aiTemplate.addType ITAir aiTemplate.degeneration 10 aiTemplate.allowedTimeDiff 1 aiTemplate.basicTemp 10 aiTemplate.commonKnowledge 0 aiTemplate.secondary 1 aiTemplate.addPlugIn RUAIR_SU34XCOPArms aiTemplate.addPlugIn RUAIR_SU34XCOPUnit aiTemplate.addPlugIn RUAIR_SU34XCOPCtrl Quote Link to comment Share on other sites More sharing options...
Ranger_Sgt_Duke Posted November 3, 2021 Author Report Share Posted November 3, 2021 I solved the problem by adding the cloned jet to the AIX mod directory (with the files in their own directory with the *.zip files inside). I then added the path and filenames to the Client and Server archives. I removed all of the files that I added to my new map and just referenced the new jet like I would any other. Everything is working fine. Regards, Ranger_Sgt_Duke Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.