GTA IV / Mod / 脚本 Mod(例如 *.lua 和 *.asi)

Additional Veh Funcs | IV & EFLC


  • ItsRealYulikShvab | 上传者: ItsRealYulikShvab
  • 07/02/2023
  • 5907 下载量

评分:

请先登录。


收藏夹:

下载
4.85Mb
病毒扫描结果: 0%
查看病毒扫描报告

Videos

尚未添加任何视频。
你需要先登录才能为该 Mod 添加视频。

描述

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

目前已发表了 6 条评论。

NOOSE2008Mod 作者徽章
Los Santos Veteran
72
个人资料
04/11/2025 03:08

Why cant i change the NOS binding? My "Look behind" is X, pls allow me to change

引用 | 回复 | (0)
FILIPGAME2021Mod 作者徽章
Criminal Mastermind
558
个人资料
11/08/2023 17:34



引用 | 回复 | (0)
ItsRealYulikShvabMod 作者徽章
Heist Specialist
14
个人资料
07/04/2023 15:33

@GTAHeavyImpact Thank you. It is possible to add wipers, but it is necessary to make them turn on at the peds when it starts to rain.
And now I will show a small fragment(VIDEO), which most likely will not be included in the public version of the script https://youtu.be/Ti6oAvRBB0k

引用 | 回复 | (4)
GTAHeavyImpactMod 作者徽章
Criminal Mastermind
743
个人资料
07/04/2023 11:24

Wow! This is huge!!
Thank you, but what about the wipers, any chance?

引用 | 回复 | (0)
GhasemMod 作者徽章
Criminal Mastermind
1068
个人资料
07/03/2023 05:57



引用 | 回复 | (0)
ItsRealYulikShvabMod 作者徽章
Heist Specialist
14
个人资料
07/02/2023 23:20

Today my game crashed with this script. I spent a lot of time but fixed it. Now I will upload the corrected version of the script. I apologize for the inconvenience

引用 | 回复 | (3)