Jump to content
Sign in to follow this  
Deadfast

Deadfast's Bike Steering Fix

Recommended Posts

Deadfast's Bike Steering Fix

Is the nasty motorbike steering spoiling your 1.16 Beta experience?

That shall no longer happen with this simple fix!

MP Compatible: Yes, client side

Signed: Yes, server key included

I'm sure that anyone who has tried to drive with motorbikes in the newest beta patch has noticed their steering is a little bit off.

Well, off - it's easier to turn with a truck then with a bike now. That's rather weird considering how agile the bikes should be :).

So, I made this little quick fix that should change the bike handling to be similar to what it used to be in 1.14.

The best part is that it's client side!

The server nor any other player on the server is required to have the addon.

Any bikes that are derived from the default class of Motorcycle will be affected (as long as the bike doesn't have its own turnCoef, which would be kept in place).

Download:

Big thanks to all mirror providers! :)

Edited by Deadfast
Version 0.2.0 out

Share this post


Link to post
Share on other sites

It´s a 1.16 feature?!

And the guys on our server were all making fun of my drunk driving .. fist_hx3.gifconfused.gif

thx for the marvellous fix!

edit: Mirror @ armed-assault.de :turn:

Edited by Mr Burns

Share this post


Link to post
Share on other sites

Nice fix!

Though this code should be enough from my compare,

as only shaders and exe were changed.

class CfgPatches
{
class DFS_bikeTurnFix
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 1.16;
	requiredAddons[] = {"CAWheeled3"};
};
};
class CfgVehicles
{
class LandVehicle;
class Motorcycle: LandVehicle
{
	turnCoef = 2.2;
};
};

:bounce3:

Share this post


Link to post
Share on other sites

Are you sure that would work?

Won't that wipe out everything in the class or does that work like with inheritance (changing existing values)?

Share this post


Link to post
Share on other sites

Yes I am sure. :D

You cannot wipe out stuff normally (only via bad coding, delete class or overwriting a pbo

by using the same prefix).

We just extend the global config space and replace a value.

requiredAddons[] = {"CAWheeled3"};

So we load your addon only once this addon was loaded.

You could add ,"ca_hotfix" to make sure its loaded last.

Share this post


Link to post
Share on other sites

This is not something BIS made wrong im sure. It is another step towards NON-auto-center steering. If you change your mouse LEFT and mouse RIGHT to "steer MORE left" and "steer MORE right" youll see its very nice now even though not perfect. But it is a step towards non-center-steering made better. So its thicker wich wont leave you go zig zagging down the road as its too easy to steer.

I tested it and its very nice. But it needs some more tweaking and also needs to be applied to the cars (havent thaught of it in 1.16 yet). But to make it perfect it needs to be like in car sims: thick/heavy in the center (so its easy to maintain steady forwards drive) and then the further you steer it gets easier and easier. This is how it works in LFS for example and its what makes it easy to drive without auto centering.

Nice FIX though if you want to keep it auto-centering. :)

Regards

Alex

Share this post


Link to post
Share on other sites

Thanks Kju,

C++ getting into my way of thinking I suppose :)

Share this post


Link to post
Share on other sites

The new version of 0.2.0 released!

* Removed unnecesary declarations (thanks Kju!)

* Changed required version to 1.16

Check the first post for the download link :)

Share this post


Link to post
Share on other sites

The first thing I noticed since I usually test with a motorbike. Hopefully it's fixed in the final patch.

Thanks Deadfast.

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  

×