Jump to content

Recommended Posts

Posted

Attached is my gun range script and a sample mission. It uses Mist so its included as well

 

My script assigns targets to a zone. If you hit the target while your AC is in the zone it will score hits. If you hit the target while not in the zone..the hit will not count. This allows you to use a foul line or ensure that the AC is attacking from the proper direction,alt,etc.

The zones are a polygon defined by a ground unit's waypoints.

you can assign any number of targets to any number of zones. Targets do not have to be in a zone the shooter does (example would be a foul line)

 

You also need to assign the units that can hit the targets as well

 

There is also a radio menu to check and reset your stats. Right now only the player will see their own stats but I could tweak the messages regarding pass/fail to be configurable as global/private if desired

 

There are no complicated triggers to set up ...all that is needed are two ONCE triggers...1 to load mist (mist be first) and 1 to load the range script

 

All the common configuration options in the script are documented in the script itself

gun range.zip

  • Like 1
Posted (edited)

Thanks for this...It seems however that the script is not working in MP, I tested it fine in SP. Any Ideas?

Edited by Midnight

Midnite Signature.jpg

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...