Jump to content

Recommended Posts

I'm getting weird problems in a custom campaign. My unit starting at the wrong airbase, wrong skin showing up, things like that. Could someone answer a few questions for me?

 

1. Do squadrons have to be in numerical order? (4TFS, 7TFS, etc...)

 

2. Do services have to all be together in the data.ini? (All USMC Units 1-10, all USAF units 11-20, all BAF 21-30 etc...)

 

3. Do sides have to be together? (Campaign has Units 1-50 are BLUFOR, 51-100 OPFOR, so can I tack on more BLUFOR starting as unit 101, then another OPFOR at 102?)

 

Thank you.

Share this post


Link to post
Share on other sites

i believe the answer is yes to all questions. however i would suggest taking a established campaign like NF4+ and comparing notes so you can get yours running. i also reccomend the Knowledge Base as a source of useful info.

Share this post


Link to post
Share on other sites

I'm getting weird problems in a custom campaign. My unit starting at the wrong airbase, wrong skin showing up, things like that. Could someone answer a few questions for me?

 

1. Do squadrons have to be in numerical order? (4TFS, 7TFS, etc...)

 

2. Do services have to all be together in the data.ini? (All USMC Units 1-10, all USAF units 11-20, all BAF 21-30 etc...)

 

3. Do sides have to be together? (Campaign has Units 1-50 are BLUFOR, 51-100 OPFOR, so can I tack on more BLUFOR starting as unit 101, then another OPFOR at 102?)

 

Thank you.

Apparently not : I have seen some campiagns files where everything is mixed based on "addon release date" order and it works fine, except maybe for point 3.

On the other hand, it is very hard to edit, modify such files

Edited by jeanba

Share this post


Link to post
Share on other sites

For SFP1 I would say yes, or it depends.

I wanted to add a Merc Squadron for BS:1988, I tacked it to the end of the Campaign_Data.ini file fix the number accordingly but the squad wouldn't show.

I removed the entries below 1stSOW and added new info 2ndSOW and it works perfectly (added to squadron list as well).

Oh, and set the UNIT ID number accordingly in campaign.ini

Here's the specific text, hope it makes sense.

 

//-------------------------------------------------------------------------

 

 

[AirUnit001]

AircraftType=F-16A_ADF

UnitName=1stSOW

ForceID=1

Nation=MERC

MercenaryUnit=TRUE

PlayerOnly=TRUE

StartingFunds=10000

DefaultTexture=MercSand1

BaseArea=D9 Airfield

RandomChance=100

MissionRate=1.5

MaxAircraft=16

StartAircraft=16

MaxPilots=16

StartPilots=16

Experience=100

Morale=100

Supply=70

UpgradeType=ANY

MissionChance[sWEEP]=90

MissionChance[CAP]=90

MissionChance[iNTERCEPT]=90

MissionChance[ESCORT]=90

MissionChance=90

MissionChance[CAS]=90

MissionChance[sEAD]=90

MissionChance[ARMED_RECON]=90

MissionChance[ANTI_SHIP]=90

MissionChance[RECON]=90

MissionChance[sWEEP]=90

MissionChance[CAP]=90

MissionChance[iNTERCEPT]=90

MissionChance[ESCORT]=90

MissionChance=0

MissionChance[CAS]=0

MissionChance[sEAD]=0

MissionChance[ARMED_RECON]=90

MissionChance[ANTI_SHIP]=0

MissionChance[RECON]=90

Supply[001].WeaponType=ALQ-131

Supply[001].Quanity=20

Supply[002].WeaponType=F16WTank

Supply[002].Quantity=80

Supply[003].WeaponType=F16WTank

Supply[003].Quantity=80

Supply[004].WeaponType=AIM-9J

Supply[004].Quantity=120

Supply[005].WeaponType=AIM-7E-2

Supply[005].Quantity=120

 

[AirUnit002]

AircraftType=F-5E

UnitName=2ndSOW

ForceID=1

Nation=MERC

MercenaryUnit=TRUE

PlayerOnly=TRUE

StartingFunds=10000

DefaultTexture=SaudiTiger

BaseArea=D9 Airfield

RandomChance=100

MissionRate=1.5

MaxAircraft=16

StartAircraft=16

MaxPilots=16

StartPilots=16

Experience=100

Morale=100

Supply=70

UpgradeType=ANY

MissionChance[sWEEP]=90

MissionChance[CAP]=90

MissionChance[iNTERCEPT]=90

MissionChance[ESCORT]=90

MissionChance=90

MissionChance[CAS]=90

MissionChance[sEAD]=90

MissionChance[ARMED_RECON]=90

MissionChance[ANTI_SHIP]=90

MissionChance[RECON]=90

Supply[001].WeaponType=Mk81

Supply[001].Quantity=180

Supply[002].WeaponType=Mk82SE

Supply[002].Quantity=120

Supply[003].WeaponType=Mk83

Supply[003].Quantity=40

Supply[004].WeaponType=Mk84

Supply[004].Quantity=40

Supply[005].WeaponType=LAU-3A

Supply[005].Quantity=80

Supply[006].WeaponType=LAU-10A

Supply[006].Quantity=40

Supply[007].WeaponType=F-5E_CTFUEL

Supply[007].Quantity=80

Supply[008].WeaponType=AIM-9J

Supply[008].Quantity=120

 

---------------------------------------------------

Campaign.ini

 

 

[MercUnit001]

UnitName=1st Special Ops Wing

ForceID=1

UnitID=1

StartDate=1988

DescFile=MercDesc.txt

StartText=BS1988.txt

AircraftType=F-16_ADF

 

[MercUnit002]

UnitName=2nd Special Ops Wing

ForceID=1

UnitID=2

StartDate=1988

DescFile=MercDesc2.txt

StartText=BS1988.txt

AircraftType=F-5E

 

---------------------------------------------

 

Squadron list Ini entries

 

[MercUnit001]

Name=1stSOW

DisplayName=1st Special Ops Wing

 

[MercUnit002]

Name=2ndSOW

DisplayName=2nd Special Ops Wing

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
Sign in to follow this  

×

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