The enginedata.lua file is responsible for holding all data required to call an engineswap.
You can learn how to generate the necessary data here:
Once you have the proper data,
In order to create a engine swap profile, inside the enginedata key, fill the engine swap profile in this manner:
(P.S: The key name will be the name you will call on the engine swap, so in this case it's "Street_NA_I4")
The base acceleration for this engine in g's, automatically calculated by the chaser_getengineswapdata() export
avgacc :
The Average acceleration for this engine in g's, automatically calculated by the chaser_getengineswapdata() export
engineefficiency :
The efficiency for this engine in g/kg , automatically calculated by the chaser_getengineswapdata() export
torqueCurve:
The torque curve for this engine, simply copy it from the vehdata.lua of the vehicle you're creating an engineswap profile for.
turbodata:
audiohash:
The audiohash to define the engine sound for this engineswap profile.
flywheelweight:
The weight of the flywheel, the more the slower the rev decayment, the less the faster.
size:
The ammount of space this engine requires on the vehicle enginebay to be installed, you can check the space of the current vehicle enginebay on it's globalvehdata.lua entry or calling the chaser_getenginebaysize export.
The turbo profile for this engine, you can copy it if the original vehicle have, or create your own,