Загрузка...

Addon To Road 0.4

Загрузить
DexterLooo

1 072

Addon To Road


Addon To Road spawns your add-on vehicles into the world as if they were normal NPC traffic.
Vehicles are spawned on nearby streets, driven by NPCs, and cleaned up automatically when far away to keep things stable.



Features
- INI-based vehicle list: choose which models can spawn (supports add-on and vanilla models).
- Automatic model validation: the script validates models using the game engine (IsInCdImage + IsVehicle) and separates valid and invalid entries.
- Export Valid Models: clean your INI automatically by exporting only valid vehicle models.
- Ambient NPC traffic behavior: vehicles spawn on roads with NPC drivers and cruise naturally.
- Traffic-safe spawning: spawns on streets near the player and removes vehicles when too far away.
- No Spawn Areas: predefined restricted areas (airports, military zones, etc.) prevent vehicles from spawning in inappropriate locations.
- Graceful shutdown: when the script is disabled, spawned vehicles are cleaned up automatically within 20–30 seconds.
- Performance upgrades (optional): engine/brakes/transmission/suspension/armor + turbo MAX.
- Visual mods (optional): body mods are randomized (not always max) for more realistic variety.
- Random unified paint (optional): primary/secondary/pearlescent share the same random color for a clean look.
- Random neon (optional): neon can be ON/OFF per vehicle; if ON, neon color is random and consistent on all sides.
- Vehicle Tracker (optional): display spawned vehicles on the minimap or full map, with selectable colors and live updates.


Menu Controls
• Press F6 to open / close the Addon To Road menu.
• The menu allows you to configure spawning, behavior, customization, tracking, and model management in real time.


Requirements
- Script Hook V
- ScriptHookVDotNet v3 (Nightly)
- LemonUI
- Your add-on vehicles must be installed correctly (must be spawnable by model name).


Installation
1. Install Script Hook V and ScriptHookVDotNet v3 Nightly (x64).
2. Install LemonUI (copy LemonUI.dll to GTA V\scripts\).
3. Copy AddonToRoad.dll to: GTA V\scripts\
4. Copy AddonToRoad.ini to: GTA V\scripts\
5. Do NOT modify files inside the AddonToRoad folder unless instructed.
6. Edit AddonToRoad.ini and set your vehicle model names under [Vehicles].
7. Launch GTA V (Story Mode). The script will start automatically if Enabled=true.


Configuration (AddonToRoad.ini)
- SpawnChance, SpawnIntervalMs, MaxSpawned: control how many vehicles exist at the same time and how often new ones are added.
- SpawnRadiusMin/Max: how far from the player vehicles can spawn.
- DespawnDistance: when vehicles are removed for cleanup.
- Speed and DrivingStyle: NPC driving behavior tuning.
- FullCustom, PerformanceMods, VisualMods, RandomPaint, RandomNeon, NeonOnChance: customization toggles.


Recommended Presets
- Stable / Natural Traffic: SpawnIntervalMs 300–600, MaxSpawned 10–16, DespawnDistance 300–450.
- Fast Testing: SpawnChance 1.0, SpawnIntervalMs 250–400, MaxSpawned 6–12.


Notes
- Add-on model names must match exactly (the same modelName used in dlcpack and dlclist).
- Invalid or mistyped models will be listed separately in the menu and will not spawn.
- If a vehicle does not support certain mods, the script will skip them safely.
- Very aggressive spawning may reduce FPS depending on your setup.
- For best results, test on wide roads and highways first.


Troubleshooting
- Vehicle not spawning: confirm the model spawns manually via trainer; verify the model name in the INI.
- Vehicles spawn but don’t move: some add-ons have broken AI or handling data.
- FPS drops: reduce MaxSpawned and increase SpawnIntervalMs.


Credits
- Script: DexterLooo

Thank you to the modders for the car mods and for trying out my script:
- Hammer76: Koenigsegg Jesko Absolut and 2025 Ferrari F80
- Silentm503: Jester MK4 Custom


Permissions
- Please do not re-upload without permission.
- You may use this script in videos or streams; credit is appreciated.


Support / Donation
If you enjoy this mod and would like to support its development, you may optionally donate via PayPal.
Your support helps keep the project alive and allows me to spend more time improving it.



Enjoy! If you find any bugs, feel free to report them along with your INI settings and vehicle model names.


Changelog

0.1
Initial release

0.2
Removed leftover add-on name that was mistakenly included.

0.3
- Menu system is now powered by LemonUI.
- Press F6 to open the Addon To Road menu.
- Intro notification is shown only the first time the menu is opened.
- When RandomNeon is OFF, NeonOnChance is automatically disabled.
- Models menu reworked for better clarity and usability.
- Added Show Model List (read-only).
- Enter Vehicle control disabled while the menu is visible.
- Added notification when Reload Models is used.
- Improved spawn radius logic.

0.4
- Added engine-based model validation (valid vs invalid models).
- Added Export Valid Models feature to automatically clean the INI file.
- Added No Spawn Areas (airports, military zones, restricted locations).
- Added graceful cleanup when disabling the script (vehicles despawn after 20–30 seconds).
- Added optional Vehicle Tracker with selectable mode and color.
- Added automatic saving of runtime settings (Setting.ini).
- General stability, performance, and logic improvements.
-Added automatic update notification system (GitHub).
Show Full Description

Первая загрузка: 7 дней назад
Последнее обновление: 11 часов назад
Последнее скачивание: 3 минуты назад

All Versions

 0.4 (current)

110 загрузки , 31,0 КБ
11 часов назад

 0.3

577 загрузки , 11,0 КБ
5 дней назад

 0.2

381 загрузки , 7,0 КБ
7 дней назад

1 комментарий