Advertising
Navigation
Information

GTA 4 Mods

:

Script Mods (e.g. *.lua and *.asi)

Additional Veh Funcs | IV & EFLC


Author: ItsRealYulikShvab | Email
Date: 02.07.2023
Downloads: 3834 | Statistics
Filesize: 4.852 MB

Rating:
10.00 based on 10 votes

A simple script that adds new features for cars.

New flags (names from editIV):
Handling
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.
Model
N/A (to the right of SIT_IN_BOAT) - bulletproof tires. They also don't burn. Experimental feature, but worked in all cases

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. He turns in different directions. Also, when drifting, it will compensate for the angle. Steering wheel animation like in GTA V.

Also:
Changed RPM 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. Reduced engine idle speed.
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:
For almost all new parts, there are additional settings.
steer_mesh: rotMax.y - rotation angle multiplier.
exhaust_door_mesh: rotMax.x - max angle.
supercharger_throttle_mesh: rotMax.x - max angle.
engine_mesh: rotMax.y - vibration strength multiplier.
rpm_mesh: rotMax.y - max rotation angle.
speed_mesh: rotMax.y - max speed(miles), rotMax.x - max angle
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.
serpentinebelt_root rotMin.x - number of animation frames for serpentine belt

Notes:
Angles in radians.
Temperature in Fahrenheit.
The test model has an example of using a loophole to rotate new parts.
Addons use values ​​that are created by the main script, so the main script is needed to work

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.

Created using a private (at the moment) SDK, which is based on the IV-SDK, compatible with IV game versions: 1070, 1080; EFLC: 1120

Changelog
v13.2:
- Added EFLC support (v1120).
v13.1:
- Added a script for displaying nitro in the game hud (below the radar).
v13.0:
- Changed the address for script variables. Previously, some variables were stored outside the vehicle's memory and this could cause an error.
- Removed the flag to enable bulletproof wheels. The code for this flag has been lost.
- Changed the logic of the automatic fan.
- Added logic to calculate the current engine crankshaft angle.
- Changes in engine temperature logic
- Changes in engine vibration logic
- Changes in nitro logic
- Changes in engine rpm logic
- Changes in speed calculation logic

v12.1:
• Added a new flag to enable bulletproof tires

v12.0:
• Works in 1.0.8.0.
• Changes in the logic of nitro

v11.2:
• Fixed game crashes due to mysterious objects in Liberty City

Advertising
Download
DOWNLOAD
Virus Detection Ratio: 0% (0/58)
See Virus Scan Report
Advertising
Report
Mod Report

Are you the owner of this mod? If someone has stolen your work, you can make a request for removing this mod.

Report this mod

Screenshots
Additional Veh Funcs | IV & EFLC
Additional Veh Funcs | IV & EFLC Additional Veh Funcs | IV & EFLC Additional Veh Funcs | IV & EFLC Additional Veh Funcs | IV & EFLC

Add to Favorites Share on Facebook
Videos
Add a Youtube video

5 comments found
Your Name/Nick:


Your Message:


Smileys:



Attention:
You need to be registered and signed in to post comments!