Jump to content
jonipetteri

Limit player driven vehicle speed

Recommended Posts

Can I somehow limit the speed of certain player controlled vehicle in multiplayer?

What I'm trying to do is to set max speed for UGV Stomper...

 

Any help?

Share this post


Link to post
Share on other sites
3 hours ago, HazJ said:

The first one just returns positions. Doesn't have anything speed limiter in there it seems besides the name of the file.
And wtf is the second link 😄 Is that a joke?

 

I would also recommend the ACE one. Just wanted to post it here but just noticed that @Maff already did so ^^

TLDR ACE calls setVelocity every frame if you are over the allowed speed.

 

Also what a weird coincidence that somebody else asked the same recently: https://forums.bohemia.net/forums/topic/222283-limit-players-vehicle-speed

 

  • Haha 1

Share this post


Link to post
Share on other sites

Second one requires first one, as you say, it gets the positions. Second one, have to sort through it. Should kill some time. 🤣

If you don't have much time, use the ACE one. If you have lots of time and are bored, sort these two into one.

  • Thanks 1

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

×