Завантаження...

Addon To Road 0.6

Завантажити
DexterLooo

1 885

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 (Random) (optional): random body mods for more realistic variety.
Visual Mods MAX (optional): applies maximum visual upgrades for vehicles that support mod parts.
Visual Mods coverage: supports Spoiler, Front/Rear Bumper, Side Skirt, Exhaust, Roll Cage/Frame, Grille, Hood, Fender L/R, Roof, Livery, and Window Tint.
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.
Driving Style Presets: choose NPC driving behavior (Normal, Calm, Fast, Ignore Rules, Crazy).
Random Driving Preset: each spawned vehicle can get a random driving style for natural traffic variety.
Random Speed System: optional random speed per vehicle using Min/Max values (manual speed locks automatically when enabled).
Chaos warning: shows a warning if Speed/MaxSpeed is set too high (> 50).
Distance safety clamping: SpawnRadiusMin/Max and DespawnDistance auto-snap to prevent invalid values and unstable spawn behavior.
Vehicle Tracker (optional): display spawned vehicles on the minimap or full map, with selectable colors and live updates.
This mod script is only for legacy

Menu Controls
• Press Hotkey (default: F6) to open / close the Addon To Road menu.
• You can change the hotkey in: scripts\AddonToRoad\Hotkey.ini


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
1) AddonToRoad.ini (Vehicle Models List)
[Vehicles] Models= list of vehicle model names that are allowed to spawn (supports add-on & vanilla).

2) Setting.ini (Runtime Settings / Menu Save)
SpawnChance, SpawnIntervalMs, MaxSpawned: controls how often vehicles spawn and how many can exist at once.
SpawnRadiusMin/Max: minimum/maximum distance from the player where vehicles can spawn.
DespawnDistance: cleanup distance (vehicles are removed when too far away).
Speed: NPC driving speed.
RandomSpeedEnabled, MinSpeed, MaxSpeed: enables random speed within a range (when enabled).
DrivingStyleRaw: NPC driving style behavior value.
RandomDrivingPreset: each spawned vehicle can use a random driving preset (more variety).
FullCustom: master switch for all vehicle customization features.
PerformanceMods: MAX performance upgrades (engine/brakes/transmission/suspension/armor + turbo).
VisualMods: random visual/body mods for realistic variety.
VisualModsMax: forces visual/body mods to always use the maximum level (no random).
RandomPaint: random unified paint (primary/secondary/pearlescent use the same color).
RandomNeon, NeonOnChance: random neon ON/OFF + chance for neon to turn ON.
TrackerEnabled, TrackerMode, TrackerBlipColor: spawned vehicle tracker blip settings.


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.
- Using extremely high NPC speed settings may cause chaotic traffic behavior or instability.


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.
- Game instability after long sessions: reduce model pool size and MaxSpawned, and avoid extremely high speed values.


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).

0.5
- Added configurable menu hotkey (Hotkey.ini).
- Improved despawn logic (destroyed vehicles + dead drivers) with 20–30s cleanup and near-player pause.
- Graceful cleanup when disabling the script (vehicles cleared within 20–30s).
- Expanded No Spawn Areas: added more restricted locations not covered in v0.4.
- Fixed minor bugs and removed warnings.

0.6
Added Driving Presets using exclusive checkboxes (only one preset can be selected at a time).
Added RANDOM driving preset (each spawned vehicle gets a random driving personality).
Added Random Speed system with Min/Max controls and an Enable toggle.
When Random Speed is enabled, the base Speed setting becomes disabled (menu lock).
Added speed safety warning: Speed / MaxSpeed above 50 may cause chaos.Visual Mods MAX option (exclusive with Visual Mods Random).
Improved Full Custom logic: child settings are properly locked/unlocked and restored safely.
Improved UI stability: fixed < > logic to behave consistently across all numeric settings.
Improved spawn range safety: SpawnRadiusMin/Max can no longer break limits, and SpawnRadiusMax cannot exceed DespawnDistance.
Improved general stability, logic cleanup, and menu layout improvements.
Show Full Description

Перше завантаження: 07 Січня 2026
Останнє оновлення 4 днів назад
Last Downloaded:

All Versions

 0.6 (current)

276 завантажень , 43,0 кБ
4 днів назад

 0.5

304 завантажень , 36,0 кБ
7 днів назад

 0.4

285 завантажень , 31,0 кБ
13 Січня 2026

 0.3

604 завантажень , 11,0 кБ
08 Січня 2026

 0.2

409 завантажень , 7,0 кБ
07 Січня 2026

92 коментарі