Everything posted by rw18
-
Sergeant
This is on purpose. Notice that the only key that is different is the one that opens the menu. In this way, you can use the same keys to scroll in Sergeant and PoliceSmartRadio by opening one or the other - no need to remember new keys. As long as you don't open both at the same time, of course. If you really don't like it, you can always change the keys, as @SpickitySpock said. The whole idea is to be able to give specific commands to specific vehicles, not just the one that happens to be close to you. That will change if I ever see a cop directing traffic by shouting "whoever is closest to me, pull over! No, not you. Wait, I'll move closer to your car so I can tell you to pull over!" This is a weird one, I may have dropped the ball somewhere. Did you happen to disable features in the INI file?
- 101 comments
- 18 reviews
-
[Released] Sergeant
Yes, it's a requirement for the mod, and you need its functionality to declare the scene.
-
Sergeant
A critical error is probably popping up somewhere, which requires that you reset the script (which is what INSERT does). If you want, send me the following files for the session in the state they are AFTER you get the error, and I'll see if I can find the issue: - ScriptHookVDotNet2.log - Sergeant.log - ScriptHookV.log - ContextualMenuAPI.log None so far. Make Peds Calm Again tells NPCs to do one thing, Sergeant tells them to do another. Make Peds Clam Again wins.
- 101 comments
- 18 reviews
-
Sergeant
Right now that'd be too much work for too little reward, since StopThePed replaces LSPDFR's ped stopping mechanic. If/when I get around to adding the option to command individual cops, you'll probably be able to assign them yourself to guard any ped.
- 101 comments
- 18 reviews
-
LAPD Ford Police Interceptor Utility (2014) [ELS/NON ELS]
I made the changes in the vehicles.meta in update.rpf and it is now fixed, thanks! However, I would've expected the vehicles.meta in the DLC pack to override those settings. It's a shame; I really like the self-contained nature of DLC packs, which is another reason why I really like how you presented this vehicle.
- 563 comments
- 116 reviews
-
[Released] Sergeant
I've just uploaded 0.7 and it's now undergoing approval. It fixes almost all previously known issues, and has a couple of new features that make securing a scene much more immersive and make your partners more useful. What's New in Version 0.7 - FEATURE: Cops will now get scene assignments even if they are in a vehicle (they'll stop and get out) - FEATURE: When securing a scene, roaming cops will be reassigned to any new corpse/arrestee that is detected - FIX: Cops now respond to hostilities while securing a scene if attacker is inside the scene radius - FIX: Cops now correctly face corpses - FIX: (hopefully) When on/under bridges/trees/slopes, cops securing a scene no longer go to the wrong "height" or start continuously falling or getting swollen by the ground.
-
Sergeant
Then it probably means there's an error, but I still think it's probably caused by something that is improperly installed. If you want, do what you describe above and send me the following files in the state they are right after that happens: - ScriptHookVDotNet2.log - Sergeant.log - ScriptHookV.log - ContextualMenuAPI.log EDIT: you can find them all in your main GTA V folder. I don't use either, but I'm sure one of Albo's mods I've got installed already makes peds calm. Traffic Policer maybe?
- 101 comments
- 18 reviews
-
Sergeant
Make Peds Calm Again is probably constantly telling peds to stay put while Sergeant is telling them to move. The only way to prevent this is for the other mod to stop trying to control peds while Sergeant is commanding them. While I can't do much in that regard, I'm thinking how I can at least expose information that other mods can easily use to know which peds are under Sergeant's control at any given time. I've got a few ideas, but right now I want to focus what little free time I have to extending Sergeant's features.
- 101 comments
- 18 reviews
-
Sergeant
It's definitely a dependency problem. Things go where you say, so I can't say where you are going wrong. You don't mention ScriptHookV, so if you haven't, make sure you installed that as well (ScriptHookV and ScriptHookV.NET are two different things). In addition, you don't need to change your keybindings - I use the same ones as Smart Radio (except for 'C' which brings up the menu) since it's more comfortable that way and you don't need to remember new keys other than what you are used to. No need to update. For reference, I'm still on GTA V 1.41, RAGE 0.57, SHV 1.0.1290.1 and SHV.NET 2.10.3. Make sure you installed all dependencies correctly (people tend to forget to install the Community Contextual Menu API). Even if Sergeant was completely broken, you should still be able to bring up the menu by pressing 'C', since that's handled by CCMAPI.
- 101 comments
- 18 reviews
-
LAPD Ford Police Interceptor Utility (2014) [ELS/NON ELS]
I tried it during the daytime and moved the camera; now I see what you mean. Yes, it's replacing police3, and I didn't touch your original files. Maybe there's something else I installed that is conflicting with it... your dlc package is the last one in my dlclist however, so it's weird. If I ever fix it, I'll let you know what it was.
- 563 comments
- 116 reviews
-
Sergeant
My guess is it's just because this mod and CCMAPI are compiled for a slightly older version of ScriptHookV / SHV.NET, since I'm still on 1.41. I guess it'll be fixed when I eventually get around to updating. What versions of SHV, SHV.NET and GTA V are you using? They should do exactly that, so it is indeed conflicting with another mod. I don't use Traffic Stop Backup, but from what I've read, it seems like a prime candidate to be the source of the conflict. When the "Secure Scene" order is terminated, control over the cops is returned to LSPDFR. If the cops were not fully controlled by LSPDFR in the first place, but by some mod instead, they will not resume their previous activity. There is really no way around this, other than actually working in collaboration with each mod's developer (since any workaround needs to be implemented on the offending mod's end, not on Sergeant). Yes; it sucks, but I've decided to leave it like that, at least for the time being. This is so as not to mess with what LSPDFR wants to do until I'm certain that cops are specifically heading to the scene. I'll probably experiment with taking control of cops while they are in their cars as the mod matures. Oh boy, I guess I'll just stop adding that badge to the promo media. It looks nice, but didn't expect so many people to get confused.
- 101 comments
- 18 reviews
-
Sergeant
It *should* work with RDE, but since I'm not using it, I can't say for sure until someone says it does. This mod does NOT touch the backup function at all - all it does is detect any pedestrian on scene that is in the "cop" relationship group and takes control of it until the "Secure Scene" order is terminated. So TL;DR, backup is handled by any other mod; Sergeant only takes control of backup once it arrives on scene.
- 101 comments
- 18 reviews
-
Sergeant
The commands will only appear when you are on duty. If you are on duty and still get no commands, it means that something's wrong - I have identified a problem that will cause some players to experience an unreliable behavior (such as this one) across game sessions and am working on a fix. In the meantime, you can set "LSPDFRenabled = False" in \Scripts\Sergeant.ini to get the commands right away. The vehicle commands should work fine in that case, but you may still experience problems with the Secure Scene command (again, a fix is coming soon). Make sure you have installed all dependencies properly, in particular the Community Contextual Menu API. This specific mod does not handle the key press or the menu, so it's 100% a dependency issue.
- 101 comments
- 18 reviews
-
LAPD Ford Police Interceptor Utility (2014) [ELS/NON ELS]
It's great now; I really appreciate it! As for the dashboard, it probably looks strange to you because I'm using a modified visualsettings.dat, which changes the dashboard's brightness, as well as a custom 1st person view that changes the camera position, so the top of the gauges is hidden by the top of the steering wheel. Just in case, I checked all the values you indicated, and they are all just as you mention.
- 563 comments
- 116 reviews
-
Sergeant
- 26,956 downloads
- Version 0.7
Overview Sergeant offers functionalities that give the player more 'middle management' command over the world (hence its name). Features - Command Vehicles (See video HERE!!!) : Give commands to individual vehicles, including "Stop", "Go and Stop" and "Go and Drive". - Secure Scene (See video HERE!!!) : Don't you hate being left all by yourself to deal with crime scenes? Not anymore. When you give the order to "Secure Scene," all traffic in the surrounding area will immediately stop. Any cop in the vicinity will either tend to the bodies, guard suspects, or roam the area doing stuff. If there are no cops around, or not enough, you can always call for backup as you normally would, and any cop arriving at the scene will get an assignment (unless there are already enough cops assigned - you won't have 100 cops around just for 1 suspect). Once you have set up your cones and barriers (like with Traffic Policer), you can order all traffic to move again while the "scene" is still in place. All features are fully configurable from the included INI file. Requires NOTE: if you press "C" and nothing happens it means that your requirements are not properly installed - LSPDFR 0.3.1.0 - RAGEPluginHook 0.51 or higher - Script Hook V (https://www.gta5-mods.com/tools/script-hook-v) - Community Script Hook V .NET (https://www.gta5-mods.com/tools/scripthookv-net) - Community Contextual Menu API v0.9 or above (https://www.gta5-mods.com/tools/community-contextual-menu-api) Installation Unzip to your MAIN GTA V FOLDER, maintaining the folder structure in the ZIP file. Use Read the included PDF. Planned Features - Recruit and give orders to cops. - Give orders to pedestrians. Known issues - When corpses are close to vehicles, cops occasionally try to get under the vehicles, causing them to fly in the air. Mod compatibility - This mod may conflict with certain aspects of other mods. Nothing too serious that I know of (e.g., vehicles actively handled by other mods that are ordered to stop by this mod may not keep driving when ordered to do so later, or cops may refuse to secure a scene if they are doing stuff requested by other mods).- 101 comments
- 18 reviews
-
LAPD Ford Police Interceptor Utility (2014) [ELS/NON ELS]
I love what you did with this truck, thank you! I've got just one beef with it - I play in 1st person with dark nights, and the interior lights not only bother me at night, but they also make everything darker when HDR kicks in. I see that they can't be turned off individually, since they are linked to the headlights. Is there anything that I can modify, however hacky, to get rid of them or at least tone them down (without affecting anything else)?
- 563 comments
- 116 reviews
-
[Released] Sergeant
I'm not privy to the internals of Custom Backup, but it *should* work. Sergeant will basically detect any pedestrian whose relationship group is "cop" and take ownership temporarily until the Secure Scene order is terminated; then that character will be released back to LSPDFR's control. Since I see no reason for Custom Backup NOT to assign backup to the "cop" relationship group, there should be no issue, but until it's actually tested, don't quote me on that.
-
Getting ScriptHookVdotNet script to talk to LSPDFR/Rage script
Considering the limitations, those are not actually bad ideas.
-
[Released] Sergeant
Introducing... Sergeant by Razorwings18 The idea behind Sergeant is to provide functionalities that give the player more 'middle management' command over the world (hence its name). At the time, Sergeant offers two functionalities. The first is being able to give commands to individual vehicles, thereby having the power to truly manage traffic: The second one gives players the "Secure Scene" order. Don't you just hate it when you've just had a huge firefight, have suspects, dead bodies and pools of blood everywhere... and all other cops make like a tree and f**k off, leaving you all alone to deal with the mess? Not anymore. Once you are code 4 (say, you've just finished cuffing your suspects and have a couple of bodies lying around), you can give the order to secure the scene. All traffic in the surrounding area will immediately stop. Any cop in the vicinity will either tend to the bodies, guard suspects, or roam the area doing stuff. If there are no cops, or not enough, you can always call for backup as you normally would, and any cop arriving at the scene will get an assignment (unless there are already enough cops assigned - you won't have 100 cops around just for 1 suspect). Once you have set up your cones and barriers (like with Traffic Policer), you can order all traffic to move again while the "scene" is still in place. This mod uses the Community Contextual Menu API (https://www.gta5-mods.com/tools/community-contextual-menu-api), so ScriptHookV and ScriptHookV .NET are also a requirement. I've had the script ready for a while and have been playing with it for days, and it's really a whole new experience. I just need to find the time to build the package and release it.
-
Getting ScriptHookVdotNet script to talk to LSPDFR/Rage script
Thanks PNWParksFan, this info will also help me with future projects. I did solve this issue using GTA V itself as a 'middleware' between SHV and RAGE; kind of like a SOAP messaging system for interoperability. I set up a "listener" on each side that is constantly checking for blips attached to the player that have very specific attributes. A blip with a certain set of attributes (say, type 'epsilon', 27% alpha) will mean something specific to the counterpart. Since the scale of these blips is always minimal, and it is present for only milliseconds until the other side catches it and removes it, the player is never the wiser. I used blips instead of decorators because at first I thought I'd be able to easily send whole strings, but unfortunately that was not the case.
-
Getting ScriptHookVdotNet script to talk to LSPDFR/Rage script
I'm trying to get my script, made in ScriptHookVdotNet, to talk to my Rage script made for LSPDFR. Did anyone get to do something like this successfully? What I tried is having 3 scripts: - ScriptHook .NET script (NETscript) - Wrapper (WrapperScript) - Rage script (LSPDFRscript) However, the Wrapper is throwing a... System.IO.FileNotFoundException: Could not load file or assembly 'LSPDFRscript, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A closer look at each script: NETscript (the ScriptHook .NET script - located in <GTA V MAIN FOLDER>\Scripts\) I think adding the entire script here would just be unnecessary clutter; just know that it references the WrapperScript DLL, and... At the beginning: using WrapperScript; And the only line that calls a WrapperScript method when a key is pressed: UI.Notify(WrapperScript.Wrapper.IsPlayerOnDuty().ToString()); WrapperScript (the wrapper between both scripts, located in <GTA V MAIN FOLDER>\Scripts\) This one references "LSPD First Response.dll", "RagePluginHookSDK.dll" and "LSPDFRscript.dll" using System; using LSPDFRscript; namespace WrapperScript { public class Wrapper { public Wrapper() { } public static bool IsPlayerOnDuty(){ return LSPDFRscript.Main.playerOnDuty; } } } LSPDFRscript (the Rage/LSPDFR script located in <GTA V MAIN FOLDER>\Plugins\LSPDFR\) References "LSPD First Response.dll", "RagePluginHookSDK.dll" using LSPD_First_Response.Mod.API; using Rage; namespace LSPDFRscript { public class Main : Plugin { public static bool playerOnDuty; public override void Initialize(){ Functions.OnOnDutyStateChanged += OnOnDutyStateChangedHandler; } public override void Finally() { } private static void OnOnDutyStateChangedHandler(bool OnDuty) { Game.DisplayNotification("Seargeant reports duty status is " + OnDuty.ToString()); playerOnDuty = OnDuty; } public static void SetCopAsBusy(Ped cop, bool busy){ Functions.SetCopAsBusy(cop, busy); } } } Both NETscript and LSPDFRscript work perfectly on their own, but as soon as I press the key and the wrapper is called, I get the FileNotFoundException. Any help will be most appreciated.