Select one of the following categories to start browsing the latest GTA 5 PC mods:
@CnK Yeah trying to figure it out. I ported it over to regular ScriptHookV and runs much better but still encountering crashes. Trying to find why, it doesn't seem to relate to any natives it just happens at random when cycling peds.
Yeah trying to figure it out. I've been adding stuff to it but unfreezing causes crashes at random. I think it's when you're driving at high speeds. Something to do with peds freaking out.
Just because Rockstar can do it doesn't mean we can. The Rockstar Editor is part of the game engine and can do whatever it wants, we have limited access to the game. Freezing animations seems to be impossible and so is freezing many other things like effects/bushes/trees/water.
@Him! Pretty much.
@MadBullBunny No controller support yet.
@nm710 It's almost random though which is annoying. It's a ped flag but it only works sometimes so I'm going to have to force peds to stand still in the next update.
@Reyser It'll be tough as I have to cycle through hundreds of doors at once but I think I can do it.
@FurRose No it auto disables when you're driving.
@MrGTAmodsgerman The script runs once you press the key. There will always be an FPS loss as it has to cycle through all the vehicles and calculate distances. Pre-activating the cycle will cause an FPS loss regardless. It also has to calculate distances between door bones to the player.
As for animation sync it's not async, hood/trunk doors are timed to open a few milliseconds after the animation starts playing. The timing is done synchronously on tick. It's pretty hard to time it perfectly. The normal doors do not run any timing and are instantly opened/closed at the same time as the animation.
I will try to touch up the animations.
@bgvn7 I somehow managed to upload the wrong file like an idiot. Download 2.1 again when it's available.
@Abbas_11 Apparently I can't pause the script from within the constructor. I was doing that to load the animation dictionary that the mod uses.