Home   Help Search Login Register  

Author Topic: UA AMMO CRATES  (Read 2302 times)

0 Members and 2 Guests are viewing this topic.

augieranger

  • Guest
UA AMMO CRATES
« on: 06 Nov 2003, 16:04:36 »
Anyone know the configs for the ammo used by the COC? I have tried various methods and cannot get it right. It would be great to have a ammo truck resupplying the various units. Any ideas or help? :'(

augieranger

  • Guest
Re:UA AMMO CRATES
« Reply #1 on: 07 Nov 2003, 16:38:19 »
Okay maybe I was'nt clear on what I am asking. I am trying to either have a ammo truck or air resupply take place but I can'nt find the ammo for the unified artillery, any help? You gurus should be able to come up with something, I know it in my heart, your all great at what you do. ;D

KyleSarnik

  • Guest
Re:UA AMMO CRATES
« Reply #2 on: 08 Nov 2003, 06:56:07 »
Code: [Select]
I am trying to either have a ammo truck or air resupply take place
Why do you need that? Just addmagazine ammo to it, and for the classnames, ask CoC.... And you didnt even specify what ammo your looking for... M109, MRLS, etc....?

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:UA AMMO CRATES
« Reply #3 on: 10 Nov 2003, 09:04:52 »
Or, if you prefer an actual answer:

Code: [Select]
Unit                    Weapons                 Magazine names and standard loadout
===================================================================================
CoC_M270MLRS            CoC_MLRSLauncher        CoC_MLRSLauncher
CoC_M109PALADIN         CoC_Howi155,CoC_MG50    CoC_Howi155,CoC_MG50,CoC_MG50,CoC_MG50
CoC_M252MORTAR          CoC_M252Mortar          CoC_Mortar81HE
CoC_M101Howitzer        CoC_Howi105             CoC_Howi105

Although rearming using an nearby ammo truck works fine, too.

« Last Edit: 11 Nov 2003, 06:09:04 by Killswitch »

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re:UA AMMO CRATES
« Reply #4 on: 10 Nov 2003, 17:38:52 »
looks right.
Damn, didn't specify HE at the end of the 155 and 105 round mag. names.
ammo truck should work.
GIve us a shout on the CoC forums if you've got any other questions.
Dinger/Cfit

KyleSarnik

  • Guest
Re:UA AMMO CRATES
« Reply #5 on: 10 Nov 2003, 20:38:53 »
Im not sure if AI will use the ammo truck though.... so your better off using addmagazine

augieranger

  • Guest
Re:UA AMMO CRATES
« Reply #6 on: 11 Nov 2003, 06:44:55 »
Kylesark ??? I did mention various units, :-X Any way I unpbo, big let down. Thanks killswitch, found the mags, still cannot get ai to rearm,any sugs?

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re:UA AMMO CRATES
« Reply #7 on: 11 Nov 2003, 18:07:24 »
Yup, that's a bug (or rather a feature I never inistalled).  The unit gets rearmed, but the posture is not updated.  Some workarounds:

A) if the asset is mobile(m109 or M270), order it to move to its current location.  If it's the M101, the move command will send it into the non-working "limber" mode for 10 seconds, and have the same effect:
[unit, unit] call CoCfIFMove

This will force the asset to recalculate its ammo and posture.

B) If the asset is a mortar (M252), force a bias error reset:
CoCM252BET = CoCM252BET + .0001
This will cause all M252s on the map to calculate a new bias error (the direction in which all shells fired by that unit drift), and recalculate their ammo.


I'll fix this in the next patch.

Dinger
Dinger/Cfit

augieranger

  • Guest
Re:UA AMMO CRATES
« Reply #8 on: 12 Nov 2003, 00:03:30 »
thanx dinger ill try it out , let you know the results shortly.

augieranger

  • Guest
Re:UA AMMO CRATES
« Reply #9 on: 12 Nov 2003, 01:51:51 »
okay now im getting " no entry 'config.bin/cfgweapons.COC_Howi155,20". wut the hell does that mean? >:( okay guru dinger, know you can help. ;D

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:UA AMMO CRATES
« Reply #10 on: 12 Nov 2003, 09:00:49 »
My guess, you're probably doing a
Code: [Select]
unit addMagazineCargo ["CoC_Howi155,20"]
instead of
Code: [Select]
unit addMagazineCargo ["CoC_Howi155", 20]
See the difference? The quotation mark is misplaced in the first one.

NB: "unit" here would be a ammo crate or something else carrying ammo, not the M109 itself. For that, check the addMagazine command.
« Last Edit: 17 Nov 2003, 20:56:59 by Killswitch »

augieranger

  • Guest
Re:UA AMMO CRATES
« Reply #11 on: 12 Nov 2003, 16:13:01 »
okay, that worked killswitch,thanx.now the problem is that the 109s will refuel, but simply willnot rearm. dinger any ideas? im stumped ???

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re:UA AMMO CRATES
« Reply #12 on: 12 Nov 2003, 23:04:40 »
unit addmagazine "CoC_Howi155"

not addmagazinecargo
Dinger/Cfit

augieranger

  • Guest
Re:UA AMMO CRATES
« Reply #13 on: 13 Nov 2003, 04:01:12 »
thanx dinger, still cannot do it,  tried ammo truck, ammo boxes, storage building(editor). Anyone feel like toying around with it?

KyleSarnik

  • Guest
Re:UA AMMO CRATES
« Reply #14 on: 17 Nov 2003, 01:03:28 »
Quote
unit addmagazine "CoC_Howi155"

unit is the artilery unit being resupplied, you don't need an ammo truck...