Jump to content

Recommended Posts

Is there a way to on the fly change the maximum range of RPG-7 rockets? Like the OG7?

It's pretty annoying having to create different kind of ammo for different distances...

Here's a demonstration of it's effectiveness, would be really awesome if this could be made practical.

k_hibgbJYks

Edited by InsurgencyRising

Share this post


Link to post
Share on other sites

Yes, but it is kind of a hack. What you do is get your ammunition to have a really long time to live value. Then you attach an event listener to the fired event on the weapon.

Using script you then "catch" the projectile as it leaves the barrel (using nearObjects with the ammo class) and track the distance (or more correctly the time of flight*speed) and then you spawn something for it to run into in the air (the generic Bomb object works well and doesnt increase damage) using setPos to make them collide easier.

I did this for my C-RAM demo and my VT artillery fuses and it works out pretty well.

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  

×