View Single Post
Old 06-22-11, 07:13 AM   #1556
mefaba
Seaman
 
Join Date: Apr 2009
Location: Kayseri/Turkey
Posts: 34
Downloads: 148
Uploads: 0
Default

Quote:
Originally Posted by h.sie View Post
Are you sure all "NavalBase" units are surface U-Tankers? I don't know
In campaign_scr, the following units are indicated as "navalbase":

Python, Belchen Supply Ship, U-459, Corrientes, Thalia, Bessel, Max Albrect, U-461, U-488, U-460, U-463, Chralotte Schliemann.

No other unit in that file is indicated as "navalbase". AFAIK, all of these are historic German supply ships and u-tankers.

All of them have 2 entries.

One of them is like that:

Code:
[Unit 225]
Name=Python
Class=NavalBase
Type=407
Origin=German
Side=2
Commander=0
CargoExt=-1
CargoInt=-1
CfgDate=19380101
DeleteOnLastWaypoint=false
DockedShip=false
GameEntryDate=19410501
GameEntryTime=1200
GameExitDate=19411201
GameExitTime=1200
EvolveFromEntryDate=false
Long=-439616.000000
Lat=-3395210.000000
Height=-200.000000
Heading=278.944000
Speed=0.000000
CrewRating=3
DelayMin=0
ReportPosMin=0
ReportPosProbability=0
SecondsUntilReport=-60.000000
RandStartRadius=0.000000
NextWP=0

[Unit 225.Waypoint 1]
Speed=0.000000
Radius=0.000000
Loop=-1
LoopProbability=100
Long=-441141.000000
Lat=-3394970.000000
Height=-200.000000
The other one is like that:

Code:
[Unit 226]
Name=Python
Class=KGN
Type=102
Origin=German
Side=2
Commander=0
CargoExt=0
CargoInt=2
CfgDate=19380101
DeleteOnLastWaypoint=false
DockedShip=false
GameEntryDate=19410501
GameEntryTime=1200
GameExitDate=19411201
GameExitTime=1200
EvolveFromEntryDate=true
Long=-439535.000000
Lat=-3394787.000000
Height=0.000000
Heading=279.246094
Speed=0.000000
CrewRating=3
DelayMin=0
ReportPosMin=0
ReportPosProbability=0
SecondsUntilReport=-60.000000
RandStartRadius=0.000000
NextWP=0

[Unit 226.Waypoint 1]
Speed=0.000000
Radius=0.000000
Loop=-1
LoopProbability=100
Long=-441083.000000
Lat=-3394535.000000
Height=0.000000
I only edited the entries that say "navalbase" as unit class. I did not touch the other unit name.

I haven't docked any of those ships yet. And I did this according to your suggestion for changing the supply ship name by adding a "u-" in front of its name, so that your pseudo dock feature will work in those surface supply ships just like u-tankers.

I don't know if it will work. Right now I am at work and I can't try it but I will check when I am back home.
mefaba is offline   Reply With Quote