DarkFish |
02-10-09 11:27 AM |
Quote:
Originally Posted by Alex_SoboL
OK. How I can add UZO on this ship myself?
|
You can do this by adding something like this to the ships upc file (Data\Submarine\Subname\Subname.upc):
Quote:
[UnitPart 1.Compartment 1.EquipmentSlot 7]
ID= DeckInstruments
NameDisplayable= Deck Attack Station
Type=NULL
AcceptedTypes= NULL
UserCustomizable=No
IDLinkEquipmentIntervalDefault1= NULL, NULL, TBT
ExternalNodeName3D= O04
ExternalDamageZoneTypeID3D= -1
|
Now for your next question:
Quote:
Originally Posted by Alex_SoboL
Ok! A have one more question, how add this ship in Operation Monsun mod?
|
In UPCData\UPCCampaignData\Flotillas.upc you'll find something like
Quote:
[Flotilla 1.UserPlayerUnitType 1]
ID= F1Porpoise
NameDisplayable= Porpoise class
AvailabilityInterval= NULL, 1944-11-11
IDLinkUserPlayerUnitType= Porpoise
UnitTypeCommonality= 4 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one. If NULL then submarine assigned to training -> desk job or reassignment
|
now if you want to change this submarine class to for example Balao, replace this with:
Quote:
[Flotilla 1.UserPlayerUnitType 1]
ID= F1Porpoise ;I suggest you leave it this way, if you change it you'll have to change hundreds of other entries too.
NameDisplayable= Balao class ;Doesn't have to be changed, the new ship will load successfully if you leave this.
AvailabilityInterval= NULL, 1944-11-11 ;When this ship is available. Change if you only want to enable it for a certain time period.
IDLinkUserPlayerUnitType= Balao ;must be the same as the ships ID in the ships upc file, look for ID=Balao under [UserPlayerUnit 1].
UnitTypeCommonality= 4 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one. If NULL then submarine assigned to training -> desk job or reassignment
|
It works the same for OM and the yamato, only look under UPCData GE for the Flotillas.upc file.
Alternatively you can just wait for TSWSM to come out.;)
|