Home   Help Search Login Register  

Author Topic: GFX707's mortar  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

Crassus

  • Guest
GFX707's mortar
« on: 27 Oct 2003, 07:27:03 »
In trying to script the reloading of this mortar (herein attached), but I've run into a bit of a snag: getting the thing to actually reload!

I know I've the ammo name right, as I use a radio trigger to give me the count of how many rounds are left. But I'm attempting to use another radio trigger

Code: [Select]
mort2  addMagazine "mortar2"

to reload the mortar, to no avail.

If the mortar is like any OFP "vehicle" like, say, a tank, then "addMagazine" should work, right? I know it works for a tank, as I tested it at the same time I tried to reload the mortar, but the latter just aint buyin' it.  ::)

Offline Blanco

  • Former Staff
  • ****
Re:GFX707's mortar
« Reply #1 on: 28 Oct 2003, 01:09:06 »
yup, the Inv1944 mortars have the same @#! bug
Search or search or search before you ask.

HuNtA

  • Guest
Re:GFX707's mortar
« Reply #2 on: 28 Oct 2003, 08:42:47 »
umm, Y not just use the mortar that came in the CoC UA???

U prolly can add ammo to that (not too sure, but Ill find out)
« Last Edit: 28 Oct 2003, 08:43:25 by HuNtA »

Unnamed

  • Guest
Re:GFX707's mortar
« Reply #3 on: 28 Oct 2003, 14:07:28 »
If you park a West ammo truck back to back with GFX's mortar you get the rearm option as soon as you fire. So I guess you can rearm them.

I think the ammo is based on a Grenade launcher, perhaps you have to add those instead?

@Blanco

From memory, the problem with Inv44 is the ammo was not defined in the config.cpp. Although I have not checked the new version yet.

Edit:

The Inv44 81mm mortar works in a slightly different way than GFX's. If you have an east ammo truck parked next to it, it will automatically rearm.
« Last Edit: 28 Oct 2003, 15:04:24 by Unnamed »