Jump to content

Interaction+ | Lite Computer System | Field Sobriety Test | Field Test Kits 2.0.1b

   (43 reviews)

8 Screenshots

Enjoy this mod and want to support its development? Please consider donating using the button on the side bar 🙂

 

READ THIS IF YOUR GAME IS CRASHING BEFORE ASKING FOR SUPPORT, MOST COMMON CRASHES FIX:

  • Game is crashing when you approach a car on a traffic stop
    • More than likely you do not have SearchWarrant installed correctly, or you have an error in your general.xml for SearchWarrant (keep in mind SearchWarrant is not required for this plugin, you may also use PoliceSearch or neither of them).
    • If this did not work, then the second most likely cause is an error in general.xml for SearchWarrant
      • Go to GTAV\Plugins\LSPDFR\SearchWarrant and right-click "general.xml" and then click "Edit"
      • Hit Ctrl + F and enter "&" into the search field, then click find
      • If you find a "&", then simply replace it with the word "and"
      • Save the file, and the issue should now be fixed

 

Keep in mind 2.0.0b is a beta release and may contain bugs I am not aware of. If you find any bugs, please report them to me in the comments section with the relevant information

 

Known Bugs:

  • Sometimes arrested peds will leave the backseat of your vehicle and try to drive away. No known fix but to grab them and put them back in the vehicle. Probably a plugin interaction.

 

Be sure to change the .ini file to your liking

 

 

Videos

Thank you to Yo Adrian and FirstThirtyMinutes for making these videos!

 

 

 

This wall of text and pictures do not do this plugin justice; I definitely recommend giving it a try!

 

Requirements:

 

  • Traffic Policer
  • (Optional) Darkmyre's Search Warrant or PoliceSearch

 

Features

 

  • Ped Observation
    • Get observations for any ped
      • Automatic traffic stop observations for all occupants
      • Gets status of ped including mood, behavior, and signs of intoxication
  • [NEW] Lite Menu Based Computer System
    • Run record checks, issue citations, summons, and create arrest reports with the new computer system
    • Fully integrated with the rest of this plugin
    • Customizable XML files for charges and citations
      • IMPORTANT! Do not edit/add any new main root entries (eg direct descendants of the "Main" root). They will not be recognized by my plugin
        • You can only add/edit entries under these roots with the "Charge" name
  • Traffic Stop Questions
    • [NEW] Traffic stop questioning menu, replaces default LSPDFR+ one
      • To use, approach a car on a traffic stop and press the interaction key (default "Y") to open the menu
      • You can:
        • Ask the driver for their license and proof of insurance
          • If the driver has no license, a suspended license, or warrants, there is a chance they will refuse to identify themselves to you, which is arrestable.
        • Ask for passenger's identification
        • Tell the driver the reason for pulling them over (27 default reasons so far, just comment any more ideas you have and I will try to add them)
        • Ask general questions:
          • "Where are you headed?"
          • "Where are you coming from?"
          • "Is the address on your license current?"
          • "Do you own this vehicle?"
          • "How do you know the passenger(s)?"
        • Ask questions related to crime:
          • "Have you been drinking recently?"
          • "Have you you used any drugs recently?
          • "Is there anything illegal in the car?"
          • "Can I search your vehicle?"
        • Most question's answers will depend on the ped's mood/intoxication level
        • 210+ lines of mostly unique dialog
        • Any more ideas for questioning should be added in the comments!
    • [NEW] Issue warnings, citations, and summons with the new computer system
    • [NEW] Can now order occupants out of the vehicle
  • Field Sobriety Tests
  • Evidence
    • Store any evidence you find in any police vehicle
    • View stored evidence
    • Drop off stored evidence at any police station, marked by a "stash" icon on the map (pot leaf blip next to police stations)
  • Field Narcotics Test Kits
    • Narcotics stored in your evidence can be tested using reagent test kits in your trunk
      • Positive tests are automatically stored in evidence
      • Automatically recognizes when you store drugs in evidence and makes them available for testing
        • Drugs are not always what they seem, e.g. sometimes what you think is meth will turn out to be PCP or cocaine
      • If you use one of the custom XML files, these phrases are currently recognized by evidence storage as able to be tested:
        • "white powder"
        • "tan" or "brown powder"
        • "blotter paper"
        • "crystal" or "crystals"
        • "unmarked pills"
    • 5 different tests, based on real life counterparts (all information based on products from: http://www.sirchie.com/forensics/narcotics-investigation/pouches.html)
      • Marquis Reagent (meth, heroin, morphine, MDMA)
      • Scott Reagent (cocaine/crack)
      • Fentanyl Reagent (Fentanyl)
      • Phencyclidine Reagent (PCP)
      • Ehrlich's Reagent (LSD)
    • Custom narcotics.xml for DarkMyre's Search Warrant and PoliceSearch adds more options for unidentified drugs such as: "white powder", "suspicious crystals", etc
  • Automatic Pursuit Updates
    • When in a pursuit, will automatically give information on the speed and direction that the suspect vehicle is heading.
    • Also gives details on traffic condition such as light, medium, or heavy (togglable)


Installation:

  1. Copy the "Plugins" folder to your main GTA V directory.
  2. Pick an XML to use depending on what search plugin you have for added realism! (not required)
  3. Enjoy!

 

Don't know what else to put here, just let me know if you find any bugs or if anything is unclear and I will try to fix it. Been a long road of development, thank you to everyone who has helped me on the way!


What's New in Version 2.0.1b

Released

2.0.1b

  • Fixed small bug where .ini file changes to keys were not being registered. Should work now

 

2.0.0b (beta release)

  • [NEW] Lite, menu based computer system! Fully integrated with the rest of the plugin
    • Create arrest reports, citations, perform record checks
    • Can be disabled in .ini if you wish to use Computer+
    • Customizable XML files for citations and charges
  • Removed ScriptHookVDotNet2 dependency
  • Reorganized traffic stop menu
    • Can now issue warnings, citations/summons, and ask occupants out of the vehicle
  • 3 new pullover reasons:
    • Improper overtaking, illegal u-turn, and failure to stop for emergency lights/sirens
  • Various other bug fixes/improvements that I can't remember that have been made over the past couple months
  • Keep in mind that this is a beta release; there may be bugs present in this version that I am not aware of. If you find a bug, please report it to me in the comments section with all the relative info

 

1.5.3

  • Fixed a bug that would cause the traffic stop menu to be permanently enabled if an exception occurred on a stop
  • Swapped "Where are you coming from" and "Where are you headed to" questions for personal preference
  • Added 7 new pullover reasons:
    • Failure to maintain lane
    • No license plate light
    • Failure to display both license plates
    • Excessive acceleration
    • Misuse of left lane on highway
    • Underglow lighting on vehicle
    • Illegal tint/tint too dark
  • Fixed typo, drivers license is now driver's license
  • Fixed slight bug with STP, horizontal gaze, and observe functions. Should now work better together
  • Bug where evidence couldn't be stored has been fixed

 

1.5.2

  • All plugin's features including observation and field sobriety tests should now work on peds stopped by STP with little to no issue
  • Fixed a crash that occurred when a question was asked on a traffic stop before the observations were complete
  • Fixed crash that happened if you leave a traffic stop while the stop was still active
All the creators of the plugins who's APIs I have used
All of my wonderful beta testers!



User Feedback

Recommended Comments



I have made the plugin mostly compatible with STP now, you can now perform field sobriety tests on as well as observe peds stopped with STP. The only problem remaining that I can't fix is that if the ped is stopped by STP and my menu tries to dismiss them, the ped will try to walk away for like half a second then will go back to being stopped by STP; not a huge problem but an annoyance nonetheless.

 

I am going to wait to release this update until I implement a way to disable parts of this mod that people might not want. Then once that update is released I will begin working on the new computer system

 

Also, I have gotten the bug where people leave the backseat and try to drive away but I don't have MPCA installed. I don't know what could be causing this interaction honestly and don't know how to fix it (my code triple checks that this does not occur, meaning it is a weird interaction with another plugin probably). I cannot get it to reproduce every time but I have seen it on occasion. I will look into a fix more, but for now the only solution is to grab them once they leave the backseat and put them back in; this should fix the issue.

Edited by Phaxol

Share this comment


Link to comment
Share on other sites
On 9/18/2018 at 9:00 AM, Phaxol said:

So last night while playing, I got another crash on Computer+ (anyone who uses it now-a-days knows the crash I'm talking about, I'm pretty sure we all have the instability) and it got me thinking about integrating something similar into my script so I don't have to restart my game every 10 mins-1 hr. Just brainstorming,  but I want to add the ability to check collected ped IDs for warrants from the car,  maybe get priors, vehicle information, etc similar to Computer+, but all menu based and stable. It's all in a very early planning stage at this point and it would be a large addition to this mod, and would take a while to develop I'd imagine.

 

There are a couple of things I want to tackle before I even attempt this, and the list is as follows in order of priority as of today:

  1. Try to make compatible with STP
  2. See if there is some better animation for the horizontal gaze test to make it more realistic
  3. Make it so users can disable parts of the mod from running

 

After I complete/fail at these things, then I will begin looking into developing the new menu-based computer system. If anyone has any other ideas please feel free to add

 

Stay tuned 🙂

 

This would be amazing, especially if there could be menu based citation and charge stuff similar to Computer+ with court case integration as it is now. I really like doing state patrol work, writing a citation or charges for an arrest and seeing the results from court. The stability of a menu based system would be awesome.

Share this comment


Link to comment
Share on other sites
On 9/18/2018 at 8:03 PM, Phaxol said:

 

You don't have ScriptHookVDotNet2 installed properly:

 

https://www.gta5-mods.com/tools/scripthookv-net

 

Download the Zip file

https://github.com/crosire/scripthookvdotnet/releases

 

  1. Download Community Script Hook V .NET and copy both the ScriptHookVDotNet.asi and ScriptHookVDotNet2.dll files into your game directory.

 

thanks it is now working

Share this comment


Link to comment
Share on other sites

Is there a reason that no matter if I change the Interaction key to anything it still doesn't work? When I press T to do a walk and turn, it does nothing. I changed it to U, nothing. 

Share this comment


Link to comment
Share on other sites

Hi Phaxol, i think i found a problem with stopping semi, flatbed, mule when approaching the driver, because he is in a higher position, lspdfr crash saying there was an error while loading the interaction menu. here is the log.

RagePluginHook.log

Edited by manu450

Share this comment


Link to comment
Share on other sites
8 hours ago, manu450 said:

Hi Phaxol, i think i found a problem with stopping semi, flatbed, mule when approaching the driver, because he is in a higher position, lspdfr crash saying there was an error while loading the interaction menu. here is the log.

RagePluginHook.log

 

Looks like you have the same issue as: 

14 hours ago, Pumpk1in said:

Hi,

 

Do I have a plugin conflict ?

Every time I ask something to the driver during traffic stop, I crash.

 

I already have scripthookdotnet2.

 

Thanks 🙂

RagePluginHook.log

 

 

I have looked into it and this is caused when you ask a traffic stop question without first getting traffic stop observations, this is much more a present issue with large trucks as the trigger distance for the traffic stop observation isn't big enough, pretty simple fix though. Will probably release a bug fix/STP compatibility update before I add the function to disable parts of the menu

 

 

10 hours ago, Cavasi said:

Is there a reason that no matter if I change the Interaction key to anything it still doesn't work? When I press T to do a walk and turn, it does nothing. I changed it to U, nothing. 

 

Make sure you don't have a typo in the .ini file, I would suggest restarting from a fresh .ini file with no edits as I could not reproduce this bug. The line for this key is by default:

"InteractKey=Y"

Share this comment


Link to comment
Share on other sites
On 9/20/2018 at 1:06 PM, Phaxol said:

Traffic stop question crash fixed as well as STP compatibility added, enjoy!

After reading some other comments on here I realized I installed scripthookv wrong, got it working now! Very awesome mod I love being able to tell people what the reason was for them getting pulled over and the responses are great, also the walk and turn and horizontal gaze is amazing, great work on this!

Share this comment


Link to comment
Share on other sites

Is anyone having an issue with storing your evidence at a station? I have the latest version 1.5.2 and I have tried to store my evidence using my key binding set in the ini file but for some reason it’s bringing up the questioning menu and not allowing me to store my evidence.

Share this comment


Link to comment
Share on other sites
38 minutes ago, 9Lincoln20 said:

Is anyone having an issue with storing your evidence at a station? I have the latest version 1.5.2 and I have tried to store my evidence using my key binding set in the ini file but for some reason it’s bringing up the questioning menu and not allowing me to store my evidence.

 

There is currently a bug where if an unseen exception occurs on a traffic stop, the questioning menu will always be enabled. I have fixed this and am just waiting on adding 1 more feature before relase. Just to be sure it's the same problem, start a fresh LSPDFR session, dont do anything but store evidence, and then try and drop it off and see if you have the same problem

Share this comment


Link to comment
Share on other sites
12 minutes ago, Phaxol said:

 

There is currently a bug where if an unseen exception occurs on a traffic stop, the questioning menu will always be enabled. I have fixed this and am just waiting on adding 1 more feature before relase. Just to be sure it's the same problem, start a fresh LSPDFR session, dont do anything but store evidence, and then try and drop it off and see if you have the same problem

 

Yep same issue. Just brings up questioning menu instead of storing my evidence.

Share this comment


Link to comment
Share on other sites
3 hours ago, SpikeTerm said:

LSPDFR crashes whenever I go up to a car on a traffic stop,  it started to occur right after I installed this mod.

 

Please post your RagePluginHook.log file. This usually occurs when you have not installed SearchWarrant correctly. 

Share this comment


Link to comment
Share on other sites

Hey @Phaxol I love the mod man. Great work. The only problem I have though is everytime I perform a traffic stop, I walk up to the window, and lspdfr crashes. No game crash though. it says NullReferanceException. then the message is:Object Reference is not set to an instance of an object. Any Ideas? I love this mod I just cant use all of it:/

Share this comment


Link to comment
Share on other sites
2 hours ago, Officer Cooley said:

Hey @Phaxol I love the mod man. Great work. The only problem I have though is everytime I perform a traffic stop, I walk up to the window, and lspdfr crashes. No game crash though. it says NullReferanceException. then the message is:Object Reference is not set to an instance of an object. Any Ideas? I love this mod I just cant use all of it:/

 

Please post your full RagePluginHook.log file

Share this comment


Link to comment
Share on other sites

I'm still getting glitches where when I try to store evidence in a police station ,  it keeps bringing up the questioning menu upon installing the new update. Perhaps you should separate the keybindings for opening questioning menu and the storing evidence function to fully fix this problem 😕

Share this comment


Link to comment
Share on other sites
28 minutes ago, Reffie1997 said:

I'm still getting glitches where when I try to store evidence in a police station ,  it keeps bringing up the questioning menu upon installing the new update. Perhaps you should separate the keybindings for opening questioning menu and the storing evidence function to fully fix this problem 😕

 

Problem is already fixed, just waiting on adding another feature before releasing the update. For now use 1.5.1 if it is too much of an issue

Share this comment


Link to comment
Share on other sites

Im still having issues getting this to work. Ive installed and uninstalled scripthook but has continued to crash. Both of the files are in my plugins folder. Im not sure what else to do. help 

 

 

Ragehook.txt

too add on when i installed scripthook i try to walk into mrpd and immediately get 4 stars

Share this comment


Link to comment
Share on other sites
7 hours ago, Firefighter Avery said:

this plugin makes lspdfr crash  when i try to go on duty. anyone else have this issue? really want to use this plugin.

 

Please post your RagePluginHook.log file, you probably do not have ScriptHookVDotNet2 installed

 

5 hours ago, enlisted68 said:

Im still having issues getting this to work. Ive installed and uninstalled scripthook but has continued to crash. Both of the files are in my plugins folder. Im not sure what else to do. help 

 

 

Ragehook.txt

too add on when i installed scripthook i try to walk into mrpd and immediately get 4 stars

 

Those files do not go into your plugins folder, they go into your main GTA V directory where GTAV.exe is. Please make sure you have ScriptHookV.dll, ScriptHookVDotNet2.dll, ScriptHookVDotNet2.xml, and ScriptHookVDotNet.asi in your main GTA V directory.

Share this comment


Link to comment
Share on other sites

Think before you post. Toxic behavior will not be tolerated. Unconstructive, toxic or unnecessarily sarcastic comments will be removed and warnings issued.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...