Home   Help Search Login Register  

Author Topic: guns at plane  (Read 954 times)

0 Members and 1 Guest are viewing this topic.

Diepvriezer

  • Guest
guns at plane
« on: 29 Jan 2003, 19:29:10 »
I want to place heavy guns at the civilian plane :D...

I know how to do that, but where can I find the list of the weapon names and magazine names off the guns at tanks and choppers etc. ???

_hammy_

  • Guest
Re:guns at plane
« Reply #1 on: 30 Jan 2003, 01:14:41 »
i have never tried to change what weapons a vehicle has...

first, download my Command Reference  ;D (47Kb) http://hammy.netfirms.com/ComRef_191.zip or u can find it in the editors depot ;)

second, start up the commandreference then press ctrl+w)

third, open OFP, create a plane :)

fourth, go into the planes init field, and put: this addmagazine "AMMO_TYPE" (change AMMO_TYPE to the type of ammo you want the plane to shoot)

fifth, preview the plane in OFP


im pretty sure that this wont work, but its worth a try :P
if it doesn't work, you might have to create a addon ;)
« Last Edit: 30 Jan 2003, 01:15:37 by HAMMY »

Diepvriezer

  • Guest
Re:guns at plane
« Reply #2 on: 01 Feb 2003, 11:08:07 »
I still don`t know how to do it :(

Fox2

  • Guest
Re:guns at plane
« Reply #3 on: 03 Feb 2003, 02:59:43 »
I love this part of editing. This was the first thing I messed around with when I learned the in-game editor. Try this...

Add a civilian plane to the map, then in its init field put this...

this addmagazine "Browning"; this addweapon "Browning"

Your Cessna will now shoot .50 cals from its nose. :D

Unfortunately, you can't really decide where it fires from, but everything works. The Mavericks on the A-10, the TOWs from the Cobra. Everything. Except infantry weapons.

You can actually do a lot with these simple commands. You can give a simple foot soldier FFARs or TOWs as weapons (although it looks somewhat strange, as they use the standard shoulder fired animation, but there's no model). You can even add a Browning 50 cal to a footsoldier (but it shoots from his chest) The only thing you can't add weapons to, for some reason, is cars.

Anyway, hope that helped a bit.

Diepvriezer

  • Guest
Re:guns at plane
« Reply #4 on: 04 Feb 2003, 15:57:48 »
Ok, thanks, but do you have a list with tanks and planes weapons?
I already have one with soldiers weapons :D

Fox2

  • Guest
Re:guns at plane
« Reply #5 on: 06 Feb 2003, 03:20:52 »
Try the Unofficial Command reference. Someone around here must have the old link. :\