PEV: DT SWAT Interior Fix 1.2.0 Release
4.015
81
-
Domingo 27 de Febreiro de 2022
Make sure to join our Discord for suggestions, bug reports, support, and a look at what's going on. "https://discord.gg/apm3xCcg82".
=== About Project Enhancement V ===
"PEV is a collection of modifications to enhance Grand Theft Auto V without the use of scripts with many hours formulating ideas, conducting analytical researches, investigations, and tests, as well as working around the limits through every loophole we can possibly find to push the game's native files to its limits."
=== About DT SWAT Interior Fix ===
"A modification provided by the PEV TEAM for SWAT to function properly when inside an interior."
=== In-Depth Information ===
So some of you may have noticed or some of you have not, but since the release of Grand Theft Auto V Rockstar has either left a bug or a feature half implemented for interiors. It seems as if the attempt of making cops wait outside and for swat to rush in was the idea, but looks like the idea was scrapped and made DT_PoliceAutomobile ignore the flags set by those interiors. However, DT_SwatAutomobile and DT_SwatHelicopter continues to read the flags and causes the issues listed below,
- DT_SwatAutomobile will spawn at half the amount of units at 3 stars defined in dispatch.meta, with 4 increasing them, and 5 allowing the amount of units to be maxed out defined in dispatch.meta
- DT_SwatAutomobile peds will de-load and freeze outside the interior, unless a portal (a door or a window with a clear view) is exposed to the exterior; Rendering Swats unable to push inside interiors unless a cop opens the door first.
- Certain interiors have certain flags ticked on, causing DT_SwatAutomobile to spawn in differently. (In some cases, only half the amount of peds in each DT_SwatAutomobile vehicle.)
- Due to DT_SwatAutomobile peds de-loading there are cases of invisible swats that have not loaded back properly for whatever reason.
- If DT_SwatHelicopter are in the process of rappelling, and if the player enters an interior, the task will abruptly stop due to DT_SwatHelicopter peds de-loading. If the player exits an interior, the same DT_SwatHelicopter peds will load back in, and fall to their deaths.
A quick video to demonstrate DT SWAT De-Loading in Action
https://streamable.com/tq1n0i
However, upon a few months of off and on investigating, the source of the issue was found, and successfully patched for almost every interior in the game allowing DT_SwatAutomobile and DT_SwatHelicopter to function properly with notable changes in behaviors as listed below,
- DT_SwatAutomobile can now drive to your location, deploy, and proceed on-foot without freezing. (deloading).
- DT_SwatHelicopter can now rappel properly when inside an interior, and on-foot rappelled units will no longer despawn entirely.
- Fixes only some bugs related to ghost peds wielding guns due to SWAT loading back from de-loading not properly.
=== Installation ===
1.) Run, and install the .OIV package provided in the winrar file.
2.) Go and play.
For MLO mods, please read this. If the interior has room flags other then flag 96, and flag 100, expect DT_SWATAUTOMOBILE to not function properly with the issues listed above occurring.
=== Credits ===
Thanks Yorpie, for helping me get off my ass to fix this issue and for him listing the interiors needing to be fixed.
=== Changelog ===
Build 06-12-2022
- Touched up some parts of the Zancudo Tower. Removed unwanted flags.
- Fixed recycling plant interior. Removed unwanted flags.
Build 1.2.0
- Touched up some parts of the FIB upper floor office interiors. Removed unwanted flags.
Build 1.1.0
- Touched up some parts of the sewer system. Removed unwanted flags.
Build 1.0.1
- Minor tweaks to .OIV. Updated Information. For those who have downloaded release 1.0, this does not matter.
Build 1.0
Modified for Project Enhancement V
DO NOT DISTRIBUTE WITHOUT PERMISSION OF THE AUTHOR!
First Uploaded: Domingo 13 de Febreiro de 2022
Last Updated: Luns 13 de Xuño de 2022
Last Downloaded: 13 horas
37 Comments
More mods by The PEV Team:
- Ped Config
- Sound
- Sound
Make sure to join our Discord for suggestions, bug reports, support, and a look at what's going on. "https://discord.gg/apm3xCcg82".
=== About Project Enhancement V ===
"PEV is a collection of modifications to enhance Grand Theft Auto V without the use of scripts with many hours formulating ideas, conducting analytical researches, investigations, and tests, as well as working around the limits through every loophole we can possibly find to push the game's native files to its limits."
=== About DT SWAT Interior Fix ===
"A modification provided by the PEV TEAM for SWAT to function properly when inside an interior."
=== In-Depth Information ===
So some of you may have noticed or some of you have not, but since the release of Grand Theft Auto V Rockstar has either left a bug or a feature half implemented for interiors. It seems as if the attempt of making cops wait outside and for swat to rush in was the idea, but looks like the idea was scrapped and made DT_PoliceAutomobile ignore the flags set by those interiors. However, DT_SwatAutomobile and DT_SwatHelicopter continues to read the flags and causes the issues listed below,
- DT_SwatAutomobile will spawn at half the amount of units at 3 stars defined in dispatch.meta, with 4 increasing them, and 5 allowing the amount of units to be maxed out defined in dispatch.meta
- DT_SwatAutomobile peds will de-load and freeze outside the interior, unless a portal (a door or a window with a clear view) is exposed to the exterior; Rendering Swats unable to push inside interiors unless a cop opens the door first.
- Certain interiors have certain flags ticked on, causing DT_SwatAutomobile to spawn in differently. (In some cases, only half the amount of peds in each DT_SwatAutomobile vehicle.)
- Due to DT_SwatAutomobile peds de-loading there are cases of invisible swats that have not loaded back properly for whatever reason.
- If DT_SwatHelicopter are in the process of rappelling, and if the player enters an interior, the task will abruptly stop due to DT_SwatHelicopter peds de-loading. If the player exits an interior, the same DT_SwatHelicopter peds will load back in, and fall to their deaths.
A quick video to demonstrate DT SWAT De-Loading in Action
https://streamable.com/tq1n0i
However, upon a few months of off and on investigating, the source of the issue was found, and successfully patched for almost every interior in the game allowing DT_SwatAutomobile and DT_SwatHelicopter to function properly with notable changes in behaviors as listed below,
- DT_SwatAutomobile can now drive to your location, deploy, and proceed on-foot without freezing. (deloading).
- DT_SwatHelicopter can now rappel properly when inside an interior, and on-foot rappelled units will no longer despawn entirely.
- Fixes only some bugs related to ghost peds wielding guns due to SWAT loading back from de-loading not properly.
=== Installation ===
1.) Run, and install the .OIV package provided in the winrar file.
2.) Go and play.
For MLO mods, please read this. If the interior has room flags other then flag 96, and flag 100, expect DT_SWATAUTOMOBILE to not function properly with the issues listed above occurring.
=== Credits ===
Thanks Yorpie, for helping me get off my ass to fix this issue and for him listing the interiors needing to be fixed.
=== Changelog ===
Build 06-12-2022
- Touched up some parts of the Zancudo Tower. Removed unwanted flags.
- Fixed recycling plant interior. Removed unwanted flags.
Build 1.2.0
- Touched up some parts of the FIB upper floor office interiors. Removed unwanted flags.
Build 1.1.0
- Touched up some parts of the sewer system. Removed unwanted flags.
Build 1.0.1
- Minor tweaks to .OIV. Updated Information. For those who have downloaded release 1.0, this does not matter.
Build 1.0
Modified for Project Enhancement V
DO NOT DISTRIBUTE WITHOUT PERMISSION OF THE AUTHOR!
First Uploaded: Domingo 13 de Febreiro de 2022
Last Updated: Luns 13 de Xuño de 2022
Last Downloaded: 13 horas
-
@Matushka A task can only be forced via external forces such as a script or hook. Cant do it within native files. I know a guy who attempted to use this for cops to arrest peds actually via a hook through .asi (not entirely the same as a script, as it can run without scripthook) but said trying to implement it was very difficult.
Luns 14 de Febreiro de 2022 -
@Matushka Alexgurrie has an entire deposit of dump structs of hashes to readable flags and etc. You can find the dropbox here, https://github.com/alexguirre/gtav-DumpStructs/tree/master/dumps/gtav. But I also did my own research using the hashcollider tool and uncovered some more.
Luns 14 de Febreiro de 2022 -
-
@Jayden585 Thanks my guy, I'm going to look more into this. I'll come up with more info (and hopefully with a script of my own lol).
Martes 15 de Febreiro de 2022 -
Absolutely great mod, the only issue is that it conflicts with Map Fixes.
Venres 18 de Febreiro de 2022 -
@Black_Knife923 Yeah quite obvious that will be a problem. Maybe I will look into some compatibility resolves but I really dont feel like consistently updating a mod due to another mod updating and then stuff breaking.
Venres 18 de Febreiro de 2022 -
@Jayden585 Yep making mods compatible with each other is time-consuming, Thanks for the reply.
Sábado 19 de Febreiro de 2022 -
@Matushka Yeah the type of mods that Jayden makes are mostly changes to the game files. Currently the game files do not allow IV style arrest AI. I have been able to make a prototype for a possible mod in the future, but not sure about some things. https://youtu.be/P5B2t0hB9jY. Great AI mod btw.
Sábado 19 de Febreiro de 2022 -
@Matushka It's also not that simple as "removing flags for only players to get arrested". or "adding flags for peds to be arrested as well".
Sábado 19 de Febreiro de 2022 -
@briancatmaster I understand that, I'm just theorizing on how that can be done.
Luns 21 de Febreiro de 2022 -
-
can you add compatibility with https://www.gta5-mods.com/misc/vanilla-expanded-dispatch-beta-1-0 ?
Martes 14 de Xuño de 2022 -
@aphextwin432 This mod does not affect dispatch files. this mod should compatible.
Martes 14 de Xuño de 2022 -
@Jayden585 try asking Mkeezay30 on discord about it. That guy knows more about the code for this game than anybody I've ever seen. Did you know that there were police call outs for a zombie apocalypse? Yeah, that's hidden in the game files somewhere. If anyone could help you figure out how to make cops arresting NPCs work, it could be him. I can give you a link to the discord if you want.
Sábado 8 de Abril de 2023 -
-
@squidninja Dunno why you would play SP missions with mods, but i assume not since mission-spawned swats will use a defensive behavior and or have their tasks forced by mission script (.ysc) whom we can't compile those afaid.
Venres 14 de Abril de 2023 -
DT_SwatHelicopter hello, I don’t drop Swat from a helicopter, it arrives and just weighs above the ground without lowering the ropes, but if it decides to land on the ground, Swat comes out of the helicopter, checked with mods and without an error one version of the game 2845 but on version 1180 the helicopter lowers the ropes without problems. Am I the only one with this problem?
Xoves 6 de Xullo de 2023 -
I get this error when i try to install it with Package installer:
Unable to open ARCHIVE with path "mods\update\update.rpf" in parent archive "Q:\Steam\steamapps\common\Grand Theft Auto V\", return code "CorruptedFile". RPF_INVALID_ENTRY_3: Invalid archive entry sizeVenres 24 de Novembro de 2023 -
It would be extremely helpful for anyone to report any interiors that may cause issues listed in the description below. It helps build for what this mods purpose is, and I may have missed some along the way. Thanks.