Thread: LiteCampaign?
View Single Post
Old 04-03-11, 09:50 AM   #5
eco-13
Swabbie
 
Join Date: Mar 2010
Location: germany
Posts: 5
Downloads: 104
Uploads: 0
Default

Hello CaptainMattJ,

you can edit the campaign objectives relativ easily to your own settings.

Take a look in the LiteCampaign Mod.


You can edit the "campaign.cfg" to reduce or raise the objectives.

Here two examples for you:

"LiteCampaign\data\Campaigns\CampaignProjects\Tota l_Germany\Campaign.cfg"

a. edit sinking Tonnage

[Campaign.CampObj.MacroObj 3]
ObjectiveID=TG_British_Supplies
Name=Campaign.CampObj.MacroObj 3.Name
MapZone=BritishSupplies
ValuePointsProvided=3
FurtherInfo=Campaign.CampObj.MacroObj 3.FurtherInfo
StartDate=19390901
EndDate=19400601
IsCompleted=false
IsFailed=false
AssocMissionsActive=
AssocMissionsCompleted=
ObjActivationAchievements=OBJ Invasion Of Poland

[Campaign.CampObj.MacroObj 3.PersObj 1]
PersObjType=0
Name=Sink_50,000_tons_of_cargo_in_South_Western_Approaches ----2. here correct the objectives as in "1."
Description=Campaign.CampObj.MacroObj 3.PersObj 1.Description ----this info is needed for "Campaign.tsr"
RelatedMapLocations=Area_Southwestern
IsCompleted=false

[Campaign.CampObj.MacroObj 3.PersObj 1.Amount]
IsTonnage=true
Tonnage=50000 ---- 1. here u can edit your objectives, reduce or raise the Tonnage...example 1001 or 1000000
NumOfShips=0



b. edit sinking numbers of ships

[Campaign.CampObj.MacroObj 4]
ObjectiveID=TG_Blockade_of_Germany
Name=Campaign.CampObj.MacroObj 4.Name
MapZone=NorthPatrol
ValuePointsProvided=2
FurtherInfo=Campaign.CampObj.MacroObj 4.FurtherInfo
StartDate=19391018
EndDate=19400301
IsCompleted=false
IsFailed=false
GenAchiev=OBJ Carriers removed
AssocMissionsActive=
AssocMissionsCompleted=
ObjActivationAchievements=OBJ Invasion Of Poland

[Campaign.CampObj.MacroObj 4.PersObj 1]
PersObjType=0
Name=Sink_3_Armoured_merchants_along_the_Northern_Patrol_line ----2. here correct the objectives as in "1."
Description=Campaign.CampObj.MacroObj 4.PersObj 1.Description ----this info is needed for "Campaign.tsr"
RelatedMapLocations=Carrier_Patrol,Line_BNP
IsCompleted=false

[Campaign.CampObj.MacroObj 4.PersObj 1.Amount]
IsTonnage=false
Tonnage=0
NumOfShips=3 ---- 1. here u can edit your objectives, reduce or raise the number of ships...example 1 or 99

[Campaign.CampObj.MacroObj 4.PersObj 1.CrtAmount]
IsTonnage=false
Tonnage=0
NumOfShips=0

[Campaign.CampObj.MacroObj 4.PersObj 1.TargetType 1]
Type=2
TargetType=1

[Campaign.CampObj.MacroObj 4.PersObj 1.TargetType 2]
Type=1
TargetType=1

[Campaign.CampObj.MacroObj 4.PersObj 1.TargetType 3]
Type=13
TargetType=1

[Campaign.CampObj.MacroObj 4.PersObj 1.TargetIdentif 1]
TargetIdType=4
FromNode=Scapa Flow

[Campaign.CampObj.MacroObj 4.PersObj 1.TargetIdentif 2]
TargetIdType=4
FromNode=Loch Ewe

[Campaign.CampObj.MacroObj 4.PersObj 1.TargetIdentif 3]
TargetIdType=2
MapZone=Scapa_Flow_AMC

[Campaign.CampObj.MacroObj 4.PersObj 1.TargetIdentif 4]
TargetIdType=2
MapZone=Loch_Ewe_AMC

[Campaign.CampObj.MacroObj 4.PersObj 2] ----3. this is an second objectives of this mission
PersObjType=0
Name=Sink_1_aircraft_carrier_patrolling_around_the_British_Is le ----2. here correct the objectives as in "1."
Description=Campaign.CampObj.MacroObj 4.PersObj 2.Description ----this info is needed for "Campaign.tsr"
RelatedMapLocations=Carrier_Patrol,Line_BNP
IsCompleted=false

[Campaign.CampObj.MacroObj 4.PersObj 2.Amount]
IsTonnage=false
Tonnage=0
NumOfShips=1 ---- 1. here u can edit your objectives, reduce or raise the number of ships...example 1 or 99

[Campaign.CampObj.MacroObj 4.PersObj 2.CrtAmount]
IsTonnage=false
Tonnage=0
NumOfShips=0

[Campaign.CampObj.MacroObj 4.PersObj 2.TargetType 1]
Type=8
TargetType=1

[Campaign.CampObj.MacroObj 4.PersObj 2.TargetType 2]
Type=9
TargetType=1

[Campaign.CampObj.MacroObj 4.PersObj 2.TargetType 3]
Type=18
TargetType=1

[Campaign.CampObj.MacroObj 4.PersObj 2.TargetType 4]
Type=19
TargetType=1

[Campaign.CampObj.MacroObj 4.PersObj 2.TargetIdentif 1]
TargetIdType=4
FromNode=Plymouth




As next you can edit the "Campaign.tsr", this file define the text for the Map in Game.
Edit your own values for Tonnage or sinking Ships in the right lines, so you have the correct Message in Game-Map.

"LiteCampaign\data\Campaigns\CampaignProjects\Tota l_Germany\Campaign.tsr"

Look and merge for the entries and edit this values with your changes you make in "Campaign.cfg".

"Campaign.CampObj.MacroObj" ...with the nummber (1,2,3,...)...and the text.



That is what is to do. But you have to look:

- Best way is to edit the "Campaign.cfg" and "Campaign.tsr" before you start the Campaign

- It is also within the Campaign missions may have two objectives, which makes it a bit complicated, you see these entries in such

[Campaign.CampObj.MacroObj 4.PersObj 1]

[Campaign.CampObj.MacroObj 4.PersObj 2]

look at 3.

- Backup all your original files

- Never edit files directly in SH5\data, use JSGME


At first it looks a bit complicated, but relatively simple to edit.

I also reduced my goals, also found it a bit strange on the Atlantic ships to search for a specific need.

I am a U-Pirat .... lol.

Hope i can help you with this, this is a great forum, helps me a lot, now i can give a little bit back.
eco-13 is offline   Reply With Quote