Home   Help Search Login Register  

Author Topic: Hawks Nimitz (Manned)  (Read 1410 times)

0 Members and 1 Guest are viewing this topic.

UNN

  • Guest
Hawks Nimitz (Manned)
« on: 02 Jun 2005, 14:08:59 »
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.rar

To make life easier when accessing each version of the Nimitz in MP, I've added a basic function;

Code: [Select]
[<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:

Code: [Select]
[<Object>] Call HWK_SectionList
Returns an array of the individual objects that make up the Nimitz, Bridge, Front e.t.c

Code: [Select]
[<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:

Code: [Select]
[Nimitz01] Call HWK_SectionList
[Nimitz01,5] Call HWK_Section


Code: [Select]
[<Object>] Call HWK_CrewList
Returns an array of the individual crew members that man the Nimitz.

Code: [Select]
[<Object>,<CrewID>] Call HWK_CrewMember
Returns any one of the individual crew members that man the Nimitz. CrewID 0 to 7

Example:

Code: [Select]
[Nimitz01] Call HWK_CrewList
[Nimitz01,2] Call HWK_CrewMember


Code: [Select]
[<Object>] Call HWK_GunList
Returns an array of the individual AA Guns that arm the Nimitz.

Code: [Select]
[<Object>,<GunID>] Call HWK_Gun
Returns any one of the individual AA Guns that arm the Nimitz. GunID 0 to 7

Example:

Code: [Select]
[Nimitz01] Call HWK_GunList
[Nimitz01,3] Call HWK_Gun


To operate any of the four blast plates using scripts:

Code: [Select]
[<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:

Code: [Select]
[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


Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:Hawks Nimitz (Manned)
« Reply #1 on: 04 Jun 2005, 05:56:21 »
what exactly does this do? I would like to test but i cant play MP.

UNN

  • Guest
Re:Hawks Nimitz (Manned)
« Reply #2 on: 04 Jun 2005, 09:06:21 »
Quote
what exactly does this do? I would like to test but i cant play MP.

Yeah I should have explained the reasons for creating it.

It was for someone else who might have to have more than one version of the Nimitz (with crew) in a MP mission. The original addon would not allow this. So now you can have as many as you want. But this was just a small part of what I plan to add to the Nimitz, I rushed it out for the MP mission I mentioned.

It's also my first steps into multiplayer versions of my script ideas, so it's a test bed for future addons to. If it works ok I can now add more features in the future, aircraft lifts, working crews, AI launch scripts for my ATC system e.t.c

The testing is really in MP, Hawks original scripts work fine, as long as you had a hardcoded group called Nimitz.

But for an impressive light show, set an East and West version within range of each other :)

Cheers