View Single Post
Old 09-01-08, 01:22 PM   #13
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default

Quote:
Originally Posted by meduza
I'm curious, how does the game know that a newly added ship belongs to a certain type? Is it written in the .cfg files in the Roster folder, under UnitType (101 = tankers, 102 = cargo, etc.)?
Yep

Sea folder cfg

[Unit]
ClassName=T09A
UnitType=101 < Tanker
MaxSpeed=11

Roster folder cfg

[UnitClass]
ClassName=T09A
UnitType=101 < Tanker
AppearanceDate=19380101

English Cfg file in the main Roster folder

;Merchant ships
Type100=Replenishment
Type101=Tanker
Type102=Cargo
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote