Jump to content

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

   (35 reviews)

8 Screenshots

About This File

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



User Feedback

Recommended Comments



Tried to make a video showcasing it, but it keeps freezing my game on startup after I put it in. Any ideas? I took out stop the ped, and have all the requirements. 

Share this comment


Link to comment
Share on other sites
9 minutes ago, Yo Adrian said:

Tried to make a video showcasing it, but it keeps freezing my game on startup after I put it in. Any ideas? I took out stop the ped, and have all the requirements. 

Does it crash LSPDFR? If so send me your RagePluginHook.log file. You shouldn't need to remove stop the ped.

Edited by Phaxol

Share this comment


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

Does it crash LSPDFR? If so send me your RagePluginHook.log file. You shouldn't need to remove stop the ped.ÔĽŅ

I don't know what I did, but I just got it to function properly lol. Thanks though! 

Share this comment


Link to comment
Share on other sites

I have Stop the ped but I doesn't know if it is this the problem. LSPD crashes each time I make a traffic stop... the plugin is good, that's a shame.

Share this comment


Link to comment
Share on other sites

Please send me your log files. Does it happen only with cars with a passenger in it? I think there may be a bug if the car has more than one passenger that LSPDFR+ cant handle the amount of questions I try to add to the traffic stop 

Share this comment


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

Please send me your log files. Does it happen only with cars with a passenger in it? I think there may be a bug if the car has more than one passenger that LSPDFR+ cant handle the amount of questions I try to add to the traffic stop 

Just installed.  Tried to make a traffic stop.  Only one person in the car.  LSPDFR Crashed as I approached the car.  Log attached...

RagePluginHook.log

Share this comment


Link to comment
Share on other sites
1 hour ago, LT Bronco said:

Just installed.  Tried to make a traffic stop.  Only one person in the car.  LSPDFR Crashed as I approached the car.  Log attached...

RagePluginHook.log

 

I will look into a fix when I get back from class for the day, seems like a quick fix at first glance

Share this comment


Link to comment
Share on other sites

This can be an amazing thing. Maybe integrate it better with existent plugins, like those it collides with, adding more options.

 

Thanks though

Share this comment


Link to comment
Share on other sites

Great Plugin however Ive  got FPS loss after installing which really sucks cause im torn between dealing with it which is aggravating as hell or doing away with plugin which I really like , so maybe you could look into improving FPS a little or maybe its just my PC anyway this is a great add and long over due 

Share this comment


Link to comment
Share on other sites

@Phaxol  I have to admit, what appeals to me the most about your plugin is the updates during pursuits.  Could you please consider releasing this as an independent mod?  I'd love to use that feature. 

Share this comment


Link to comment
Share on other sites
3 minutes ago, LT Bronco said:

I installed this.  Still getting the same crash...

 

RagePluginHook.log

 

Your crash looks to be an issue with SearchWarrant, maybe something in Phaxol's XML.  Please attach that XML file, I'll have look over it.

Share this comment


Link to comment
Share on other sites
31 minutes ago, Giordano said:

@Phaxol  I have to admit, what appeals to me the most about your plugin is the updates during pursuits.  Could you please consider releasing this as an independent mod?  I'd love to use that feature. 

 

Yeah I can look into it; it wouldn't be too hard since it's already coded at this point haha.

 

17 minutes ago, LT Bronco said:

I installed this.  Still getting the same crash...

 

RagePluginHook.log

 

Please send me a copy of the XML you are using; I have ran mine through 2 separate XML validators as well as checked it manually and can't seem to find anything that would be causing this. Here is the distributed XML file:

narcotics.xml

Share this comment


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

 

Yeah I can look into it; it wouldn't be too hard since it's already coded at this point haha.

 

 

 

Awesome, thank you!

Share this comment


Link to comment
Share on other sites
5 hours ago, Phaxol said:

Please send me a copy of the XML you are using; I have ran mine through 2 separate XML validators as well as checked it manually and can't seem to find anything that would be causing this. Here is the distributed XML file:

narcotics.xml

this one...

narcotics.xml

Share this comment


Link to comment
Share on other sites
2 minutes ago, LT Bronco said:

this one...

narcotics.xml

 

Looking at your log again, try removing Traffic Control.  This plugin has been causing a lot of issues for folks and has been the root cause of crashes.

 

See if your crashes stop after removing it.

Share this comment


Link to comment
Share on other sites
20 minutes ago, Giordano said:

 

Looking at your log again, try removing Traffic Control.  This plugin has been causing a lot of issues for folks and has been the root cause of crashes.

 

See if your crashes stop after removing it.

I removed Traffic Control. (I can't remember the last time I even used it...). Anyway, I tried again and it still crashes.  Log attached...

RagePluginHook.log

Share this comment


Link to comment
Share on other sites

You can check the file here (make sure you open it in wordpad or something with correct formatting if you copy and paste it): 

https://www.xmlvalidation.com/

 

The provided XML file doesn't seem to have any errors in it

 

Quote

[9/5/2018 10:00:51 PM.084] LSPD First Response: ==============================
[9/5/2018 10:00:51 PM.084] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[9/5/2018 10:00:51 PM.085] LSPD First Response: ------------------------------
[9/5/2018 10:00:51 PM.085] LSPD First Response: Origin: Game fiber "<UNNAMED THREAD>".
[9/5/2018 10:00:51 PM.085] LSPD First Response: ------------------------------
[9/5/2018 10:00:51 PM.085] LSPD First Response: Exception type: System.InvalidOperationException
[9/5/2018 10:00:51 PM.085] LSPD First Response: Exception message: There is an error in XML document (49, 17).
[9/5/2018 10:00:51 PM.086] LSPD First Response: ------------------------------
[9/5/2018 10:00:51 PM.086] LSPD First Response: Inner exceptions:
[9/5/2018 10:00:51 PM.086] LSPD First Response:     Exception type: System.Xml.XmlException
[9/5/2018 10:00:51 PM.086] LSPD First Response:     Exception message: An error occurred while parsing EntityName. Line 49, position 17.
[9/5/2018 10:00:51 PM.086] LSPD First Response:         ------------------------------

 

 

 

Lines 42-51 of narcotics.xml:

Quote

42. <SearchItem>
43.     <item>a baggie of unmarked pills</item>
44.     <size>small</size>
45.     <status>narcotics</status>
46. </SearchItem>
47. <SearchItem>
48.     <item>a baggie of suspicious white powder</item>
49.     <size>small</size>
50.     <status>narcotics</status>
51. </SearchItem>

 

 

I believe this is caused by some third-party unknown plugin conflict, or something didn't get installed right along the way. I'm leaning towards it being a conflicting plugin problem as I'm pretty sure you have it installed right

Edited by Phaxol

Share this comment


Link to comment
Share on other sites

Can you make it so the stash icons won't "permanently" appear on the corners of the small¬†map and only appear if you are near the evidence drop off location?¬† It's just somehow bugging meūüė≥

Share this comment


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

omg... great work

 

I hope its working with 'stop the ped' mod for next update.

There is nothing I can do about it, in order to make the two plugins work together StopThePed would have to provide an API to let me know if it has stopped a ped and an API for taking control over a stopped ped; I have a similar API already implemented, if developers want to know just PM me.

 

58 minutes ago, Reffie1997 said:

Can you make it so the stash icons won't "permanentlyÔĽŅÔĽŅÔĽŅ" appear on the corners of the small¬†map and only appear if you are near the evidence drop off location?¬† It's just somehow bugging meūüė≥ÔĽŅÔĽŅ

 

Yeah I will try, I didn't want them to be permanently on the screen but couldn't find a way not to. I may have to use native functions or develop some type of workaround based on distance 

Edited by Phaxol

Share this comment


Link to comment
Share on other sites

This is an awesome mod, it just need to be work on a bit more. But really great idea there. I hope you will keep it updated until it is flawless...really it is enhancing lspdfr in a big way.¬†ūüĎć

Share this comment


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

You can check the file here (make sure you open it in wordpad or something with correct formatting if you copy and paste it): 

https://www.xmlvalidation.com/

 

The provided XML file doesn't seem to have any errors in it

 

 

 

Lines 42-51 of narcotics.xml:

 

 

I believe this is caused by some third-party unknown plugin conflict, or something didn't get installed right along the way. I'm leaning towards it being a conflicting plugin problem as I'm pretty sure you have it installed right

OK, I finally found it!

 

The error wasn't in the narcotics.xml, it was in the general.xml.

<SearchItem>
    <item>Milk & Cookies</item>
    <size>small</size>
    <status>mundane</status>

 

It didn't like the "&" in the item line.  I changed it to  "MilkCookies" and everything works just fine now.

 

Awesome plugin!

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.

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
×