Additional functions for cars
-
3 July 202311.2dopolnitelnye-funkcii-dlja-avtomobilejj_1688340557_986606.zipPassword for the archive: libertycity
-
2 July 2023(вылетает. оставлено для архива)11.1 publicdop-funkcii-dlja-avtomobilejj_1688255951_94495.zipPassword for the archive: libertycity
A simple script that aims to add new features to 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 a double footprint in front.
New parts:
temp_mesh- temperature arrow.
serpentinebelt_root+serpentinebelt0-19- Pass the engine.
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 overestimate the engine speed.
supercharger_throttle_mesh- blower throttle.
exhaust_door_mesh- an exhaust cover that will open and close. Highlighted this in The Simpsons.
steer_mesh- steering wheel. It works from the wheel, so it will completely repeat the movements of the swivel wheels.
Also:
Engine RPM logic changed. 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 at X.
Important:
The test model has an example of using a loophole to rotate new parts.
For almost all new parts there is an add. 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 arrow, rotMin.y is the maximum temperature for the arrow, 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:
Move 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.
And the archive has a test model that supports almost all of them in this script.
Changelog:
11.2 - fixed crashes due to incomprehensible objects in Liberty City, to which the script rearranged.
Простой скрипт, который нацелен добавления новых функций для автомобилей.
Новые флаги(названия из editIV):
N/A(справа от SMOOTH_COMPRESN) — руление передними и задними колесами.
PROC_REARWHEEL1ST — передные колеса спереду. Можно использовать чтобы двойной след был спереду.
Новые детали:
temp_mesh - стрелка температуры.
serpentinebelt_root + serpentinebelt0-19 — пас двигателя.
engine_fan — вентилятор радиатора. Синхронизирован с температурой двигателя. Включается если температура больше 203. Отключается если температура ниже 194 и если отработал как минимум 10 секунд.
speed_mesh — стрелка спидометра. Показывает скорость от колес. Может быть от передных, задных и всех, зависит от привода авто.
rpm_mesh — стрелка тахометра.
engine_mesh — двигатель. Он вибрирует. Сила вибрации завысит от оборотов двигателя.
supercharger_throttle_mesh — дросель нагнетателя. Работает как в V за исключением плавного движения.
exhaust_door_mesh — крышка выхлопа, которая будет открываться и закрываться. Выдел такое в Симпсонах.
steer_mesh — руль. Работает от колеса, поэтому будет полностью повторять движения поворотных колес.
Также:
Изменена логика оборотов двигателя. При выключеном двигатели обороты падают на 0 и при запуске будут подниматься к 0.1. Актуально и для других модов. Также мелкие изменения.
Логика температуры двигателя. Скрипт рассчитан на работу в пределах от 32 до 500 градусов.
Нитро. Дает кратковременной прирост к мощности двигателя и визуальный эффект их всех выхлопных. Включается на X.
Важно:
В тестовой модели есть пример использования лазейки для поворота новых деталей.
Для почти всех новых деталей есть доп. настройки.
steer_mesh: rotMax.y — множитель угла поворота.
exhaust_door_mesh: rotMax.x — макс. угол.
supercharger_throttle_mesh: rotMax.x — макс. угол.
engine_mesh: rotMax.y — множитель силы вибрации.
rpm_mesh: rotMax.y — угол максимальных оборотов.
speed_mesh: rotMax.y — множитель.
temp_mesh: rotMin.x — минимальная температура для стрелки, rotMin.y максимальная температура для стрелки, rotMin.z — угол от rotMin.x до rotMin.y.
Примечания:
Углы в радианах.
Температура в фаренгейтах.
Только для 1.0.7.0.
Установка:
Переместить asi из архива в папку с игрой.
Для скрипта нужен только загрузчик asi файлов и не нужно scripthook, scripthookdonet и прочее ибо скрипт работает напрямую с памятью игры.
А архиве есть тестовая модель, которая поддерживает почти все их этого скрипта.
Журнал изменений:
11.2 — исправлены вылеты из-за непонятных объектов в Либерти Сити, на которые реарировал скрипт.
Recommended files

New winter windows for cars

New paint for cars

Realistic behavior physics for cars

GTA IV centered camera for cars (Beta)

Update for GTA IV 1.0.6.0 1.0.5.1 1.0.4.2

Car Tuning Garage v1.0

Car Tuning Garage 2

Simple Native Trainer 5.3

XLiveLess v0.999-beta1

Mercedes-Benz CL 65 AMG fixed version

ENB Series 0.082 Config v.1.0b

GTA IV Vehicle Mod Installer v1.3

1970 Oldsmobile Cutlass 4-4-2

Toyota Avalon XLI 2019

