Naturally Aspirated
Posts: 17
Joined: Wed Jul 11, 2012 4:55 am
Cars: '89 BMW E30 318is
'99 Nissan 200SX S14a
Automation2BeamNG Converter
I realised I just posted it on the BeamNG forums and forgot to create a post here. Sorry for that.
Now you don't need to register for BeamNG to use it. You can test the demo of BeamNG and decide to buy it or not. My recommendation would be: "Buy it! It's fucking awesome!"
I thought why not be lazy and you copy+paste your post from BeamNG but apparently I can only attach 3 files
So maybe just watch the video linked below to get an Idea of the program itself:
http://youtu.be/RAol-VrZg3w
If you are registered at the BeamNG forums you can take a look at the pictures in the OP:
http://www.beamng.com/threads/9960-Automation-Game-Engine-Converter
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ever since I've played Automation Game, I've loved the idea of being able to actually drive the engines I've created.
This was not possible without much of manual, hard work. Porting them to BeamNG was a pain in the ass.
So this is why I wrote this little Tool, simply called the "EngineConverter".
What this tool does, is to take all the hard work and creates a fully functional jbeam tuning which you can select ingame!
Basically it analyses the automation game lua file and creates a jbeam torquecurve which is then available as a tuning(*) in BeamNG
To make them work correctly, make sure to set the Transmission and any Differential ingame (strg+w) to "Empty".
Some cars have the differential part in the engine file, some have them in the suspension file.
The conversion works perfect for "normal" engines which are not totally overpowered.
Please also note that right now I do NOT support the experimental version of BeamNG!
If you start EngineConverter for the first time, Configuration Wizard will appear. Just do what he wants you to do.
If everything is set, you can choose to restart the configuration or start EngineConverter.
Now you just need to Drag and Drop a file on the big button at the top of the window or click the button to choose an engine.
If you click on "Create Tuning" you will be preseneted with a list of all your installed vehicles.
Choose one and click on the "Create" button.
If your file was created correctly, you'll get a message saying where the file was created. Else you'll get an error message about what went wrong.
The created jbeam engine curve is very smooth as it is based on the Automation Game rpm settings. Meaning, you have a point every 100 rpm's.
Here is an example of the torque curve that will be generated by "EngineConverter":
- Code:
"enginetorque":
["rpm", "torque"]
[0, 0],
[500, 219.38865661621],
[600, 225.77734375],
[700, 230.80348205566],
[800, 236.77087402344],
[900, 241.56915283203],
[1000, 246.45379638672],
[1100, 250.2110748291],
[1200, 253.46963500977],
[1300, 258.35018920898],
[1400, 264.01748657227],
[1500, 269.33700561523],
[1600, 273.34963989258],
[1700, 276.93515014648],
[1800, 280.18377685547],
[1900, 283.02514648438],
[2000, 285.90567016602],
[2100, 288.61053466797],
[2200, 291.0807800293],
[2300, 293.30358886719],
[2400, 294.91012573242],
[2500, 296.43222045898],
[2600, 298.23071289063],
[2700, 300.03717041016],
[2800, 301.49444580078],
[2900, 302.79168701172],
[3000, 303.84979248047],
[3100, 305.40560913086],
[3200, 306.66146850586],
[3300, 307.81573486328],
[3400, 308.08044433594],
[3500, 308.19219970703],
[3600, 308.25720214844],
[3700, 309.36123657227],
[3800, 309.10284423828],
[3900, 310.11791992188],
[4000, 309.84524536133],
[4100, 311.29556274414],
[4200, 311.99722290039],
[4300, 313.42236328125],
[4400, 314.78051757813],
[4500, 315.47589111328],
[4600, 316.93930053711],
[4700, 318.07189941406],
[4800, 318.92999267578],
[4900, 319.08459472656],
[5000, 319.30249023438],
[5100, 318.90286254883],
[5200, 319.06164550781],
[5300, 318.55697631836],
[5400, 318.70623779297],
[5500, 318.0578918457],
[5600, 317.74389648438],
[5700, 316.52780151367],
[5800, 315.10021972656],
[5900, 313.68270874023],
[6000, 312.00274658203],
[6100, 310.43402099609],
[6200, 308.09716796875],
[6300, 306.03015136719],
[6400, 303.47686767578],
[6500, 301.24105834961],
[6600, 298.93209838867],
[6700, 296.06143188477],
[6800, 293.63653564453],
[6900, 291.12878417969],
[7000, 288.6516418457],
[7100, 285.68255615234],
[7200, 283.07376098633],
[7300, 280.75570678711],
[7400, 278.13482666016],
[7500, 275.49533081055],
[7600, 272.7356262207],
[7700, 269.85729980469],
[7800, 267.17568969727],
[7900, 264.51916503906],
[8000, 261.71713256836],
[8100, 258.56063842773],
[8200, 255.89715576172],
[8300, 253.45272827148],
[8400, 250.5276184082],
[8500, 247.58438110352],
[8600, 244.66566467285],
[8700, 241.77410888672],
[8800, 239.01446533203],
[8900, 235.705078125],
[9000, 232.51754760742],
[9100, 229.04861450195],
[9200, 225.2222442627],
[9300, 220.96542358398],
[9400, 216.05117797852],
[9500, 210.84107971191],
[9600, 205.51599121094],
],
"engine":{
"idleRPM":500,
"shiftDownRPM":7500,
"shiftUpRPM":6000,
"maxRPM":9600,
},
Special thanks to Andrew(Daffyflyer) for helping me with the lua read method, ConeDodger240 for making the video, Automation and BeamNG Devs in general for making these awesome games and everyone that helped during bug fixing!
Now go and have some fun testing your engines
* - only if the car supports tunings. Otherwise you need to edit the jbeam to support it. It's not that hard!