Hi,
I've created a version of Hawk Nimitz that allows you to place more than one manned version on a map, access the Crew, Armaments and Sections easily. There is a version for West,East,Res and Civ, you can find them here:
HWK_Manned_Nimitz.zip (35kb)It should work in multiplayer, but I cant say 100%, see below. The addon requires Hawks original Nimitz.pbo found here:
http://members.iinet.net.au/~nrspence/hwk_uss_nimitz_06.rarTo make life easier when accessing each version of the Nimitz in MP, I've added a basic function;
[<Object>,<Variable Name>] Call HWK_PublicVariable
Use it as follows with each Nimitz.
Nothing special going on there, but it does help the following functions in MP missions:
[<Object>] Call HWK_SectionList
Returns an array of the individual objects that make up the Nimitz, Bridge, Front e.t.c
[<Object>,<SectionID>] Call HWK_Section
Returns any one of the objects that make up the Nimitz, Bridge, Front e.t.c SectionID 0 to 4
Example:
[Nimitz01] Call HWK_SectionList
[Nimitz01,5] Call HWK_Section
[<Object>] Call HWK_CrewList
Returns an array of the individual crew members that man the Nimitz.
[<Object>,<CrewID>] Call HWK_CrewMember
Returns any one of the individual crew members that man the Nimitz. CrewID 0 to 7
Example:
[Nimitz01] Call HWK_CrewList
[Nimitz01,2] Call HWK_CrewMember
[<Object>] Call HWK_GunList
Returns an array of the individual AA Guns that arm the Nimitz.
[<Object>,<GunID>] Call HWK_Gun
Returns any one of the individual AA Guns that arm the Nimitz. GunID 0 to 7
Example:
[Nimitz01] Call HWK_GunList
[Nimitz01,3] Call HWK_Gun
To operate any of the four blast plates using scripts:
[<Object>,<PlateID>] Call HWK_RaisePlate
[<Object>,<PlateID>] Call HWK_LowerPlate
Raise or lower the plates depending on which ID you pass. PlateID 1 to 4
Example:
[Nimitz01,3] Call HWK_RaisePlate
Multiplayer testing
I can only test MP by running a dedicated server localy on the same machine I play OFP on. Everything works ok until I try and play as the Nimitz commander. Then two copies are made in the mission. If someone could confim that this does not happen on a proper, remote, dedicated server. I would be grateful.
Cheers