OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: logan on 07 Jul 2003, 21:40:21

Title: Armor crew in .cpp
Post by: logan on 07 Jul 2003, 21:40:21
Hello folks :)

Does someone know if there's a way to put three different crew member (   driver_something , gunner_someone , commander_somekind...) in the same tank from the config.cpp ?
If yes , how? ???

Best regards :)
Title: Re:Armor crew in .cpp
Post by: Rubble_Maker on 07 Jul 2003, 23:19:37
I think this requires the ProxyCrew class but never played with this. Maybe it helps to take a look at BIS's commented config.cpp's
Title: Re:Armor crew in .cpp
Post by: logan on 08 Jul 2003, 00:24:31
Thanks :)
I will try!
It's my intention to utilize the panzer crew from I44 for my own panzer units( only for private utilize , of course)
Title: Re:Armor crew in .cpp
Post by: logan on 08 Jul 2003, 23:40:02
hemm...i dont know the sintax!!! :'(
Title: Re:Armor crew in .cpp
Post by: Rubble_Maker on 11 Jul 2003, 19:33:56
Get the commented config; its all in there.
Title: Re:Armor crew in .cpp
Post by: MJHergenroder on 07 Aug 2003, 21:20:39
you could try an init EvenHandler that does this thru scripting, but it wouldn't work if one of them was a player
Title: Re:Armor crew in .cpp
Post by: swift88 on 07 Aug 2003, 23:52:06
in O2 where it says create..... then proxy......... a menu will pop up itll ask you what you wanna call it.........so call it something like
Quote
proxy:m113gunner.01
press ok and a triangle shape will appear......and anything is sorted hehhe......ps theres all different types of proxies but i only know a few
Quote
proxy:jeepdriver.01
proxy:jeepcodriverback.03  (the number being how many there are for the jeep its 3 ppl in cargo)
proxy:t72commanderout.01
proxy:t72driverout.01
proxy:T72gunnerout.01
proxy:cargo.03
proxy:5tdriver.01
[img removed]proxy.jpg[/img]
(you get my drift)
Title: Re:Armor crew in .cpp
Post by: swift88 on 11 Aug 2003, 10:22:46
theres loads
Quote
   m113gunner="M113Gunner";
   m113driver="M113Driver";
   m113driverOut="M113DriverOut";
   m113medic="M113Medic";
   m113injured="Nemocnej";
   m60driver="M60Driver";
   m60gunner="M60Gunner";
   m60commander="M60Commander";
   m60driverOut="M60DriverOut";
   m60commanderOut="M60CommanderOut";
   m1A1driver="M1A1Driver";
   m1A1gunner="M1A1Gunner";
   m1A1commander="M1A1Commander";
   m1A1driverOut="M1A1DriverOut";
   m1A1commanderOut="M1A1CommanderOut";
   bmpdriver="BMPDriver";
   bmpgunner="BMPGunner";
   bmpgunnerOut="BMPGunnerOut";
   bmpcommander="BMPCommander";
   bmpdriverOut="BMPDriverOut";
   bmpcommanderOut="BMPCommanderOut";
   t72driver="T72Driver";
   t72gunner="T72Gunner";
   t72gunnerOut="T72GunnerOut";
   t72commander="T72Commander";
   t72driverOut="T72DriverOut";
   t72commanderOut="T72CommanderOut";
   t80driver="T72Driver";
   t80gunner="T72Gunner";
   t80gunnerOut="T80GunnerOut";
   t80commander="T72Commander";
   t80driverOut="T72DriverOut";
   t80commanderOut="T80CommanderOut";
   t55driver="T72Driver";
   t55gunner="T55Gunner";
   t55gunnerOut="T55Gunner";
   t55commander="T55Commander";
   t55driverOut="T55DriverOut";
   t55commanderOut="T55CommanderOut";
   uh60pilot="UH60Pilot";
   uh60gunner="UH60Gunner";
   ah1pilot="AH1Pilot";
   ah1gunner="AH1Gunner";
   a10pilot="A10Pilot";
   cessnaPilot="cesnaPilot";
   cessnaCoPilot="cesnaPilot";
   cessnaCargo="cesnaCargo";
   mi17pilot="Mi17Pilot";
   mi24pilot="Mi24Pilot";
   mi24gunner="Mi24Gunner";
   jeepDriver="JeepDriver";
   jeepGunner="JeepGunner";
   jeepCoDriver="JeepCoDriver";
   jeepCoDriverBack="JeepCoDriverBack";
   truck5TDriver="5TDriver";
   truck5TCoDriver="5TCoDriver";
   uralDriver="uralDriver";
   uralCoDriver="uralCoDriver";
   skodaDriver="skodaDriver";
   skodaCoDriver="skodaCoDriver";
   skodaCoDriverBack="skodaCoDriverBack";
   pbrDriver="pbrDriver";
   pbrGunner="pbrGunner";
   hrlDriver="pbrDriver";
   hrlGunner="hrlGunner";
   m2gunner="m2Gunner";
   ScudDriver="ScudDriver";
   ScudCoDriver="ScudCoDriver";
   v3sDriver="v3sDriver";
   v3sCoDriver="v3sCoDriver";
   cargo="Cargo";
   UAZDriver="UAZDriver";
   UAZCoDriver="UAZCoDriver";
   ZSUDriver="ZSUDriver";
   ZSUGunner="ZSUGunner";
   ZSUGunnerOut="ZSUGunnerOut";
   ZSUCommander="ZSUCommander";
   ZSUCommanderOut="ZSUCommanderOut";
   tractorDriver="TractorDriver";
   shipCargo="Cargo";
   shipDriver="Cargo";
   para="Para";