View Single Post
Old 10-22-08, 11:54 PM   #4
LukeFF
Silent Hunter
 
Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
Default

Adding pre-rendered damage isn't possible. To "install" a radar set or other piece of equipment, navigate (near the bottom of the page) to the UpgradePackSlot section of the file. For instance:

Quote:
[UserPlayerUnit 1.UpgradePackSlot 1]
ID= UpgSurfaceSearchRadar
NameDisplayable= Surface Search Radar
Type=NULL
AcceptedTypes=BalaoSurfaceRadars
UserCustomizable=Yes
IDLinkUpgradePackSlots= EqSlot42, EqSlot43, SurfRadarAntenna
IDLinkUpgradePackSlotsIntervalDefault1= NULL, 1943-12-31, UpackBalaoSJRadar
IDLinkUpgradePackSlotsIntervalDefault2= 1944-01-01, NULL, UpackBalaoSJ1Radar
This tells the game the Balao class will have SJ radar installed by default from an "infinite" point of time to December 12, 1943. From 1 January 1944 onwards it will have SJ-1 radar installed by default. To see what upgrade packs are available, navigate to the /UPCData/UPCUnitsData folder, and look for UpgradePacks.upc.

Crew rosters are farther up the page. For instance:

Quote:
[UserPlayerUnit 1.Compartment 4.CrewMemberSlot 1]
ID=CrewMemberSlot_AttackW1L
NameDisplayable= Radio Room Crew
Type= Leader
WatchIndex= 1
IDLinkCrewMember= CPO-Sensors
WatchCrewMemberSlot3D= SON
BattleStationsCrewMemberSlot3D= SON
WatchAccessoriesForAdding3DObjects= headphones#Head
WatchAccessoriesForSubtracting3DObjects= sapca
BattleAccessoriesForAdding3DObjects= headphones#Head
BattleAccessoriesForSubtracting3DObjects= sapca
This tells the game the leader of the first watch in the Balao conning tower will be a CPO with the Sensors qualification. The IDLinkCrewMember line is drawn from the CrewMembers.upc file in the UPCData folder. The game is told to add headphones to the crew model when at this station, during both normal operating conditions and general quarters. Likewise, the game is told to never render a cap on any crewman moved to this slot (the sapca reference).

All of the crew slots are controlled by the UPC files in /Data/Submarine, except for the bridge watch and AA guns. Those positions are controlled in similiar files in /Data/UPCData/UPCUnitsData.

Hopefully this gets you headed in the right direction.
__________________


ROW Sound Effects Contributor
RFB Team Leader
LukeFF is offline   Reply With Quote