Eddie Eezo Posted September 30, 2012 Share Posted September 30, 2012 I was looking through the community resources and to my surprise I didn't find anything related to drafting. So, I wrote this little resource, description below. When one car is driving behind another, it will experience less air resistance, making it possible to reach higher speeds more easily or even overtake the car in front. That is what this resource tries to simulate - a nice little asset to race gamemodes, but also really fun when cruising around with fast cars. It shouldn't have much impact at all on the game's performance, since it only uses linear calculations and requires a mere 2 updates per second by default. Clients will trigger a server event every such update, but only if there's actual drafting going on for the local player. The server will then use the handling functions to reduce the vehicle's drag coefficient, meaning there are no hard velocity changes involved. https://community.multitheftauto.com/index.php?p=resources&s=details&id=5755 Comments, suggestions, bug reports, etc? Feel free to post them here and I will try to address them. Link to comment
Mimimiguel Posted September 30, 2012 Share Posted September 30, 2012 Nice resource, really loved it, but it's blocking the nitro, it doesn't work when the resource is enabled. Link to comment
Eddie Eezo Posted October 1, 2012 Author Share Posted October 1, 2012 Nice resource, really loved it, but it's blocking the nitro, it doesn't work when the resource is enabled.Thanks for the positive feedback. About the nitro thing, I tested it and it seems to work just fine for me, and I also can't think of anything that would cause it to fail. Did you try it in race or freeroam or something else? Can you see if there are any errors in debugscript perhaps? Link to comment
Mimimiguel Posted October 1, 2012 Share Posted October 1, 2012 Nice resource, really loved it, but it's blocking the nitro, it doesn't work when the resource is enabled.Thanks for the positive feedback. About the nitro thing, I tested it and it seems to work just fine for me, and I also can't think of anything that would cause it to fail. Did you try it in race or freeroam or something else? Can you see if there are any errors in debugscript perhaps? I'm trying it on paradise, well, I checked out the script before I saw the nitro wasn't working and I couldn't find any thing related there, I will check the debugscript and I will edit this post with the result. EDIT: Okey, the nitro is working fine with an exception: if you are in the car when the resource starts or when you start drafting, you must get down and up again to let it work. Besides that, the rest is fine. Link to comment
Eddie Eezo Posted October 1, 2012 Author Share Posted October 1, 2012 EDIT: Okey, the nitro is working fine with an exception: if you are in the car when the resource starts or when you start drafting, you must get down and up again to let it work. Besides that, the rest is fine. Sorry, but I'm not sure what you mean by "get down and up again" - I don't think I've been able to reproduce anything of the sort though. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now