If updating to v1.0.1, you should replace your .ini with a fresh one from the download. Many important default settings were changed.
Caution: This plugin is EXPERIMENTAL.
This may cause a performance hit on your game, depending how you adjust the settings in the included .ini file. The default settings should provide functionality without impacting performance aside from possible drops of 2-3 frames and more at times. If you get less performance than this, please PM me.
You may want to back up your save file. Note that this does not have a chance of messing up your save file unless you save over it in-game. I'm not sure if this actually can mess up your save, but if you want to be on the safe side, go to "C:\Users\<username>\Documents\Rockstar Games\GTA V\Profiles\<some number>" and back up the files with SGTA in their name.
Information
Annoyed when you get out of your stolen car and walk a few feet away, only to turn around and find it gone? Or maybe you just stopped a criminal's car, and he ran a few blocks before you caught up. Maybe when you got back to the suspect's vehicle, you find that it's mysteriously gone, along with his friend's corpse, who was more violent and paid the price.
Now, you don't have to worry about these random disappearances. Once you've loaded this plugin, it will automatically add anything within a radius you set to a list. Anything in the list will be kept persistent and won't disappear until you get far enough away. Once you do, it will be removed from the list and therefore, it will no longer be persistent.
No longer do you have to worry about crime scenes looking like nothing ever happened.
Persistence - the continued or prolonged existence of something.
Installation and Usage
You need the Rage Plugin Hook for this to work. This has been tested with version 0.42.969.8470 , but it should work with newer versions. If it does not, send me a message so I can fix it. Again, I'd like you to keep in mind that this is experimental. The game wasn't meant to have this many entities all persistent at once. Use at your own discretion.
When you have that installed, drop both the .dll and the .ini into your Plugins folder. Once you're in-game, press F4 to bring up the Rage Hook console, and type 'LoadPlugin EntityPersistence.dll' (without the apostrophes). It will probably say something about the plugin not being verified. Just hit the up arrow, and then enter again. It should load correctly. Everything after that is taken care of by the plugin itself. This does include a console command to unload the plugin gracefully. By that, I mean it removes persistence from all entities that were made persistent before unloading. I recommend using this before unloading all plugins or exiting the game.
Configuration
In the included .ini file, you can edit multiple things. The default settings seem to work fine with the lowest performance drop, but if you find you want to change something, be sure to read the comment associated with it carefully to know what impact it might have. The comments show the default setting and what it was tested at. The default radius values are pretty large already, so if you encounter any performance problems, you can tone those down by increments of 32 (personal preference, you can change them by whatever you like). The options are explained in the .ini but I'll put the non-advanced ones down here anyway.
- VehiclePersistence - Determines if vehicles will be added to the persistence list.
- VehiclesUnoccupiedOnly - Only add vehicles if they're unoccupied.
- PedPersistence - Determines if pedestrians will be added to the persistence list.
- PedsDeadOnly - Only add peds if they're dead.
- PersistenceRemoveRadius - The distance from the player at which to remove persistence from entities.
- PersistenceAddRadius - The distance from the player at which to add persistence to entities.
- OnlyOnFoot - Whether entities are made persistent at any time, or just when the player isn't in a vehicle.
- RemoveOnPersistenceRemove - Determines if entities will get removed when their persistence gets removed. More of a fail-safe than anything.
Planned Features
- Performance improvements
- More performance improvements
- Even more performance improvements
Miscellaneous
Please, give me any bug or crash reports. I'll try my best to fix them. If you have a great idea of something that would work well with the system already in place, then go ahead and tell me; if I think it would fit well, then I'll do my best to add it.
What's New in Version 1.0.1
Released
- If PersistenceRemoveRadius is zero, entities will not lose persistence until the max count is reached, and then they will lose persistence in the order they gained it as the list is added to
- Updated default values in .ini. It is recommended to replace your current .ini with a new one from the download and tweak as you see fit.
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now