I decided to attempt implementing this myself. So far I coded the base system (the rest is not ready yet) and would like to know if it's good till now. It works by boosting the Clutch Torque... that seemed the best way to me.
Patch links:
http://www.mediafire.com/?zijlj5yz2ux or
http://upload.ps/vlbwqrci4ll7/VDrift_NOS_v1r1.rar.htm
Important: The current patch only includes the car settings for the 360, so only test with this car as others won't work for now. To test the patch, do the following:
- You must be checking both the data and engine from SVN. Apply the data patch to the data and the engine patch to the code.
- From the menu, go to Options -> Controls -> Assign Controls -> Car Controls and assign a new key for the NOS keybind.
- Go back and start a practice game. Make sure 'Enable NOS' is ticked on and choose the 360 as your car.
- While driving, press the NOS key to get boosted, until the NOS runs out. NOS is displayed in the lower-left corner of the screen above the RPM bar.
If this feature is accepted, the remaining things to do would be:
- Add the carinfo properties for all cars. Will be doing that first thing.
- The two most important eye-candies; A NOS sound and flames coming out of the exhaust pipe. I don't know how to do either of the two myself.
- Give the NOS tank a position and weight.
- Make the HUD indicator a bar. It's currently just text for testing... I can do that if the patch will continue.
- At a later time, teach bots how to use the NOS and when. But imo that can done another time.