Jump to content
wyattwic

Restricting turret movement?

Recommended Posts

Hello!

 

Is there any way to restrict turret movement of a vehicle? 

 

In my situation I have individuals abusing the Cheetah as a anti-tank/infantry weapon and ignoring aircraft.  How would it be possible to restrict vertical movement of the turret below a certain point to discourage engaging ground targets?

 

Thank you!

Share this post


Link to post
Share on other sites

Hello!

 

Is there any way to restrict turret movement of a vehicle? 

 

In my situation I have individuals abusing the Cheetah as a anti-tank/infantry weapon and ignoring aircraft.  How would it be possible to restrict vertical movement of the turret below a certain point to discourage engaging ground targets?

 

Thank you!

These are some commands to help you get started:

weaponDirection

currentWeapon

 

Elevation can be calculated by taking the arcosine (acos) of the z-axis component from the turret's weapon direction.

Share this post


Link to post
Share on other sites

Neat!  Im surprised I didn't find that when I was searching earlier.

Share this post


Link to post
Share on other sites

Neat!  Im surprised I didn't find that when I was searching earlier.

 

The wiki is big and full of wonders. :rolleyes: (and sometimes terrors)

  • Like 1

Share this post


Link to post
Share on other sites

so , imagine that i want to edit the limit of a tank , in this case , a Leopard 2A4 that cant aim down 0 , and we need more like 10-15-20 degrees to aim corectly , we dont know how to edit that , (custom mod)
if u can help me with this , thx a lot 

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

×