Jump to content

Recommended Posts

Hello!

 

This is my first post in this forum, while i´ve been following it for quite a while. The information needed isn´t exactly always easy to find but so far i´ve managed to install a few add-ons and extra campaigns.

 

I have this project i´m working on; to convert the Red Swarm Campaign from flying NATO to going red and fly the Migs, Su and Tu´s.

 

So far i´ve managed quite well, have got a good selection of Soviet, DDR, Polish and Czech squadrons, their loadouts and stuff. I´ve been following the late Bunyaps campaign editing advices.

 

The problem;

 

For my WP squadrons all ground targets are WP. I take off from a WP airfield (where my own AA/SAMs attack me!!) and the mission target is another WP airfield or WP tanks. I cannot figure out how to change these settings.

 

Question1: Why are my AAA/SAMs firing at me. How can their alliance/side be edited?

 

Question2: How can i edit the ground targets as it forfeits the use of a WP campaign to attack ownforces...

 

Someone able to help?

 

I think i have the Forces/Alliances Right;

 

Oh, the name of the campaign is "Red Storm Rising"

 

Campaign.ini:

 

[CampaignData]

CampaignName=Red Storm Rising

DataFile=RedStormRising_DATA.ini

CampaignMap=GermanyCE

Service001=Soviet

Service002=EGermany

Service003=Poland

Service004=Czechoslovakia

 

[sovietUnit001]

UnitName=51st ADC, 3rd FAR, Mig-23ML

ForceID=2

UnitID=1

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[sovietUnit002]

UnitName=106th FAR, Mig23MLD

ForceID=2

UnitID=3

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[sovietUnit003]

UnitName=51st ADC, 31st FAR, MiG-25RB

ForceID=2

UnitID=6

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[sovietUnit004]

UnitName=19th FAR, MiG25BM

ForceID=2

UnitID=7

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[sovietUnit005]

UnitName=141th FAR, MiG25P

ForceID=2

UnitID=8

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[sovietUnit006]

UnitName=111th FAR, MiG27

ForceID=2

UnitID=9

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[sovietUnit007]

UnitName=1st CAD, 559th BAR, Mig27

ForceID=2

UnitID=10

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[sovietUnit008]

UnitName=1st CAD, 959th BAR, Mig29C

ForceID=2

UnitID=16

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[sovietUnit009]

UnitName=1st APIB Yak28P

ForceID=2

UnitID=21

StartDate=1985

DescFile=Soviet.txt

StartText=RedSwarmStart.txt

 

[EGermanyUnit001]

UnitName=JB 177, Mig23MF

ForceID=2

UnitID=42

StartDate=1985

DescFile=EGermany.txt

StartText=RedSwarmStart.txt

 

[EGermanyUnit002]

UnitName=JBG 14, Su-15TM

ForceID=2

UnitID=43

StartDate=1985

DescFile=EGermany.txt

StartText=RedSwarmStart.txt

 

[EGermanyUnit003]

UnitName=JB94, Su17

ForceID=2

UnitID=35

StartDate=1985

DescFile=EGermany.txt

StartText=RedSwarmStart.txt

 

[PolandUnit001]

UnitName=62.PLM, Mig21MF

ForceID=2

UnitID=38

StartDate=1985

DescFile=Poland.txt

StartText=RedSwarmStart.txt

 

[PolandUnit002]

UnitName=25.PLM, Mig27

ForceID=2

UnitID=41

StartDate=1985

DescFile=Poland.txt

StartText=RedSwarmStart.txt

 

[PolandUnit003]

UnitName=59.PLM, SU-15TM

ForceID=2

UnitID=46

StartDate=1985

DescFile=Poland.txt

StartText=RedSwarmStart.txt

 

[PolandUnit004]

UnitName=93.PLM, Mig21MF

ForceID=2

UnitID=47

StartDate=1985

DescFile=Poland.txt

StartText=RedSwarmStart.txt

 

[PolandUnit005]

UnitName:5.PLM, Mig21MF

ForceID=2

UnitID=13

StartDate=1985

DescFile=Poland.txt

StartText=RedSwarmStart.txt

 

[CzechoslovakiaUnit001]

UnitName=23rd RR, Mig21MF

ForceID=2

UnitID=45

StartDate=1985

DescFile=Czechoslovakia.txt

StartText=RedSwarmStart.txt

 

[CzechoslovakiaUnit002]

UnitName=31st RR, Mig27

ForceID=2

UnitID=40

StartDate=1985

DescFile=Czechoslovakia.txt

StartText=RedSwarmStart.txt

 

[CzechoslovakiaUnit003]

UnitName=151st RR, Su11

ForceID=2

UnitID=4

StartDate=1985

DescFile=Czechoslovakia.txt.txt

StartText=RedSwarmStart.txt

 

[CzechoslovakiaUnit004]

UnitName=94th RR, Su17

ForceID=2

UnitID=24

StartDate=1985

DescFile=Czechoslovakia.txt.txt

StartText=RedSwarmStart.txt

 

-----------------------------------------------------------Campaigndata.ini Forces section:

 

[CampaignData]

StartDate=07/04/1985

StartDateDeviation=0

ForceWithInitiative=2

MaxMissions=30

NormalMissionRate=1

NormalMissionRateDeviation=1

OffensiveMissionRate=2

OffensiveMissionRateDeviation=1

StartScreen=

StartText=

CampaignBaseScreen=

CampaignEndWinScreen=CampaignWin.bmp

CampaignEndLoseScreen=Campaignlose.bmp

CampaignEndStallScreen=Campaignstall.bmp

CampaignEndWinText=RedSwarmStart.txt

CampaignEndLoseText=RedSwarmLose.txt

CampaignEndStallText=RedSwarmLose.txt

 

[Force001]

Alignment=ENEMY

Nation=USAF

BaseArea=Bonn

AirOffensive[001].Primary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[001].Secondary=WAREHOUSE

AirOffensive[002].Primary=COMM_BUILDING,EW_RADAR

AirOffensive[002].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[003].Primary=FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[003].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[004].Primary=COMM_BUILDING,EW_RADAR

AirOffensive[004].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[005].Primary=FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[005].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY,COMM_BUILDING,EW_RADAR

AirOffensive[006].Primary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[006].Secondary=COMM_BUILDING,EW_RADAR,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[007].Primary=BRIDGE

AirOffensive[007].Secondary=COMM_BUILDING,EW_RADAR,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[008].Primary=BRIDGE

AirOffensive[008].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY,COMM_BUILDING,EW_RADAR

AirOffensive[009].Primary=COMM_BUILDING,EW_RADAR

AirOffensive[009].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[010].Primary=LARGE_RUNWAY,MEDIUM_RUNWAY,COMM_BUILDING,EW_RADAR,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE,BRIDGE

AirOffensive[010].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY,COMM_BUILDING,EW_RADAR,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE,BRIDGE

StartGroundOffensive=7

StartInterdiction=0

Morale=80

Supply=40

NormalSupplyRate=30

OffensiveSupplyRate=-8

DefensiveSupplyRate=-2

SupplyForOffensive=70

AircraftReplacementTime=15

AircraftReplacement=30

GroundUnitReplacementTime=15

GroundUnitReplacement=100

RandomTransportType=ANY

WeaponResupplyTime=7

StartAirDefenseLevel=4

 

[Force002]

Alignment=FRIENDLY

Nation=SOVIET

BaseArea=East Berlin

AirOffensive[001].Primary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[001].Secondary=WAREHOUSE

AirOffensive[002].Primary=COMM_BUILDING,EW_RADAR

AirOffensive[002].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[003].Primary=FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[003].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[004].Primary=COMM_BUILDING,EW_RADAR

AirOffensive[004].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[005].Primary=FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[005].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY,COMM_BUILDING,EW_RADAR

AirOffensive[006].Primary=LARGE_RUNWAY,MEDIUM_RUNWAY

AirOffensive[006].Secondary=COMM_BUILDING,EW_RADAR,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[007].Primary=BRIDGE

AirOffensive[007].Secondary=COMM_BUILDING,EW_RADAR,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[008].Primary=BRIDGE

AirOffensive[008].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY,COMM_BUILDING,EW_RADAR

AirOffensive[009].Primary=COMM_BUILDING,EW_RADAR

AirOffensive[009].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE

AirOffensive[010].Primary=LARGE_RUNWAY,MEDIUM_RUNWAY,COMM_BUILDING,EW_RADAR,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE,BRIDGE

AirOffensive[010].Secondary=LARGE_RUNWAY,MEDIUM_RUNWAY,COMM_BUILDING,EW_RADAR,FUEL_STORAGE,AMMO_STORAGE,WAREHOUSE,BRIDGE

StartGroundOffensive=0

StartInterdiction=0

Morale=100

Supply=100

NormalSupplyRate=25

OffensiveSupplyRate=-5

DefensiveSupplyRate=-3

SupplyForOffensive=50

AircraftReplacementTime=30

AircraftReplacement=30

GroundUnitReplacementTime=30

GroundUnitReplacement=100

RandomTransportType=ANY

WeaponResupplyTime=15

StartAirDefenseLevel=4

Share this post


Link to post
Share on other sites

Good idea for a campaign mod , well done :good:

 

Just a suggestion:-

 

Whilst I completely understand your logic in setting the Force "Alignment=" flags in the way you have, they are controlled by the game according to the definitions in the Nations.ini file. Like it or not, the Nations.ini generally sets NATO allied nations as Friendly, and former WP/Soviet allied nations as enemy. So, I suggest you set for Force001 "Alignment=Friendly" and Force002 "Alignment=Enemy" in your campaigndata.ini file and see if that fixes your problem.

 

Take a look at my Burning Sands '44 and Battle of Britain campaign.ini and campaign_data.ini files on how to set up both "enemy" and "friendly" squadrons as flyables in the same campaign.

 

Good luck, and welcome to the community. I look forward to flying the red side in Red Storm Rising when you get it posted.

 

Cheers,

 

Baltika

Share this post


Link to post
Share on other sites

But how does the editing of the nations.ini alter the alignment of the target areas? Or does their alignment not matter at all?

Share this post


Link to post
Share on other sites
But how does the editing of the nations.ini alter the alignment of the target areas? Or does their alignment not matter at all?

 

 

It matter for sure. It either recognized enemy or friendly and it gets its info from the Nations.ini.

Share this post


Link to post
Share on other sites
But how does the editing of the nations.ini alter the alignment of the target areas? Or does their alignment not matter at all?

 

Sorry, I'm getting confused now. We have this thread running in two sections. Maybe a friendly moderator could tidy it up somehow?

 

To answer your question Gocad, I'm not suggesting you change the nations.ini at all, or the terrain files for that matter. You can leave them well alone. I think the problem is that olof's campaign_data.ini has fixed Force002 Alignment as Friendly, but the nation is Soviet.

 

So, the ground AAA units on soviet bases are defined as "ENEMY" by reading the [terrain]_targets.ini file for the particular map. You will see that each target area is defined as "ENEMY" or "FRIENDLY." The important thing is that these definitions MATCH the ones in the nations.ini, or you get a conflict of the kind olof is seeing.

 

olof has defined his Soviet Force (IE the air units themselves) as Friendly in his campaign_data.ini, but the ground based AAA units take their alignment from the terrain file, ie "ENEMY". The result? The AAA units on his own bases read his flight as "FRIENDLY" and shoot at them. The simplest way to fix it is to switch the alignments of his forces, as they are defined in his campaign_data.ini.

 

The definitions "ENEMY" and "FRIENDLY" in-game are not relative, they are absolute. Imagine that "FRIENDLY" = "NATO" and that "ENEMY" = "WP" and you should get a handle on how the terms are read by the campaign engine.

 

olof, have you tried switching the alignments in your campaign_data.ini? Did it work?

Edited by Baltika

Share this post


Link to post
Share on other sites

Just remember,

 

The enemy of my enemy is my friend

 

:wink:

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