Vehicles are saved purely as the game sees them, not as my mod controls them.
Yes this mod works with other mods that can control vehicles like doors/lights/engine and what not. The only way is if I create said script as a feature to this mod, which I will if there are enough requests.Ĥ. No I cannot save other script settings from vehicles like nitro. 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.ģ. 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. Decompile my script and take a peek if you dare. The phone was made by reverse engineering the decompiled scaleforms and game scripts to re-create the phone from scratch. 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. I did this on purpose for performance reasons as this script saves quiet often.
You cannot easily change vehicle data outside of the game. Trailers (Will be soon, as well as vehicle attachments on them)ġ. Car attachments (Objects attached to cars)Ĥ. (Again, I am missing proper natives to fetch the data off the ped, I can only set the data)ģ.
Multiplayer skin options like hair color, overlays, etc. 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)Ģ. Vehicle you’re inside of (when you restart game you will spawn back in the car)ġ. Lights (Sirens, high-beams, low-beams, off)Ģ. Xenon Colors, Bennys, Neons, Tire Smoke, Boost)ġ1. Make sure you have the ScriptHookVDotNet3.dll in your main GTAV folderĭrop the entire folder (FOLDER ITSELF ASWELL) into the “scripts” folder.Įx: scripts/AdvancedPersistence/AdvancedPersistence.dllģ. 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)
SHIFT & Z = Bring up phone (Left-click to click, Right-click to go back) (Do note that the pressing is weird, first hold down SHIFT completely, then press and release T/Z while still holding shift)
This mod works great with this: Auto Center Steering PatchĪll options are modifiable in the included config file. It will detect vehicles it can save, if none are detected I can’t help, the mod owner didn’t make the vehicles persistent. With both mods installed, simply run the phone app, exit the game, uninstall the other mod, and you’re good to go. Remember, if you find an issue, report it.Ī built-in converter phone app is included for you to convert your saved vehicles from other mods (if they are written properly). Included is a lore-friendly phone to manage all of your vehicles (and even request them to be brought to you).ĭo not be afraid to use-and-abuse this script. Quickly and efficiently track/untrack any vehicle without hesitation. Now you can safely and reliably save your vehicles and player without a worry. This mod exists solely because I got annoyed by the other mods like it. Car Marketplace app (Sell or buy vehicles) Destroyed world objects (Take this with a grain of salt, I’m still trying to figure some things out)ĥ. 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.)Ĥ. Upcoming: (I wasn’t kidding on the advanced part)ġ. Player-switching support (There’s so many variables at play, I might’ve missed something) If you are inside a tracked vehicle and restart your game, you will respawn back inside the vehicleĩ. Vehicle management (Through the phone apps, you can do some cool things, make sure you check it all out)ĥ. A custom phone (The normal game phone still works)Ĥ. Disables Michael’s/Franklin’s/Trevor’s personal vehicles (The script that spawns them gets nuked)Ģ. (If it happened after a certain version, let me know!)ġ. IF YOU EXPERIENCE SERIOUS PERFORMANCE ISSUES LET ME KNOW, THE SCRIPT IS SOMEWHAT OPTIMIZED BUT IT CAN BE BETTER. SUGGESTIONS ARE ALWAYS WELCOME, THIS MOD WILL CONTINUE TO GROW. PLEASE REPORT ANY BUGS YOU FIND (include either my log file or scripthookvdotnet’s). Special thanks to: DirtSpray for extensive bug reporting & fellow users for suggestions/bug reports.
ALWAYS KEEP YOUR SCRIPTHOOKVDOTNET UPDATEDĪlways download the latest version (1.60) and read everything before you install.