Home   Help Search Login Register  

Author Topic: Mortor, Aiming, Accuracy script  (Read 521 times)

0 Members and 1 Guest are viewing this topic.

mrmax

  • Guest
Mortor, Aiming, Accuracy script
« on: 22 Oct 2004, 21:38:12 »
HI, I would appreciate either examples or where to look on the following:
(Idea, I want to use AI soldier, as a mortor using the MM1)
I need scripts to :
Designate targets via Players action menu
Accuracy script to range and shoot MM1 with some error built in.

I have searched using MM1, Mortor, will now be checking artillery scripts..

thanks.....

Dubieman

  • Guest
Re:Mortor, Aiming, Accuracy script
« Reply #1 on: 23 Oct 2004, 01:46:40 »
Get COC Arty or get one of many mortars made at other sites. :)

I see no reason to try and use a MM1 as one, its just more work to do it. :(

mrmax

  • Guest
Re:Mortor, Aiming, Accuracy script
« Reply #2 on: 23 Oct 2004, 06:59:06 »
I see no reason to try and use a MM1 as one, its just more work to do it. :(

I'm not trying to simulate artillery.  I want to be able to lay down a small barrage at short ranges from 100 - 300 yds, similiar to 60mm mortar.  60mm were carried both in marine and army platoons in WWII, even though scrapped in Vietnam many marine platoons scrounged for them and put them in service.  

Actually an AI soldier will fire the MM1 at targets that a player designates using the standard target select in the players menu.  But several problems:
1. AI soldier is unreliable, doen't fire quickly enough,  (need for him to fire on command)
2. AI soldier always wants to get up and move toward target and then fire, AI is often killed when he exposes himself.
3. AI only fires single round, I would like to have 3, 6, 12 round barrages.

In addition the damage inflicted compared to artillary is more fair in this game..

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Mortor, Aiming, Accuracy script
« Reply #3 on: 23 Oct 2004, 11:29:03 »
This is gonna be hard.    

The easier half will be making the loon fire.   Experiment with fire, doTarget and doFire commands (on named enemies) to see if you can make him fire.

The hard part will be target identification.   You'll need an array of all the enemy units in the area (use a trigger, say 300x300 and a wee looping script to keep it attached to the player), a knowsAbout command and ... well I'm not sure what else.
Plenty of reviewed ArmA missions for you to play

mrmax

  • Guest
Re:Mortor, Aiming, Accuracy script
« Reply #4 on: 23 Oct 2004, 20:04:42 »
This is gonna be hard.    

What is the string or call that is generated when a Player targets a enemy soldier or vehicle, for his AI in group :
1st when player uses mouse to target
2nd when player uses "target" in Player's menu


Any help is appreciated?