STRP V Addon Spawner (.OIV Installer) V1.2.3274

STRP V Addon Spawner

This mod lets you easily spawn and configure addon vehicles in GTA V using a simple menu system.

Key Features:
Spawn Addon Vehicles: Easily spawn any addon vehicle from a pre-defined list.
Customizable Settings: Adjust preferences such as whether to spawn inside the vehicle, prevent vehicle despawning, and add a blip to the spawned car.
Maximum Vehicle Limit: Control the maximum number of vehicles you can spawn at once.

How to Use:

Open the Menu: By default, press F5 to open the menu. This can be customized in the .ini file.

Main Menu Options:
Spawn Addon Vehicles: Opens the submenu to select and spawn vehicles.
Settings: Opens the settings menu to configure your preferences.

AddOnCars.list Format:
To add new vehicles to the mod, edit the AddOnCars.list file located in ./scripts/STRPVAddon/. The file should contain lines in the following format:

ModelName = RealCarName
ModelName: The internal model name of the vehicle.
RealCarName: The name that will appear in the menu.

Example:
bmwx7 = BMW X7
lamborghiniurus = Lamborghini Urus

AddOnCars.ini Configuration:
The AddOnCars.ini file located in ./scripts/STRPVAddon/ allows you to customize various settings:

SpawnInsideVehicle: (true/false) Whether to spawn inside the vehicle.
PreventVehicleDespawn: (true/false) Prevent the vehicle from despawning after you leave it.
AddBlipToSpawnedCar: (true/false) Add a map blip for the spawned vehicle.
MenuOpenKey: The key to open the menu (e.g., F5).
MaxVehicles: Set the maximum number of vehicles you can spawn (e.g., 1, 2, 3, 4, 5, Unlimited).

Requirements:
LemonUI
ScriptHookVDotNet v3 (Nightly Build)
Latest ScriptHookV

Installation:
Simply install using .OIV installer
Add your custom vehicles to the AddOnCars.list file.
Adjust the settings in the AddOnCars.ini file to fit your preferences.

Changelog:
Changelog v1.2.3274
Improvements
AddOnCars.txt Validation Checker:
– Ensures entries in AddOnCars.txt contain only letters, numbers, hyphens (-), and underscores (_).
– Invalid entries trigger in-game notifications and are logged.

Logging System Rework:
– Optimized logging to prevent excessive log creation and ensure relevant information is captured.

Notifications
In-game Notifications:
– Alerts for AddOnCars.txt formatting issues are displayed in-game and logged.

Changelog v.1.1.3274
Changes
Changed AddOnCars “.list” to “.txt” for easier accessibility.
Fixed various logging issues such as the “forgot to add dlcpack into dlclist.xml” message when no model is found.
Improved logging for better debugging and issue tracking by removing excessive OnTick logs.

Additions
Added a feature to display a marker and vehicle name above spawned vehicles when the “Spawned Vehicles Controller” menu is open.
Added a setting to toggle the display of markers and vehicle names at all times, even when the menu is not open.
Added Teleport To Vehicle and Delete Vehicle options for spawned vehicles within the SVC “Spawned Vehicles Controller” menu.
Added functionality to show markers when either the “Spawned Vehicles Controller” menu or any vehicle sub-menu is open.
Added a “Teleport Into Vehicle” option for spawned vehicles within the vehicle’s submenu.

Adjustments
Improved menu navigation and handling to ensure markers are only shown when relevant.
Implemented handling for complex vehicle names containing special characters like brackets and spaces.
Adjusted marker display to use a vehicle blip marker for better visibility and aesthetics.
Combined vehicle name and handle number for display above markers, while ensuring the handle number can be hidden if desired.
Ensured markers are removed when the menu is closed, unless the setting to show them all the time is enabled.
Improved the spawning mechanism to check for valid vehicle models, preventing script crashes.
Updated Dependencies SHVDN3 Nightly Build 114 & LemonUI from v2.1.1 To v2.1.2

Credits:

Crankv2

Download mod

FileFile size
rar STRP V Addon Spawner v1.2.3274692 KB

Leave a Reply

Your email address will not be published. Required fields are marked *