Thehookerkiller01 Posted June 27, 2009 Share Posted June 27, 2009 Hey, I was just wondering, is it possible to make gears for cars? And how? Link to comment
Lordy Posted June 27, 2009 Share Posted June 27, 2009 Yes, but not too realistic You define the maximum speeds for each gear and use onClientRender & setElementVelocity to stop the vehicle going faster. Although it's possible to also calculate the acceleration it's not that easy. (I guess I couldn't do it). Also the vehicle sound effects would be useless. @some dev: Does SA just play the samples in an order or is speed of the vehicle or something like that involved too? Link to comment
eAi Posted June 27, 2009 Share Posted June 27, 2009 I believe GTA vehicles actually have a gear variable and related stats... Link to comment
Thehookerkiller01 Posted June 27, 2009 Author Share Posted June 27, 2009 And howto make it manual? Not an automate car, but manual. Link to comment
50p Posted June 27, 2009 Share Posted June 27, 2009 GTA must have such variable... When vehicle changes gear you can see the hood going down, which is caused by "releasing" acceleration pedal, you're not releasing it but the engine itself does. The Camera Hack mod has speedometer with 2 gauges. One shows the speed of the vehicle and another one shows RPM (revolutions per minute, engine's speed). You can't calculate them because every vehicle has different gears. Maybe certain speed has certain gear. eg. when you're at 100mph, that's for instance 3rd gear and every vehicle has the same stats... but that wouldn't be realistic and therefore not in GTA... But someone could check that and confirm that I'm not correct Link to comment
Lordy Posted June 27, 2009 Share Posted June 27, 2009 Maybe make a feature request on Mantis then To have control over vehicle's gears. Link to comment
Thehookerkiller01 Posted May 22, 2010 Author Share Posted May 22, 2010 Yeah that should be nice. Who's Mantis? Link to comment
50p Posted May 22, 2010 Share Posted May 22, 2010 Yeah that should be nice.Who's Mantis? http://bugs.mtasa.com/main_page.php Link to comment
karlis Posted May 22, 2010 Share Posted May 22, 2010 there is such func in handling.cfg also, it has real purpose in game, the speed lil drops on auto gear-switch, then gets faster, and when the handling editing will be relased it will be easy to manipulate that Link to comment
Thehookerkiller01 Posted May 22, 2010 Author Share Posted May 22, 2010 Yeah that should be nice.Who's Mantis? http://bugs.mtasa.com/main_page.php Link to comment
dzek (varez) Posted May 23, 2010 Share Posted May 23, 2010 about sounds: gta dont care much about sounds and gears.. it just plays sound loop with changing pitch, until car get max speed. sometimes you can hear your veh have 10 or so gears Link to comment
karlis Posted May 23, 2010 Share Posted May 23, 2010 about sounds:gta dont care much about sounds and gears.. it just plays sound loop with changing pitch, until car get max speed. sometimes you can hear your veh have 10 or so gears nope, gear count are specified in handling.cfg Link to comment
Cannonball Posted May 23, 2010 Share Posted May 23, 2010 Woudl be possible to do, if you dont care about the sounds. Just make the car stop going faster @ 20KM/h (RPM caughe maybe?) and then a button to make it shift up, then at 40-50KM/h or summit. But then again, sound would be not realistic. Link to comment
dzek (varez) Posted May 23, 2010 Share Posted May 23, 2010 nope, gear count are specified in handling.cfg yea, that's true. i know about it. anyway sound is working independent of handling. Link to comment
Phat Looser Posted May 23, 2010 Share Posted May 23, 2010 When you press and release the acceleration button, you can pretty much mess with the "gear sound". 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