FAQ  •  Login

Engine data export?

<<

Conza89

Turbocharged
Turbocharged

Posts: 32

Joined: Wed Aug 22, 2012 5:29 pm

Cars: VW Golf V GTI

Post Sat Apr 12, 2014 2:33 pm

Engine data export?

Hi I realise this is an engine related susggestion/question, but it isn't to do with the designer, but instead the data.

I wanted to know if there were a way for me to compare engines in the sandbox between each other, either via excel or another program, I've searched the forum for export but couldn't find a thread about this.

My best guess at the moment is its somewhere in the "engineStats.lua" located in "\Automation\escripts\shared\data\SANDBOX_DATA", but all the lua editors so far haven't made sense of it.
<<

SamSheepDoq

User avatar

Turbocharged
Turbocharged

Posts: 279

Joined: Sat Jun 08, 2013 5:19 pm

Location: California, United States

Cars: 2001 Chevrolet Silverado

Post Sat Apr 12, 2014 2:38 pm

Re: Engine data export?

As far as I know, you pretty much can just write them down and then look at them.
Founder and Lead Engineer at Garza Automotive Company.
See our cars here: Garza Automotive Company.
<<

nialloftara

User avatar

Supercharged
Supercharged

Posts: 1983

Joined: Wed Feb 05, 2014 2:07 pm

Location: Northeast USA

Cars: 2006 Scion Xb

Post Sat Apr 12, 2014 2:53 pm

Re: Engine data export?

what exactly are you looking to compare?
Chief designer and CEO, Centauri motor works, Centauri Performance Vehicles (CPV)
"Centauri: The Stars Are Within Your Reach."
Centauri engines Centauri cars
CPV engines CPV cars
Company ID: 1943047
<<

Conza89

Turbocharged
Turbocharged

Posts: 32

Joined: Wed Aug 22, 2012 5:29 pm

Cars: VW Golf V GTI

Post Sat Apr 12, 2014 4:54 pm

Re: Engine data export?

Well I've made several different engines in the sandbox, and I want to compare all of their specs, preferably without writing them all out, and I know that the game is storing them so it would be good if I could export them all so I could compare them in excel
<<

nialloftara

User avatar

Supercharged
Supercharged

Posts: 1983

Joined: Wed Feb 05, 2014 2:07 pm

Location: Northeast USA

Cars: 2006 Scion Xb

Post Sat Apr 12, 2014 10:50 pm

Re: Engine data export?

So more in-depth then the engine manager over view? You're talking like actual tune setups, bore, stroke, cam, mixture, advance?
Chief designer and CEO, Centauri motor works, Centauri Performance Vehicles (CPV)
"Centauri: The Stars Are Within Your Reach."
Centauri engines Centauri cars
CPV engines CPV cars
Company ID: 1943047
<<

Jakgoe

User avatar

Supercharged
Supercharged

Posts: 2104

Joined: Sat Jan 04, 2014 8:25 am

Location: United States of America

Cars: 1995 Mitsubishi 3000GT SL,
1994 Mercedes-Benz S600

Post Sun Apr 13, 2014 12:41 pm

Re: Engine data export?

The stats are all found in Table 21 of the engine's .lua file.
World #1 Ranked Automation Player!

Co-Owner of the World Rally Team

Smolensk Motors Showroom

Smolensk Tuning

We will continue the Epic Rap Battles of Automation.
<<

Reaper392

2-Star Beta Tester
2-Star Beta Tester

Posts: 470

Joined: Mon Dec 09, 2013 7:11 am

Post Mon Apr 14, 2014 7:21 am

Re: Engine data export?

To expand on what Jakgoe has said, in table 21 you can find lots of data for the engine, some of it will be numbers you recognise and some of it wont. there are also multiple values for things like noise, peak torque, etc. some of the stuff in table 21 is pretty self explanatory, but some isn't, so this is what i found.

Loudness: you want the "Noise" value, not exhaust noise or intake noise
Torque: you want the "torque" value, not the BaseTorque. The value is in Nm
Power: You want the "PeakPower" value, not any of the other values. it is measured in kW
Economy: You want the "EconEff" value, not any of the others
MTBF: in table 21 it is listed as MTTF
Engine Cost: The in game value is the "MaterialCost" value. presumably the "TotalCost" value adds the material cost to how much you would have to pay your workers with an arbitrary wage value

I cant remember where the year is stored, but I seem to remember it had something to do with a quality value (something like base quality) and that it was scaled from 0 to 1 where 1920 = 0 and 2020 = 1. It may have been stored elsewhere in a normal format though

There are some other stats outside of table 21 that you can find.

You can find several stats, such as power and torque, measured for every 100RPM of the engine. For this, table 50 will tell you which tables you need to look at, since there is 1 table for every RPM it does the tests for

Table 51 lists all of the tables which contain information on part failure, such as the pistons breaking due to too high RPM

Table 52 lists all the tables which contain information about the turbo. My program is only designed to work on the demo so i haven't looked into this much, but i assume that it will be measuring information about the turbo at every 100RPM

Table 53 either lists all the MTBF issues, or lists the tables in which they can be found. the engine I was looking at had no MTBF issues so I dont know exactly how this works

Table 54 is a list of tables for 'restrictions'. Again I'm not sure what this is since it wasn't relevant for me, but presumably it holds the air restriction information for every 100RPM, which is displayed in the coloured diagram at the top left of the testing screen when you manually rev the engine.

If you want to know information about separate parts of the engine you can look in table 1, because table one is like a contents page for all of the tables showing you which table to look at for each piece of data.

Hopefully that helps. I don't know what lua editors you use, but I use notepad++ to read the automation engine files and fount it reasonably clear

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests