• Welcome to PiBoSo Official Forum. Please login or sign up.
 
May 26, 2019, 06:02:27 pm

News:

GP Bikes beta15b available! :)


Electric bikes conversion

Started by PiBoSo, February 08, 2019, 10:45:26 pm

Previous topic - Next topic

PiBoSo

Steps to convert the electric bikes to make use of Beta15 electric engine support.

1. open the "cfg" file

2. go to the "engine" section.
2a. add
electric = 1
This tells the physics that there is no fuel tank, no idle and no engine stall.
2b. the "stall" section is still used to make sure that engine braking goes down to zero at zero rpm.  Example:

stall
{
RPM = 500
torque = 0.1
}

2c. "IdleThrottle", "IdleRPM", "FuelRatio", "shiftRPM" can be removed.
2d. the "Clutch" section must be removed to tell the physics that the engine is direct drive.

3. remove the "fueltank" section, and replace it with:

batterypack
{
Capacity = 12
}


4. remove the "gearbox", "autoclutch" and "shifthelp" sections.

5. go to the "driveline" section.
5a. delete "SecondAxisInertia".

6. save and close the file.

7. open the file sfx.cfg

8. the "gearbox" section can be removed.

9. save and close the file.

10. all done
"Obviously your ambition outweighs your talent".