Download Advanced Persistence & Vehicle Management 1.61 GTA 5 Script Mod

GTA 5 Script Mod: Advanced Persistence & Vehicle Management 1.61 (Featured)
GTA 5 Script Mod: Advanced Persistence & Vehicle Management 1.61

ALWAYS KEEP YOUR SCRIPTHOOKVDOTNET UPDATED

Always download the latest version (1.60) and read everything before you install.

Special thanks to: DirtSpray for extensive bug reporting & fellow users for suggestions/bug reports. Keep them coming.

PLEASE REPORT ANY BUGS YOU FIND (include either my log file or scripthookvdotnet’s).

SUGGESTIONS ARE ALWAYS WELCOME, THIS MOD WILL CONTINUE TO GROW.

IF YOU EXPERIENCE SERIOUS PERFORMANCE ISSUES LET ME KNOW, THE SCRIPT IS SOMEWHAT OPTIMIZED BUT IT CAN BE BETTER. (If it happened after a certain version, let me know!)

Features:
1. Disables Michael’s/Franklin’s/Trevor’s personal vehicles (The script that spawns them gets nuked)
2. A custom phone (The normal game phone still works)
3. Vehicle/Player/World persistence
4. Vehicle management (Through the phone apps, you can do some cool things, make sure you check it all out)
5. If you are inside a tracked vehicle and restart your game, you will respawn back inside the vehicle
6. Saves car customization
7. Weapons and components
8. Add-on cars supported
9. Player-switching support (There’s so many variables at play, I might’ve missed something)
10. Controller support

Upcoming: (I wasn’t kidding on the advanced part)
1. Custom vehicle streamer (vehicles that are far away will despawn and respawn when you get close to them, this should yield better performance and allow you to save infinite vehicles without making your game cry.)
2.Trailers (And what’s attached to them)
3. Vehicle damage (On a basic level)
4. Destroyed world objects (Take this with a grain of salt, I’m still trying to figure some things out)
5. Car Marketplace app (Sell or buy vehicles)

This mod exists solely because I got annoyed by the other mods like it. Now you can safely and reliably save your vehicles and player without a worry. Quickly and efficiently track/untrack any vehicle without hesitation. And use a cool phone to control it all.

Included is a lore-friendly phone to manage all of your vehicles (and even request them to be brought to you).

Do not be afraid to use-and-abuse this script. It is not meant to be fragile. Spam actions all you want. Remember, if you find an issue, report it.

A built-in converter phone app is included for you to convert your saved vehicles from other mods (if they are written properly). With both mods installed, simply run the phone app, exit the game, uninstall the other mod, and you’re good to go. It will detect vehicles it can save, if none are detected I can’t help, the mod owner didn’t make the vehicles persistent.

This mod works great with this: Auto Center Steering Patch

All options are modifiable in the included config file.

Default Keys:
(Do note that the pressing is weird, first hold down SHIFT completely, then press and release T/Z while still holding shift)
SHIFT & T = Track/Untrack vehicle
SHIFT & Z = Bring up phone (Left-click to click, Right-click to go back)

Controller:
DPad = Up/Down/Left/Right
DPad Down = Bring phone up
LS & A = Track/untrack vehicle (LS is pressing down the left analog joystick, do it at the same time as pressing A on your Xbox Controller)

Requirements:
ScriptHookVDotNet (Version: 3)
Make sure you have the ScriptHookVDotNet3.dll in your main GTAV folder

Installation
Drop the entire folder (FOLDER ITSELF ASWELL) into the “scripts” folder.
Ex: scripts/AdvancedPersistence/AdvancedPersistence.dll

What Is Persistent:
Vehicles-
1. Location/Rotation
2. Steering rotation
3. Mods (All of them, eg. Xenon Colors, Bennys, Neons, Tire Smoke, Boost)
4. Doors (Closed, Open, Broken)
5. Windows (Closed, Open, Broken)
6. Tires (Flat, Off Rim)
7. Convertible roofs (Up, Down)
8. Extras
9. States (Engine, Lock, Alarm)
10. Dirt level
11. Lights (Sirens, high-beams, low-beams, off)

    • Player

1. Location/Rotation
2. Vehicle you’re inside of (when you restart game you will spawn back in the car)
3. Skin
4. Clothes
5. Health/Armor
6. Weapons and components

  • World

1. Time/Date/Weather/Next Weather

  • Phone

1. Phone Color/Theme/Background

What Isn’t Persistent:
1. Vehicle damage (I’m not good enough to dig into the memory for the vehicle damage matrix, if someone is willing to help out I can include it)
2. Multiplayer skin options like hair color, overlays, etc. (Again, I am missing proper natives to fetch the data off the ped, I can only set the data)
3. Car attachments (Objects attached to cars)
4. Trailers (Will be soon, as well as vehicle attachments on them)

Notes:
1. You cannot easily change vehicle data outside of the game. Sorry. I did this on purpose for performance reasons as this script saves quiet often. You will need to decompile my script (ILSpy), fetch the VehicleData class, then write a custom script to binary deserialize it, change it, and serialize it again and place it back. It is not encrypted or compressed.
2. The phone was made by reverse engineering the decompiled scaleforms and game scripts to re-create the phone from scratch. Decompile my script and take a peek if you dare. However it’s worth mentioning I’ve reverse engineered the entire phone, but it’s not completely included in this mod because it’s not needed. I’m still in the process of creating a common API out of it for other modders to use it like NativeUI, it will take some time.
3. No I cannot save other script settings from vehicles like nitro. I do not have access to those variables. The only way is if I create said script as a feature to this mod, which I will if there are enough requests.
4. Yes this mod works with other mods that can control vehicles like doors/lights/engine and what not. Vehicles are saved purely as the game sees them, not as my mod controls them.

Enjoy.

Info:
“Safe spawn” or “Safe location” is the location your vehicle is at when you lock it or set it through the phone. When you get busted or die, nearby vehicles will be teleported back there. Cars are not saved and spawned based on this location, they are spawned based where they were last in the world.

Bugs:
Story persistent vehicles like Tonya’s tow truck and the helicopter used for stunts get picked up by the converter app
If “RemovePersonalVehicles” is enabled in the settings, purchasable garages, docks, and helipads get broken. There might be other side effects. I cannot fix them, if you need these features you have to disable this setting (AND RESTART YOUR GAME).
==AS OF 1.60==
Mechanic request is broken
If many cars are present on startup, the sorting algorithm has a stroke for a few seconds until it sorts everything based on distance
Phone flickers heavily during streaming process

Author: systematic

Make a difference – rate mods!
4.3 out of 5 stars - 5 votes
Incorrect? Let us know!

Download mod

AdvancedPersistence.zip (55 KB) Safe to download: Check 

Leave a Comment!

Share Your Gameplay!

Submit a screenshot of this mod!

Submit a YouTube video.