Jump to content
HomeFries

Issues when adding Nation/Aircraft to stock campaign

Recommended Posts

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:

a-6usafloadout1024.jpg

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.

a-6usafingame.jpg

 

 

Any ideas?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 by HomeFries

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

shoot, there's LOTS of screwy stuff in these inis!!! :lol: Glad you got it sorted!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

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