Jump to content
4K.Scar

Suicide Car slowing down near waypoint

Recommended Posts

Hello, 

I have a vehicle with an IED attached to it and a move waypoint set on top of another vehicle, which isn't moving in this case.

The waypoint's activation is "bomb1 setDamage 1;"

 

My problem is when the suicide vehicle is almost at the waypoint, it slows down almost to a stop before exploding, and doesn't even get to the center of the waypoint, instead it explodes like 2 meters away from the target.

I want it to ram full force, is that possible? I even tried "this ForceSpeed 100;" but it still slows down.

 

Suicide Driver has these lines:

 

this setBehaviour "CARELESS"; 
this disableAI "FSM"; 
this disableAI "SUPPRESSION"; 
this disableAI "AUTOCOMBAT";  
this disableAI "CHECKVISIBLE";

And is also set to CARELESS

Share this post


Link to post
Share on other sites

BIS collision detection is causing your problem.  I'm not sure if there is a way to disable or cause AI to ignore it.

 

 

 

Share this post


Link to post
Share on other sites

Maybe you could just set the velocity vectors of the car manually in a loop and give it a magic push for the last few meters?

sent from mobile using Tapatalk

  • Like 1

Share this post


Link to post
Share on other sites
20 minutes ago, sarogahtyp said:

https://community.bistudio.com/wiki/setVelocity

sent from mobile using Tapatalk
 

Or rather setVelocityModelSpace which is way more convenient to use.

Usage of BIS_fnc_inAngleSector to check if the other vehicle is in front of the IED vehicle, quick line of sight check, if both pass loop the velocity command and you should be set.

 

Cheers

  • Like 2

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

×