Jump to content
Sign in to follow this  
Guest pfunkmusik

How Do You Make a Red-Flyable Campaign?

Recommended Posts

Guest pfunkmusik

I want to make a red-flyable campaign. I know the Terrain folder you use has a file, XXXX_targets.ini that delineates between ENEMY and FRIENDLY. Would you have to make a completely new Terrain folder with everything flipped around?

 

pfunk

Share this post


Link to post
Share on other sites

Flyable squadrons in campaign mode are called out by the entries in the [campaign].ini file (as opposed to the [campaign]_data.ini file). You do not need a separate terrain folder.

 

You can specify red and blue side flyable, or only one or the other. Here's an example from my PAW Philippines campaign:-

 

Text of PAW1.ini file:

 

[CampaignData]

CampaignName=Battle of the Philippines <--- what appears on campaign selection screen

DataFile=PAW1_data.ini <---- calls out the data file which lists all your squadrons, ground units etc

CampaignMap=Philippines1941 <----------- Specifies the map the campaign will use

Service001=USAF }

Service002=Philippines }

Service003=Japanese Empire } This section lists all the services which are available as flyable at the campaign selection screen. The name of each service must match a nation as defined in the NATIONS.INI file, found in the /Flight folder.

 

[uSAFUnit001] <---- 1st USAF unit. The format is [NATIONNAMEUnitxxx], to match your list of flyable services.

UnitName=3rd Pursuit Squadron

ForceID=1 <---- corresponds to Force00x as defined in campaign_data.ini. This entry makes the unit Red or Blue, depending on how you have numbered the Forces in your campaign_data.ini file.

UnitID=1 <---- This calls out the first Force001 air unit as listed in your campaign_data.ini file

StartDate=1941

DescFile=3PSDesc.txt

StartText=PAW1_Start.txt

CampaignBaseScreen=PAW1_3PS_Base.bmp

CampaignEndWinScreen=PAW1USWin.bmp

CampaignEndLoseScreen=PAW1USLose.bmp

CampaignEndWinText=PAW1_End.txt

CampaignEndLoseText=PAW1_End.txt

 

// And so on for the rest of the blue side units, as follows:

 

[uSAFUnit002]

UnitName=20th Pursuit Squadron

ForceID=1

UnitID=3 <------------ calls out the third Force001 unit

StartDate=1941

DescFile=20PSDesc.txt

StartText=PAW1_Start.txt

CampaignBaseScreen=PAW1_20PS_Base.bmp

CampaignEndWinScreen=PAW1USWin.bmp

CampaignEndLoseScreen=PAW1USLose.bmp

CampaignEndWinText=PAW1_End.txt

CampaignEndLoseText=PAW1_End.txt

 

[uSAFUnit003]

UnitName=34th Pursuit Squadron

ForceID=1

UnitID=5 <------ This calls out the 5th Force001 unit, and so forth.

StartDate=1941

DescFile=34PSDesc.txt

StartText=PAW1_Start.txt

CampaignBaseScreen=PAW1_34PS_Base.bmp

CampaignEndWinScreen=PAW1USWin.bmp

CampaignEndLoseScreen=PAW1USLose.bmp

CampaignEndWinText=PAW1_End.txt

CampaignEndLoseText=PAW1_End.txt

 

[uSAFUnit004]

UnitName=28th Bombardment Squadron

ForceID=1

UnitID=6

StartDate=1941

DescFile=28BSDesc.txt

StartText=PAW1_Start.txt

CampaignBaseScreen=PAW1_28BS_Base.bmp

CampaignEndWinScreen=PAW1USWin.bmp

CampaignEndLoseScreen=PAW1USLose.bmp

CampaignEndWinText=PAW1_End.txt

CampaignEndLoseText=PAW1_End.txt

 

[PhilippinesUnit001]

UnitName=PAAF 6th Pursuit Squadron

ForceID=1

UnitID=10

StartDate=1941

DescFile=6PSDesc.txt

StartText=PAW1_Start.txt

CampaignBaseScreen=PAW1_6PS_Base.bmp

CampaignEndWinScreen=PAW1USWin.bmp

CampaignEndLoseScreen=PAW1USLose.bmp

CampaignEndWinText=PAW1_End.txt

CampaignEndLoseText=PAW1_End.txt

 

 

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

 

[Japanese EmpireUnit001] <---------- First red side flyable unit

UnitName=Ryujo Kanjo Sentokitai

ForceID=2 <----- Corresponds to Force00x as defined in Campaign_data.ini

UnitID=21 <-------- THIS IS THE TRICKY BIT. The numbering system for units starts over again at 1 for Force002 units. So this entry calls out the 21st Force002 air unit listed in your campaign_data.ini file, NOT the 21st air unit as listed in your campaign_data.ini file.

StartDate=1941

DescFile=RKSDesc.txt

StartText=PAW1_Start.txt

CampaignBaseScreen=PAW1_RKS_Base.bmp

CampaignEndWinScreen=PAW1JapWin.bmp

CampaignEndLoseScreen=PAW1JapLose.bmp

CampaignEndWinText=PAW1_End.txt

CampaignEndLoseText=PAW1_End.txt

 

[Japanese EmpireUnit002]

UnitName=Ryujo Kanjo Kogekikitai

ForceID=2

UnitID=22

StartDate=1941

DescFile=RKKDesc.txt

StartText=PAW1_Start.txt

CampaignBaseScreen=PAW1_RKK_Base.bmp

CampaignEndWinScreen=PAW1JapWin.bmp

CampaignEndLoseScreen=PAW1JapLose.bmp

CampaignEndWinText=PAW1_End.txt

CampaignEndLoseText=PAW1_End.txt

 

 

 

It will be clear from my Philippines campaign that you can fly both red side and blue side units. Same holds true for all of the campaigns I have released. Take a look at the [campaign].ini file and the campaign_data.ini file to see how the flyable units are called out.

 

Any questions, fire away.

 

Cheers,

 

Baltika

Edited by Baltika

Share this post


Link to post
Share on other sites
Guest pfunkmusik

Excellent! Thank you very much. That keeps me from having to create too much bloat.

 

So, the way I understand it, if I do this:

 

ForceID=2

UnitID=1

 

It's going to call up the very first enemy unit listed in my Campaign_data.ini, correct?

 

pfunk

Share this post


Link to post
Share on other sites

Yes, absolutely right :good:

Share this post


Link to post
Share on other sites

Why not pull up the old Red Wings Campaign? That would allow you to fly for the Red side.

Share this post


Link to post
Share on other sites
Guest pfunkmusik

Baltika,

 

Your helpful tip worked. I reviewed your PAW files and adjusted mine accordingly. The Red units are now flyable.

 

Thank you very much.

 

pfunk

Share this post


Link to post
Share on other sites

Glad to be of help :biggrin:

 

Cheers,

 

Baltika

Share this post


Link to post
Share on other sites

so that can be done on any campaign

see i want to do that on scrapper's Pushedtoofar.

i'm going to try it out.

Share this post


Link to post
Share on other sites

ok i tried it out and i can't get the correct jet to come through

it keeps coming up F-15c or F-4

and i'm trying to make the SU-27SK work.

 

[AirUnit065]

AircraftType=SU-27SK<<<< this is what i want to work but it won't show up?

UnitName=18/17TH Air Regt

ForceID=2

Nation=NKorea

StartDate=12/10/2006

DefaultTexture=Chinese

BaseArea=Pyongyang AB (NK)

RandomChance=100

MaxAircraft=20

StartAircraft=20

MaxPilots=16

StartPilots=16

Experience=80

Morale=80

Supply=100

Intelligence=80

UpgradeType=Never

MissionChance[sWEEP]=90

MissionChance[CAP]=80

MissionChance[iNTERCEPT]=80

MissionChance[ESCORT]=70

MissionChance=50

MissionChance[CAS]=50

MissionChance[sEAD]=0

MissionChance[ARMED_RECON]=50

MissionChance[ANTI_SHIP]=0

MissionChance[RECON]=0

Supply[001].WeaponType=R-73M1

Supply[001].Quantity=80

Supply[002].WeaponType=R-27R

Supply[002].Quantity=80

Supply[003].WeaponType=Kh-29T

Supply[003].Quantity=80

Supply[004].WeaponType=Kh-25P

Supply[004].Quantity=80

Supply[005].WeaponType=RBK-250 PTAB 2.5

Supply[005].Quantity=80

Supply[006].WeaponType=fab500

Supply[006].Quantity=80

Supply[007].WeaponType=KH-35

Supply[007].Quantity=80

Supply[008].WeaponType=r-77

Supply[008].Quantity=80

 

[NKoreaUnit001]

UnitName=18/17TH Air Regt SU-27SK

ForceID=2

UnitID=65

StartDate=2006

DescFile=18ARGDesc.txt

StartText=ICBM Protect.txt

 

 

what am i doing wrong???? this in the Pushed too far

Share this post


Link to post
Share on other sites

OK now i figured it out!

like said earlier its restarts when you add the enemy force.

i finally figured it out.

 

i am glad that this info was here.

for reference.

Share this post


Link to post
Share on other sites

pfunkmusik,

 

My apologies...very nice technique

Share this post


Link to post
Share on other sites

theres a slight problem.

 

after playing a few missions as the enemy i started to notice

all my ground kills showed up as air kills and vice versa.

did i forget to do some????

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