Jump to content
Sign in to follow this  
wildbill2016

commandArtilleyFire script does not work after the recent update.

Recommended Posts

https://gyazo.com/9b5ad00a9f21fcbf0d4bd9dfd9929bcd

RT. After the Tank DLC update,

unit commandArtilleryFire [[8016, 9750, 30], "12Rnd_230mm_rockets", 2]; 

does not make the M5 fire on the fixed point.

 

Also, 

guySupport commandSuppressiveFire [8016, 9710, 30];
guySupport doArtilleryFire [[8016, 9710, 30], "12Rnd_230mm_rockets", 10];

don't work.

The doArtileryFire only makes the turret rotate about 10 degrees and then it rotate back to the zero position.

 

Share this post


Link to post
Share on other sites
2 hours ago, wildbill2016 said:

https://gyazo.com/9b5ad00a9f21fcbf0d4bd9dfd9929bcd

RT. After the Tank DLC update,


unit commandArtilleryFire [[8016, 9750, 30], "12Rnd_230mm_rockets", 2]; 

does not make the M5 fire on the fixed point.

 

Also, 


guySupport commandSuppressiveFire [8016, 9710, 30];
guySupport doArtilleryFire [[8016, 9710, 30], "12Rnd_230mm_rockets", 10];

don't work.

The doArtileryFire only makes the turret rotate about 10 degrees and then it rotate back to the zero position.

 

 

The command still works.

The rotating back to init position of the turret is most likely an indicator of the arty gun being outside of the firing arc.

Make sure the arty gun is a fair distance to its target, >10km is usually advisable.

 

Cheers

Share this post


Link to post
Share on other sites
9 minutes ago, Grumpy Old Man said:

 

The command still works.

The rotating back to init position of the turret is most likely an indicator of the arty gun being outside of the firing arc.

Make sure the arty gun is a fair distance to its target, >10km is usually advisable.

 

Cheers

Hi Grumpy,

Thanks for the info. So, the default firing range setting for my game  for the M5 is 1000m-1300m (currently the distance between the M5 and the target is 1400), I think that also applies to AI players? But should the AI automatically set the range mode? 

I'm currently using an alternate script.

I'll verified it after the first playable version is made.

Share this post


Link to post
Share on other sites

Just a note regarding the artillery commands. The magazine/muzzle string is case-sensitive, must match exactly the string that is in config.

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, wildbill2016 said:

Hi Grumpy,

Thanks for the info. So, the default firing range setting for my game  for the M5 is 1000m-1300m (currently the distance between the M5 and the target is 1400), I think that also applies to AI players? But should the AI automatically set the range mode? 

I'm currently using an alternate script.

I'll verified it after the first playable version is made.

 

AI automatically picks a fitting firemode for the selected magazine, as long as the target is within valid range.

Just make a small testing mission with an M5 and AI crew, firing at [0,0,0] in the VR map and adjust the distance to those coordinates by moving the arty gun around.

 

Cheers

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×