Jump to content

Door Control 1.0.0.0

Simple LSPDFR plugin allows you to select when you want to leave the door open after exiting a police vehicle, and other options
   (3 reviews)

2 Screenshots

Door Control

By YobB1n | Version 1.0.0.0 | Released November 25, 2020

Discord Server Link: https://discord.com/invite/Wj522qa5mT


This is a simple LSPDFR Plugin that allows you to change when the door stays open after exiting your police vehicle, and makes managing your police vehicle while on duty a touch easier and more realistic. It requires you to be on duty through LSPDFR. It is not intended as a direct replacement for KTFDO, as it is not a standalone RPH plugin. It rather implements a feature I personally wanted to add to LSPDFR. Door control, as well as the menu, only works for police vehicles.

Features

  1. DOOR CONTROL - The door of your police vehicle will always remain open after exiting.
  2. DOOR CONTROL ONLY ON TRAFFIC STOPS/PURSUITS - More Realistic, the door of your police vehicle will only remain open when on a traffic stop, active pursuit, or if the player is in combat. This was the main reason I made this plugin, I wanted a more realistic option - The main times a police officer will leave the door open is for cover, usually on a pursuit, traffic stop, or other high-risk pullover.
  3. OTHER VEHICLE OPTIONS - Including Opening/Closing police vehicle doors, cleaning/repairing police vehicle, teleporting to your most recent police vehicle, and spawning your favourite police vehicle.
  4. FULL CONTROLLER SUPPORT - The Default Controller Key to Exit the Vehicle is set to 'Y'. If Door Control does not engage, you may have to change it in the .ini. The default menu toggle key is Right Control Key, and there is none for Controller, so you will also have to add it in the .ini if you do not want to use the keyboard.

If you have KTFDO already installed, this plugin is still compatible. Simply set "Load Door Control on Startup" to false in the .ini settings, and you can still choose whether or not to keep the door open with the key press. If you enable Door Control on Pursuits/Traffic Stops Only, this makes it very convenient.

Requirements

  • LSPDFR 0.4.8 (Or Newer, if applicable)

  • RagePluginHook 1.81.1410.16064 (Or Newer, if applicable)

  • RageNativeUI

  • Most Recent, Legal Copy of GTAV (Retail, Epic Games, or Steam all Work)

Installation

Unzip the file. Copy ALL of the Contents of the “Grand Theft Auto V” folder into your MAIN “Grand Theft Auto V” or “GTAV” Directory, which contains “GTAV.exe” in it.

How to Use

  1. Go on duty, either by using a police station or typing 'forceduty' into the RPH console.
  2. Do NOT load this plugin through the RPH console. This plugin will load automatically once you go on duty. If you can load this plugin through RPH console, you did not install it correctly.
  3. Press "Right Control Key" or Whatever You Changed the Key to, to open the menu. 
  4. By Default, Door Control will be enabled on startup. Door Control only during traffic stops and Pursuits is not. You can change what is enabled on startup in the .ini Settings file, or enable/disable features in-game, using the menu. Please note, if you enable/disable Door Control while currently in a police vehicle, you will have to exit, then re-enter the vehicle for the changes to take effect.

What to Do if you Have a Bug/Recommendation

Please, report any/all bugs or issues so that I can work on them. Do NOT report bugs in the review of the plugin. Instead, leave a message in my discord server, or comment on the plugin page of LSPDFR (the page you downloaded this pack from) with a concise description of the problem and a solution if you have one. 

Support the Effort 

If you enjoy my plugins, please share them with your friends and leave a positive review, and report bugs so the experience can be better for everyone. Also, it would mean a lot if you consider supporting me on PayPal, https://paypal.me/pools/c/8sIvqh6VGs

 

Thanks a lot, and Enjoy!

Edited by YobB1n

- AvLife for testing the controller support.
- Beta Testers as Always.

You may also like

  • 686 Callouts

    20 callouts, providing immersive variation to your LSPDFR experience.
    Charlie686

    By Charlie686

    Updated

    • 432.5k
  • Realistic Taser

    Customize the effectiveness of the Taser based on real-world data!
    YobB1n

    By YobB1n

    Updated

    • 49.3k
  • Los Santos Police Department Mega Pack [ELS]

    Hi ladies. So now that ScriptHook has updated it's release time. This is a pack I have been working on for the better part of the last month in a half, and I am actually very proud of it. The pack is based on Fort Worth, but the actual cars are not accurate to those, just the liveries, window templates, and lightbar are equal to Fort Worth and some of the pushbar setups. The pack comes with 13 different vehicles ranging from SUVs like FPIUs and Tahoes, Pickup trucks like Silverados and Sedans li
    t0y

    By t0y

    Submitted

    • 624.6k
  • EUP VEST&EARPIECE

    Simple pack of vests and belts
    HANAKO

    By HANAKO

    Updated

    • 568.4k
  • EUP Menu

    EUP Menu is a carefully-built menu for the popular Emergency Uniforms Pack modification.
    PieRGud

    By PieRGud

    Updated

    • 2.5m
  • Basic Callouts

    Real life callouts for LSPDFR. Including Stolen Vehicles, Armed Civilians and more!
    ZakDev

    By ZakDev

    Updated

    • 146.7k
  • User Feedback

    Recommended Comments



    This plug-in and op_ Immersive_ The dispatch key conflicts, and I don't know why changing the key of INI file has no effect, and the first time loading will crash

    Edited by YUANSHOU
    Link to comment
    Share on other sites

    3 hours ago, YUANSHOU said:

    This plug-in and op_ Immersive_ The dispatch key conflicts, and I don't know why changing the key of INI file has no effect, and the first time loading will crash

    There should be no way the keys conflict with immersive dispatch, the only keys defined are "Right Control" for the Menu and "F" to exit the vehicle by default. Even with controller they should not conflict.

     

    As for the crashing, when does it crash, and could you send a ragepluginhook.log file, please?

    Link to comment
    Share on other sites

    10 hours ago, YobB1n said:

    钥匙不应与沉浸式派单冲突,定义的唯一键是"菜单"和"F"以默认退出车辆。即使与控制器,他们不应该冲突。

     

    至于崩溃, 什么时候崩溃, 你能发送一个愤怒.log文件, 请?

    The crash is only when the installation is loaded for the first time, and the follow-up is very stable. OP_Immersive_Dispatch has a shortcut key that is right ctrl to call emergency support and conflicts with his button.

    Link to comment
    Share on other sites

    10 hours ago, YUANSHOU said:

    The crash is only when the installation is loaded for the first time, and the follow-up is very stable. OP_Immersive_Dispatch has a shortcut key that is right ctrl to call emergency support and conflicts with his button.

    Correction, the menu key modifier in the .ini does in fact work. Make sure you are using key codes from here: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.keys?view=net-5.0 As for the crash, you'd have to send the ragepluginhook.log, or else I don't know what's going on.

    Edited by YobB1n
    Link to comment
    Share on other sites

    27 minutes ago, satandespacito said:

    Sick. Gonna leave a review later for feedback. 😉

     

    Thanks! A new update coming soon, gonna add an option to automatically stop traffic once you leave your vehicle during a pursuit 🙂

    Link to comment
    Share on other sites

    I tried using this mod yesterday, and had several crashes. I might take that is not updated for the last LSPDFR/GTA update. I also use Immersive Dispatch, so might be an problem for the crashes as well.

    Link to comment
    Share on other sites

    5 hours ago, Kalmorph said:

    I tried using this mod yesterday, and had several crashes. I might take that is not updated for the last LSPDFR/GTA update. I also use Immersive Dispatch, so might be an problem for the crashes as well.

    Please send your ragepluginhook.log. There should be no issues with the LSPDFR update as there were no API updates for the last GTAV update.

    Link to comment
    Share on other sites

    On 1/14/2021 at 6:13 PM, Arkhane said:

    Hello! Please help!! LSPDFR crash when I switch to "go on duty" with this plugin!

    This rarely happens sometimes due to the update checker conflicting with other plugins, often updated. I will most likely push an optional update to fix this soon, sorry about this.

    Link to comment
    Share on other sites

    Not working. I open the controls and the box is checked for door control. My guy keeps shutting the door every time he gets in or out. Any advice?

    Link to comment
    Share on other sites

    Awesome

    On 1/31/2021 at 9:28 PM, mattwwin said:

    Not working. I open the controls and the box is checked for door control. My guy keeps shutting the door every time he gets in or out. Any advice?

    Then you installed it wrongly.

     

    Link to comment
    Share on other sites

    It don't work! Also typo in INI R.ControlKey must be RControlKey as per your own Microsoft link.

     

    [3/7/2021 8:36:03 PM.050] LSPD First Response: [TRACE] Released 0 entities from DefaultContentManager
    [3/7/2021 8:36:03 PM.108] LSPD First Response: [INFO] LSPDFR has shut down
    [3/7/2021 8:36:03 PM.109] LSPD First Response: DOORCONTROL: Error while checking Door Control for updates.
    [3/7/2021 8:36:04 PM.940] LSPD First Response: Error while initializing plugin: DoorControl.Main: Thread was being aborted.   at DoorControl.Main.Initialize()
    [3/7/2021 8:36:04 PM.940] at LWTfPtbaZEaYqKuhoHXfbsDDlMpTB.vmLXawqwvoDQaJrWNMVjIzMJQhaW() in E:\GTA V\LSPD First Response\LSPD First Response\Mod\Callouts\CalloutManager.cs:line 728 
    [3/7/2021 8:36:05 PM.690] LSPD First Response: DOORCONTROL: Cannot Connect to Plugin Info Page. Aborting Update Checks.
    [3/7/2021 8:36:05 PM.700] LSPD First Response:  [CoastalCallouts] Unloading Coastal Callouts
    [3/7/2021 8:36:05 PM.734] LSPD First Response: Exception in StaticFinalizer callback (System.NullReferenceException: Object reference not set to an instance of an object.)

     

    My game is not even in this path. E:\GTA V\LSPD First Response\LSPD First Response\Mod\Callouts\CalloutManager.cs:line 728 

     

    Edited by antiboy6
    Link to comment
    Share on other sites

    I've tried to use this mod at least 5 or 6 times but every time I try to go on duty it crashes lspdfr. It's literally just this mod so I don't know what the problem is. 

    Link to comment
    Share on other sites

    On 3/13/2021 at 11:34 AM, SpaceLAW said:

    Mod doesn't work, but the menu does.

    if your using a controller make sure you set the vehicle exit key in the .ini file

    On 3/9/2021 at 4:31 PM, Crazygunnut76 said:

    I've tried to use this mod at least 5 or 6 times but every time I try to go on duty it crashes lspdfr. It's literally just this mod so I don't know what the problem is. 

    Under very rare circumstances the update checker can conflict with other mods and crash lspdfr, sorry about that

    Link to comment
    Share on other sites


    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...