+Eagle114th Posted July 6, 2022 Posted July 6, 2022 (edited) Hello everyone, F-4K and F-4M are the first aircraft I am facing problems with SpecificStationCode. Whenever I use SpecificStationCode, the weapons refuse to show up in loadout screen. it works perfectly with other F-4s (Iran, South Korea, and others). For example, here is the codes: [SidewinderStation1] SystemType=WEAPON_STATION StationID=10 StationGroupID=2 GroupLimit=3 StationType=EXTERNAL AttachmentPosition=-2.24,2.63,-1.18 AttachmentAngles=0.0,-1.0,85.0 LoadLimit=120 DiameterLimit=0.15 AllowedWeaponClass=IRM AttachmentType=NATO,UK ModelNodeName=missile_rails_L PylonMass=39.46 PylonDragArea=0.001 LaunchRailNodeName= MinExtentPosition= MaxExtentPosition= SpecificStationCode=IRM_UK [SidewinderStation2] SystemType=WEAPON_STATION StationID=11 StationGroupID=2 GroupLimit=3 StationType=EXTERNAL AttachmentPosition= 2.24,2.63,-1.18 AttachmentAngles=0.0,-1.0,-85.0 LoadLimit=120 DiameterLimit=0.15 AllowedWeaponClass=IRM AttachmentType=NATO,UK ModelNodeName=missile_rails_R PylonMass=39.46 PylonDragArea=0.001 LaunchRailNodeName= MinExtentPosition= MaxExtentPosition= SpecificStationCode=IRM_UK [SidewinderStation3] SystemType=WEAPON_STATION StationID=12 StationGroupID=2 GroupLimit=3 StationType=EXTERNAL AttachmentPosition=-1.86,2.63,-1.18 AttachmentAngles=0.0,-1.0,-85.0 LoadLimit=120 DiameterLimit=0.15 AllowedWeaponClass=IRM AttachmentType=NATO,UK ModelNodeName=missile_rails_L PylonMass=39.46 PylonDragArea=0.001 LaunchRailNodeName= MinExtentPosition= MaxExtentPosition= SpecificStationCode=IRM_UK [SidewinderStation4] SystemType=WEAPON_STATION StationID=13 StationGroupID=2 GroupLimit=3 StationType=EXTERNAL AttachmentPosition=1.86,2.63,-1.18 AttachmentAngles=0.0,-1.0,85.0 LoadLimit=120 DiameterLimit=0.15 AllowedWeaponClass=IRM AttachmentType=NATO,UK ModelNodeName=missile_rails_R PylonMass=39.46 PylonDragArea=0.001 LaunchRailNodeName= MinExtentPosition= MaxExtentPosition= SpecificStationCode=IRM_UK And this is AIM-9B codes as an examlpe: [WeaponData001] TypeName=AIM-9B_UK FullName=[IRM] AIM-9B Sidewinder ModelName=aim-9b Mass=70.110001 Diameter=0.127000 Length=2.830000 SubsonicDragCoeff=0.677000 SupersonicDragCoeff=2.310000 AttachmentType=NATO,UK SpecificStationCode=IRM_UK NationName=RAF StartYear=1956 EndYear=1975 Availability=3 BaseQuantity=4 Exported=FALSE ExportStartYear= ExportEndYear= ExportAvailability=2 WeaponDataType=1 RailLaunched=TRUE RocketPod=FALSE Retarded=FALSE FinStabilized=TRUE SpinStabilized=FALSE HasGrowl=TRUE EffectClassName=SmallMissileEffects ReleaseDelay=0.900000 WarheadType=0 Explosives=6.200000 FusingDistance=9.000000 ClusterBomblets=0 ClusterDispersion=0.000000 GuidanceType=10 Accuracy=65 MaxTurnRate=11.000000 MaxLaunchG=2.000000 LockonChance=65 LaunchReliability=70 ArmingTime=0.500000 SeekerFOV=4.000000 SeekerGimbleLimit=25.000000 SeekerTrackRate=11.000000 SeekerRange=4800.000000 CLmax=14.000000 MinFreq=0.000000 MaxFreq=0.000000 MinLaunchRange=400.000000 MaxLaunchRange=4800.000000 Duration=20.000000 CounterCountermeasure=40.000000 NoiseRejection=10.000000 CapabilityFlags=0x00000100 LoftAngle=0.000000 DescentAngle=0.000000 MaxLoftAltitude=0.000000 BoosterStart=0.000000 BoosterDuration=2.200000 BoosterAccel=24.240000 BoosterEffectName=MissileFireEffect BoosterSoundName=Missile BoosterNodeName= BoosterPosition=0.000000,-1.456000,0.000000 SustainerDuration=0.000000 SustainerAccel=0.000000 SustainerEffectName= SustainerSoundName= SustainerPosition=0.000000,-1.456000,0.000000 InFlightEffectName=MissileInFlightEffect InFlightSoundName= ReleaseAnimationID=1 ReleaseAnimationTime=0.000000 ReleaseAnimationDelay=0.000000 EODisplayFlags=0 CEP=5.000000 What is wrong with my code? I am literally pulling my hairs after trying to make this work for hours. May I ask for someone to show me what I am doing wrong with the codes. Thank you. Eagle114th Edited July 7, 2022 by Eagle114th Quote
+pvince Posted July 6, 2022 Posted July 6, 2022 Does it work if you just remove the "IRM_UK" in the aircraft data.ini and the AIM data.ini ? 1 Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 47 minutes ago, pvince said: Does it work if you just remove the "IRM_UK" in the aircraft data.ini and the AIM data.ini ? Yes, it does. It turns out that if you use SpecificStationCode with code "UK", it will NOT work at all. And I realized why; the "UK" is not even part of NATION, it is probably reserved codes written by TK inside the game engine that handles UK ordinances. And anything that is not listed in NATION.ini, you can not use SpecificStation. Eagle114th Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 Looks like I fixed the problems by changing "UK" to RAF,RoyalNavy and the weapon now appears on loadout screen. Here is the codes: [SidewinderStation1] SystemType=WEAPON_STATION StationID=10 StationGroupID=2 GroupLimit=3 StationType=EXTERNAL AttachmentPosition=-2.24,2.63,-1.18 AttachmentAngles=0.0,-1.0,85.0 LoadLimit=120 DiameterLimit=0.15 AllowedWeaponClass=IRM AttachmentType=RAF,RoyalNavy ModelNodeName=missile_rails_L PylonMass=39.46 PylonDragArea=0.001 LaunchRailNodeName= MinExtentPosition= MaxExtentPosition= SpecificStationCode=RAF_RN_IRM [SidewinderStation2] SystemType=WEAPON_STATION StationID=11 StationGroupID=2 GroupLimit=3 StationType=EXTERNAL AttachmentPosition= 2.24,2.63,-1.18 AttachmentAngles=0.0,-1.0,-85.0 LoadLimit=120 DiameterLimit=0.15 AllowedWeaponClass=IRM AttachmentType=RAF,RoyalNavy ModelNodeName=missile_rails_R PylonMass=39.46 PylonDragArea=0.001 LaunchRailNodeName= MinExtentPosition= MaxExtentPosition= SpecificStationCode=RAF_RN_IRM [SidewinderStation3] SystemType=WEAPON_STATION StationID=12 StationGroupID=2 GroupLimit=3 StationType=EXTERNAL AttachmentPosition=-1.86,2.63,-1.18 AttachmentAngles=0.0,-1.0,-85.0 LoadLimit=120 DiameterLimit=0.15 AllowedWeaponClass=IRM AttachmentType=RAF,RoyalNavy ModelNodeName=missile_rails_L PylonMass=39.46 PylonDragArea=0.001 LaunchRailNodeName= MinExtentPosition= MaxExtentPosition= SpecificStationCode=RAF_RN_IRM [SidewinderStation4] SystemType=WEAPON_STATION StationID=13 StationGroupID=2 GroupLimit=3 StationType=EXTERNAL AttachmentPosition= 1.86,2.63,-1.18 AttachmentAngles=0.0,-1.0,85.0 LoadLimit=120 DiameterLimit=0.15 AllowedWeaponClass=IRM AttachmentType=RAF,RoyalNavy ModelNodeName=missile_rails_R PylonMass=39.46 PylonDragArea=0.001 LaunchRailNodeName= MinExtentPosition= MaxExtentPosition= SpecificStationCode=RAF_RN_IRM [WeaponData001] TypeName=AIM-9Gswift FullName=[IRM] AIM-9G (SWIFT) Sidewinder UK ModelName=AIM-9d Mass=89.360001 Diameter=0.127000 Length=2.830000 SubsonicDragCoeff=0.689000 SupersonicDragCoeff=0.811000 AttachmentType=NATO,RAF,RoyalNavy SpecificStationCode=RAF_RN_IRM NationName=RAF StartYear=1983 EndYear=1999 Availability=2 BaseQuantity=4 Exported=FALSE ExportStartYear=0 ExportEndYear=0 ExportAvailability=0 WeaponDataType=1 RailLaunched=TRUE RocketPod=FALSE Retarded=FALSE FinStabilized=TRUE SpinStabilized=FALSE HasGrowl=TRUE EffectClassName=SmallMissileEffects ReleaseDelay=0.800000 WarheadType=0 Explosives=5.000000 FusingDistance=6.000000 ClusterBomblets=0 ClusterDispersion=0.000000 GuidanceType=10 Accuracy=70 MaxTurnRate=18.000000 MaxLaunchG=10.000000 LockonChance=70 LaunchReliability=80 ArmingTime=0.500000 SeekerFOV=2.500000 SeekerGimbleLimit=40.000000 SeekerTrackRate=12.000000 SeekerRange=16000.000000 CLmax=14.000000 MinFreq=0.000000 MaxFreq=0.000000 MinLaunchRange=400.000000 MaxLaunchRange=16000.000000 Duration=55.000000 CounterCountermeasure=80.000000 NoiseRejection=60.000000 CapabilityFlags=0x00000280 LoftAngle=0.000000 DescentAngle=0.000000 MaxLoftAltitude=0.000000 BoosterStart=0.000000 BoosterDuration=4.700000 BoosterAccel=13.900000 BoosterEffectName=MissileFireEffect BoosterSoundName=Missile BoosterNodeName= BoosterPosition=0.000000,-1.456000,0.000000 SustainerDuration=0.000000 SustainerAccel=0.000000 SustainerEffectName= SustainerSoundName= SustainerPosition=0.000000,-1.456000,0.000000 InFlightEffectName=MissileInFlightEffect InFlightSoundName= ReleaseAnimationID=1 ReleaseAnimationTime=0.000000 ReleaseAnimationDelay=0.000000 EODisplayFlags=0 CEP=5.000000 Now I can see AIM-9G (SWIFT) without seeing another missiles, which is a good news! The most important note I learn today about SpecificCodes, only use what is shown in NATION.ini. Anything that is not there, do NOT use it. the code "UK" won't work with SpecificStationCode=". Eagle114th Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 (edited) This is even more strange; My new codes posted abover does NOT work with F-4K or F-4K_75. It still work with F-4K_80. TW F-4K and F-4K_75 are glitchy. F-4K_80 is stable. So be careful when messing with F-4K and F-4K_75 weapon station codes. I am not going to mess with any UK F-4s, I'll leave them be and only tweak the loadout. Eagle114th Edited July 6, 2022 by Eagle114th Quote
+pvince Posted July 6, 2022 Posted July 6, 2022 For Nation or AttachmentType, yes, UK is not a valid one. But for SpecificStationCode, you can use any characters string you want. Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 27 minutes ago, pvince said: For Nation or AttachmentType, yes, UK is not a valid one. But for SpecificStationCode, you can use any characters string you want. The problem with F-4K and F-4K_75 is that if you use SpecificStationCode, their weapon station no longer works or the weapon does not show up on the loadout screen, even when you change the nation or attachmentType. I am able to use SpecificStationCode with F-4K_80 successfully. That surprised me. Hence I think that F-4K and F-4K_75 are glitchy and need patches to fix it. Eagle114th Quote
+pvince Posted July 6, 2022 Posted July 6, 2022 I have to correct: "RAF" for Nation, but "UK" code for AttachmentType is correct. Sorry for confusing. For your problem, if the couple (aircraft,weapon) works without SpecificStationCode, it will work again if you apply the same SpecificStationCode in both. If not, make sure you have it on the right weapon_station (for example test with a "StationGroup" that has only this one in, and disable the loadout.ini, so that no doubt), or no typo. 1 Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 3 minutes ago, pvince said: I have to correct: "RAF" for Nation, but "UK" code for AttachmentType is correct. Sorry for confusing. For your problem, if the couple (aircraft,weapon) works without SpecificStationCode, it will work again if you apply the same SpecificStationCode in both. If not, make sure you have it on the right weapon_station (for example test with a "StationGroup" that has only this one in, and disable the loadout.ini, so that no doubt), or no typo. I appreciate your help. May I ask if you can experiment it on F-4K, F-4K_75, and F-4K_80? I have done the same with all of them. Only F-4K_80 works. I will re-test with all three planes. Eagle114th Quote
+pvince Posted July 6, 2022 Posted July 6, 2022 I have not those aircraft on my install. But you can post the data.ini of them, I will try. Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 20 minutes ago, pvince said: I have not those aircraft on my install. But you can post the data.ini of them, I will try. Ah I see. Since you don't have F-4K and F-4M DLC, you can't help me in this situation. I need someone who has F-4K and F-4M DLC to see if their F_4K and F-4K_75 are bugged too. I still appreciate your help. Cheers! Quote
+pvince Posted July 6, 2022 Posted July 6, 2022 BTW, F-4K is RoyalNavy right ? and your missile is RAF. Then you need Exported=TRUE, because for the game, RAF and RoyalNavy are not the same Nation. 1 Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 10 minutes ago, pvince said: BTW, F-4K is RoyalNavy right ? and your missile is RAF. Then you need Exported=TRUE, because for the game, RAF and RoyalNavy are not the same Nation. AH! I SEE NOW! This may have solved the problems I was having. I will test it. (Fingers crossed) Eagle114th Quote
+daddyairplanes Posted July 6, 2022 Posted July 6, 2022 (edited) 8 hours ago, Eagle114th said: Yes, it does. It turns out that if you use SpecificStationCode with code "UK", it will NOT work at all. And I realized why; the "UK" is not even part of NATION, it is probably reserved codes written by TK inside the game engine that handles UK ordinances. And anything that is not listed in NATION.ini, you can not use SpecificStation. Eagle114th sorry, but wrong specific station just has to match between weapon and data.ini. i used a specific station code to make the drogue basket for the KC-135 as "weapon", and named it "Eddie". so it has nothing to do with the Nations ini. Edited July 6, 2022 by daddyairplanes 1 Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 6 hours ago, daddyairplanes said: sorry, but wrong specific station just has to match between weapon and data.ini. i used a specific station code to make the drogue basket for the KC-135 as "weapon", and named it "Eddie". so it has nothing to do with the Nations ini. That is noted and thank you for correcting me. As always, I learn new things everyday. Cheers! Quote
+Eagle114th Posted July 6, 2022 Author Posted July 6, 2022 (edited) 9 hours ago, pvince said: BTW, F-4K is RoyalNavy right ? and your missile is RAF. Then you need Exported=TRUE, because for the game, RAF and RoyalNavy are not the same Nation. YOU ARE MY HERO! I just realized why it didn't work with F-4K and F-4K_75 while works with F-4K_80. F-4K and F-4K_75 is Royal Navy while F-4K_80 is Royal Air Force. And by seting Exported to True, now it works with ALL F-4K (both RN and RAF)! I see now, UK is an unique code designed to have weapons working with both RN and RAF at the same time. I am joyed now! Thank you very much for the help. I learned an important lesson today. Cheers! Edited July 6, 2022 by Eagle114th 1 Quote
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.
Note: Your post will require moderator approval before it will be visible.