A simple script that adds new features for cars.
New flags (names from editIV):
N/A (to the right of SMOOTH_COMPRESN) – front and rear wheel steering.
PROC_REARWHEEL1ST – front wheels in front. Can be used to have the double track of the wheels in front.
New parts:
temp_mesh – temperature indicator.
serpentinebelt_root + serpentinebelt0-19 – engine belt.
engine_fan – radiator fan. Synchronized with engine temperature. It turns on if the temperature is more than 203. It turns off if the temperature is below 194 and if it has worked for at least 10 seconds.
speed_mesh – speedometer needle. Shows wheel speed. It can be from the front, rear and all, depending on the drive of the car.
rpm_mesh – tachometer needle.
engine_mesh – engine. It vibrates. The strength of the vibration will increase with the engine speed.
supercharger_throttle_mesh – supercharger throttle. Works like V except for smooth movement.
exhaust_door_mesh – Exhaust cover that will open and close.
steer_mesh – steering wheel. It works from the wheel, so it will completely repeat the movements of the swivel wheels.
Also:
Changed engine speed logic. When the engine is off, the rpm drops to 0 and will rise to 0.1 when starting. Relevant for other mods as well. Also minor changes.
Engine temperature logic. The script is designed to work in the range from 32 to 500 degrees.
Nitro. Gives a short-term increase in engine power and the visual effect of all exhaust. Turns on X.
Important info:
The test model has an example of using a loophole to rotate new parts.
For almost all new parts, there are additional settings.
steer_mesh: rotMax.y – rotation angle multiplier.
exhaust_door_mesh: rotMax.x – max corner.
supercharger_throttle_mesh: rotMax.x – max corner.
engine_mesh: rotMax.y – vibration strength multiplier.
rpm_mesh: rotMax.y – maximum rotation angle.
speed_mesh: rotMax.y – multiplier.
temp_mesh: rotMin.x is the minimum temperature for the indicator, rotMin.y is the maximum temperature for the indicator, rotMin.z is the angle from rotMin.x to rotMin.y.
Notes:
Angles in radians.
Temperature in Fahrenheit.
Only for 1.0.7.0.
Installation instructions:
Copy asi from the archive to the game folder.
The script only needs an asi file loader and does not need scripthook, scripthookdonet, etc. because the script works directly with the game’s memory.
Credits:
ItsRealYulikShvab