View Single Post
Old 01-23-15, 08:31 PM   #2
kevinsue
Der Einzelgänger
 
kevinsue's Avatar
 
Join Date: Apr 2013
Location: Cairns, Australia
Posts: 583
Downloads: 363
Uploads: 3
Hello All,

I am currently doing the "Happy Times" campaign, SW Approaches in OHII v2.5 and my tonnage bar is working.

I'm only new at this so I'm not 100% sure if this could be where the anomalies with the tonnage bar are originating from but I have noticed a few things with the campaign files.

Here is the original campaign.cfg from the bunker save pertaining to my current mission:

Quote:
[Campaign.CampObj.MacroObj 2.PersObj 1]
PersObjType=0
Name=Sink_100.000_tons_inside_the_British_coastal_ waters
Description=Campaign.CampObj.MacroObj 2.PersObj 1.Description
RelatedMapLocations=Line_BCW
IsCompleted=false

[Campaign.CampObj.MacroObj 2.PersObj 1.Amount]
IsTonnage=true
Tonnage=100000
NumOfShips=10000

[Campaign.CampObj.MacroObj 2.PersObj 1.CrtAmount]
IsTonnage=false
Tonnage=0
NumOfShips=0
As you can see, the [Campaign.CampObj.MacroObj 2.PersObj 1.Amount] requires you to sink 100000 tons and 10000 ships!

The next section, [Campaign.CampObj.MacroObj 2.PersObj 1.CrtAmount] which is where your actual tally of tonnage and ships sunk is recorded, the "IsTonnage" is marked as "false", so therefore to complete this mission, all you need to do is sink 10000 ships!!!

Not sure how good your eyesight would have to be to see individual ships added when after you've sunk your 1000th ship, it will fill 10% of your score bar!!

I have corrected the above part of the campaign.cfg to as below and my tonnage/tally bar is filling quite nicely.

Quote:
[Campaign.CampObj.MacroObj 2.PersObj 1.Amount]
IsTonnage=true
Tonnage=100000
NumOfShips=0

[Campaign.CampObj.MacroObj 2.PersObj 1.CrtAmount]
IsTonnage=true
Tonnage=0
NumOfShips=0
Also within this campaign, another mission specifies that to complete the mission, you need to sink 5 Oil tankers. I have not yet tried this mission to see if only tankers register on the tonnage bar and not merchants.

Quote:
[Campaign.CampObj.MacroObj 3]
ObjectiveID=HT_Strategic_Supplies
Name=Campaign.CampObj.MacroObj 3.Name
MapZone=Strategic_Supplies
ValuePointsProvided=2
FurtherInfo=Campaign.CampObj.MacroObj 3.FurtherInfo
StartDate=19400601
EndDate=19410301
IsCompleted=false
IsFailed=false
IsUnlocked=false
AssocMissionsActive=
AssocMissionsCompleted=
ObjActivationAchievements=OBJ War Supplies

[Campaign.CampObj.MacroObj 3.PersObj 1]
PersObjType=0
Name=Sink_5_oil_tankers
Description=Campaign.CampObj.MacroObj 3.PersObj 1.Description
RelatedMapLocations=Area_SS,Line_Great_Circle
IsCompleted=false

[Campaign.CampObj.MacroObj 3.PersObj 1.Amount]
IsTonnage=false
Tonnage=0
NumOfShips=5
The mission below should work "out of the box" because there are no contradictions or specific targets ( not sure about tankers) in the objectives....

Quote:
[Campaign.CampObj.MacroObj 3.PersObj 2]
PersObjType=0
Name=Sink_10_cargo_supply_ships
Description=Campaign.CampObj.MacroObj 3.PersObj 2.Description
RelatedMapLocations=Area_SS,Line_Great_Circle
IsCompleted=false

[Campaign.CampObj.MacroObj 3.PersObj 2.Amount]
IsTonnage=false
Tonnage=0
NumOfShips=10

[Campaign.CampObj.MacroObj 3.PersObj 2.CrtAmount]
IsTonnage=false
Tonnage=0
NumOfShips=0
It would be interesting to see if these campaign anomalies are also present in the stock version.

I cannot imagine that this would not be contributing towards the tonnage bar problems that people are experiencing.

As I said at the start, my knowledge of the intricacies of SH5 is extremely limited to say the least, so maybe one the the Silent Hunter "Guru's" can have a look at this and see if it's moving in the right direction.

Regards...Kev*
kevinsue is offline   Reply With Quote