View Single Post
Old 09-08-11, 10:07 AM   #33
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Kentas View Post
Hi TDW,

How should I fix campaign errors ?

D:\Games\Ubisoft\SilentHunterIII\data\Campaigns\Ca mpaign\Campaign_RND.mis:
Type 0 not defined in \data\Roster\Venezuela
Type 0 not defined in \data\Roster\Venezuela
Type 0 not defined in \data\Roster\Venezuela
I'll use an American entry as an example. Type 0 defines the class of unit that the campaign is looking for. Type 0 just happens to be Type0=Patrol Craft from \data\Roster\English.cfg. Knowing this it's pretty obvious that the intended unit is the PT Elco boat. This Type x is used as a generic class by the game engine. Many units can be Type x and this is how you get ship variety. IIRC the only Type 0 defined in stock SHIII is the PT Elco boat.
Now knowing this we can either create a new roster entry or copy an existing one and modify it. We'll do the latter.
Copy the \data\Roster\American\Sea\PTElco.cfg file to \data\Roster\Venezuela\Sea. That will fix the error. Now you can 'customize' this new roster entry by opening up the new PTElco.cfg file and editing the items below in yellow:

[UnitClass]
ClassName=PTElco
UnitType=0
AppearanceDate=19380101
DisappearanceDate=19460101
DisplayName=US PT Boat
TheDarkWraith is offline   Reply With Quote