I am currently taking a look at a way to flip vehicles due to a concussion wave from a particular effect (think explosion).
The movement is being attempted by using the setvelocity on the chosen vehicle but something quite strange is appearing to happen. When the setvelocity is applied, the vehicle is moved but then rubber bands back to the original position. Subsequent attempts just make the vehicle judder and then spring back.
Having a skim through the code, the Epoch Antihack has some code to prevent vehicle teleport based on vehicle speed > max speed of vehicle over a measured distance (the Epoch speed camera). The strange thing is that even after not loading it (// out in the init.sqf) the same problem still occurs.
This is on vanilla Epoch with not extra / custom antihacks and no mods that handle vehicles.
My only thought now is that it is to do with vehicle ownership and the effect needing to be applied to the owning machine and then it will propagate over the network.
Question
RimBlock
I am currently taking a look at a way to flip vehicles due to a concussion wave from a particular effect (think explosion).
The movement is being attempted by using the setvelocity on the chosen vehicle but something quite strange is appearing to happen. When the setvelocity is applied, the vehicle is moved but then rubber bands back to the original position. Subsequent attempts just make the vehicle judder and then spring back.
Having a skim through the code, the Epoch Antihack has some code to prevent vehicle teleport based on vehicle speed > max speed of vehicle over a measured distance (the Epoch speed camera). The strange thing is that even after not loading it (// out in the init.sqf) the same problem still occurs.
This is on vanilla Epoch with not extra / custom antihacks and no mods that handle vehicles.
My only thought now is that it is to do with vehicle ownership and the effect needing to be applied to the owning machine and then it will propagate over the network.
Any pointers ?.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now