Home   Help Search Login Register  

Author Topic: Artillery Module - Help  (Read 7903 times)

0 Members and 1 Guest are viewing this topic.

Offline schaefsky

  • Members
  • *
Re: Artillery Module - Help
« Reply #15 on: 06 Jun 2009, 21:56:45 »
Uploaded a sample mission again, this time it should be correct.
Use radio alpha to request an artillery strike, note that the rounds need some time to reach their target. There also seems to be a minimum engagement range for all artillery.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Artillery Module - Help
« Reply #16 on: 07 Jun 2009, 14:52:32 »
There is a minimum distance. Best way to use artillery is to hook it up with the SOM (Secondary Operations Module) which draws min/max ranging bars on the map when you are requesting fire missions. Even if you want to manage your artillery manually, using this system during testing can give you a better idea of what ranges will work.

You can find out the ranges during a mission using:
Code: [Select]
_min = batteryLogic getVariable "ARTY_MIN_RANGE";
_max = batteryLogic getVariable "ARTY_MAX_RANGE";
Since the artillery module just ignores you if a fire mission is requested outside acceptable ranges, it probably helps to always check that the range you want to use is OK before asking the module to run it for you.
« Last Edit: 07 Jun 2009, 14:54:09 by Spooner »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline mathias_eichinger

  • Missions Depot
  • Administrator
  • *****
  • I'm a llama!
Re: Artillery Module - Help
« Reply #17 on: 29 Jul 2009, 16:05:54 »
Well, but where do you put the code spooner mentioned?

The artillery demo mission from the Biki works perfect for me, yet I cannot do artillery for myself as I have no idea how far or close to put it to the player.

Offline majorjustice

  • Members
  • *
Re: Artillery Module - Help
« Reply #18 on: 07 Jan 2010, 03:00:38 »
yes where do we putthis code? :
Code: [Select]
_min = batteryLogic getVariable "ARTY_MIN_RANGE";
_max = batteryLogic getVariable "ARTY_MAX_RANGE";