+HomeFries Posted May 11, 2012 Posted May 11, 2012 I resurrected an old thread on the 3W forum because I thought that this was related, but I appear to be missing something much larger. What I am trying to do is add the A-6 from my Superpack into the stock campaigns. I was able to do Vietnam easily (I mainly changed skins anyway to take advantage of the new ones), but I would really like to add two Marine squadrons to Red Hammer and Red Lightning. Going with Red Lightning, here are the edits I made to CampaignE2.ini: [CampaignData] CampaignName=790918 Red Lightning DataFile=CampaignE2_data.ini CampaignMap=GermanyCE Service001=USAF //Added/Reordered by HF Service002=USMC Service003=RAF Service004=WGermany Service005=Belgium //End Reorder Force001=NATO Forces Force002=Warsaw Pact Forces and [uSMCUnit001] Squadron=VMA332 ForceID=1 UnitID=145 StartDate=09/19/1979 DescFile=woe2Start.txt StartText=woe2Start2.txt AircraftType=A-6E [uSMCUnit002] Squadron=VMA533 ForceID=1 UnitID=144 StartDate=09/28/1979 DescFile=woe2Start.txt StartText=woe2Start2.txt AircraftType=A-6E And here is what I did to CampaignE2_data.ini: [AirUnit144] AircraftType=A-6E Squadron=VMA533 ForceID=1 Nation=USMC StartDate=09/28/1979 DefaultTexture=USMCGrey1 StartNumber=0 BaseArea=Ramstein Airbase BaseMoveChance=15 RandomChance=100 MaxAircraft=16 StartAircraft=16 MaxPilots=16 StartPilots=16 Experience=100 Intelligence=80 Morale=100 Supply=50 MissionChance[sWEEP]=0 MissionChance[CAP]=0 MissionChance[iNTERCEPT]=0 MissionChance[ESCORT]=0 MissionChance[sTRIKE]=100 MissionChance[CAS]=50 MissionChance[sEAD]=40 MissionChance[ARMED_RECON]=50 MissionChance[ANTI_SHIP]=0 MissionChance[RECON]=10 UpgradeType=NEVER [AirUnit145] AircraftType=A-6E Squadron=VMA332 ForceID=1 Nation=USMC StartDate=09/19/1979 DefaultTexture=USMCGrey2 StartNumber=0 BaseArea=Spangdahlem Airbase BaseMoveChance=0 RandomChance=100 MaxAircraft=16 StartAircraft=16 MaxPilots=16 StartPilots=16 Experience=100 Intelligence=80 Morale=100 Supply=50 MissionChance[sWEEP]=0 MissionChance[CAP]=0 MissionChance[iNTERCEPT]=0 MissionChance[ESCORT]=0 MissionChance[sTRIKE]=100 MissionChance[CAS]=50 MissionChance[sEAD]=40 MissionChance[ARMED_RECON]=50 MissionChance[ANTI_SHIP]=0 MissionChance[RECON]=10 UpgradeType=NEVER When I started a campaign with VMA-533, I get the following loadout screen: Note that the Service says US Air Force, and the skin is not selectable (though it defaults to USNGrey2, which is the [TextureSet001] entry in A-6E.ini And here is a screenshot of a USMC bird with VMA-533 squadron markings, USAF service markings, and the USN default skin. Any ideas? Quote
+Wrench Posted May 11, 2012 Posted May 11, 2012 LimitedNations=TRUE for GermanyCE; check the terrain's nations.ini, and add USMC?? the "NationName" decal is tied to the service (in this case, usaf instead of usmc) So if the nation shown on the 1st page is Navy, it should read "NAVY" (experiment with the stock F-15A, and see what happens!) interestering to note, the 'nation' is grayed out on the loadout page; did you paint the stars on, and not using an insignia decal? Quote
+HomeFries Posted May 11, 2012 Author Posted May 11, 2012 Thanks, Wrench. Didn't even know that the file existed. Explains a lot about the decals as well. Since USN and USMC aren't in the nations.ini, it will default to USAF. I could easily fix this by adding USMC to the FriendlyNations list, but it seems I could also set LimitedNations=FALSE? It seems that if I want to modify for maximum compatibility, I should do LimitedNations=FALSE, but will that open up a can of worms? Is adding FriendlyNation lines a better way to go, if not as flexible? Quote
+HomeFries Posted May 11, 2012 Author Posted May 11, 2012 (edited) OK, I extracted GERMANYCE_NATIONS.INI and made the following edits: [LimitedNationList] FriendlyNation001=USAF FriendlyNation002=WGermany FriendlyNation003=RAF FriendlyNation004=France FriendlyNation005=Belgium FriendlyNation006=Netherlands FriendlyNation007=Denmark FriendlyNation008=Canada //Added by HF FriendlyNation009=USMC FriendlyNation010=USN //End Adds EnemyNation001=Soviet EnemyNation002=Poland EnemyNation003=EGermany EnemyNation004=Czechoslovakia I dropped the file into Terrains\GermanyCE. When I start a campaign with VMA-533 I still get the same results. EDIT: just to clarify, I'm testing this on an otherwise virgin install to ensure compatibility prior to release. Edited May 11, 2012 by HomeFries Quote
+HomeFries Posted May 12, 2012 Author Posted May 12, 2012 Ok, I got the answer. I dug this up from an old thread. What I did was add all of the new units to the end of the data.ini. Then when I tried moving them up in the list, I didn't change their unit ID in campaigne2.ini. Stupid me, I thought Unit ID referred to [AirUnit], and not its location in the datafile. Kind of a screwy way of setting up a pointer, if you ask me. Anyway, the squadrons select properly now, and I have a lesson learned for the future. Thanks for the help, Wrench. Quote
+Wrench Posted May 12, 2012 Posted May 12, 2012 shoot, there's LOTS of screwy stuff in these inis!!! Glad you got it sorted! Quote
+HomeFries Posted May 13, 2012 Author Posted May 13, 2012 Yep. The campaigns are now released as part of the A-6 Superpack v1.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.