Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ransom Ambience 1.6.7

(17 reviews)

18 Screenshots

Ransom Ambience by MarcelWRLD
Version: 1.6.7

 

Ransom Ambience is a LSPDFR plugin that implements location-based ambient events to increase realism

during your patrols across Los Santos and Blaine County.

 

Features

  • Variety: Ransom Ambience offers you plenty of events of which some even have different scenarios! This way you won't get bored and you don't have to play the same stuff over and over again. The plugin is also under active development which means that new events are added every update to keep you busy during your patrols across the whole map!
     
  • Lightweight: Ransom Ambience isn't heavily scripted which gives you the full range of opportunities on how you want to deal with an event.
    You want to arrest the ped? Go on. You want let the ped go? Go on. You want to ignore the crimes they are commiting? Sure, go on. No annoying scripting that forces you to do something or react in some kind of way. It's just you and your own judgement!
     
  • Location System: Ransom Ambience is dependent on the zone/neighborhood that you are currently in. Some events have a higher chance of occuring in certain areas while others have a lower chance of occuring or don't occur at all. Want action? Try patrolling in high-crime neighborhoods but pay close attention to your surroundings. Want to relax? Just patrol in a different area of the map, sit back and enjoy your chill patrol with only small crimes happening.
     
  • Customizable: Don't like the probabilities of crimes in certain areas? Want to increase or decrease action in certain areas? Well, no problem! Ransom Ambience allows you to fully customize the chances of crimes occuring. Read the README of the 'RansomAmbience' folder for a (almost) step-by-step tutorial on how to adjust your game experience.
     
  • Pursuit System: Ransom Ambience of course offers you plenty of situations where you are able to participate in a pursuit. However, can you still remember how I was talking about your freedom of dealing with events? Exactly: You are not forced to participate in a pursuit, instead you will be asked if you want to initiate a pursuit. If not, simply ignore the prompt and continue your patrol! 

 

Requirements

 

As already mentioned the ambient events are location-based meaning certain events have a higher chance of

occuring at certain places while others have a lower chance.

 

In order for events to spawn you have to make yourself available for calls which you can do using two ways:

1. If you use "GrammarPolice" you have to change your status to "Available" (e.g. going 10-8/Code 4).

2. You can open your LSPDFR interaction menu (default: M), go to "Police Radio" and switch "Available for calls" to "Yes".

If you want events to happen regardless whether you are available for calls or not, head to the plugins config menu (default: F6) and tick "Always allow events". 🙂

 

These are not callouts but events that may happen around you at random.

Spoiler

Pedestrian Events

  • Ambush
  • Brandishing weapon
  • Burglary
  • Carjacking
  • Fight
  • Indecent exposure
  • Injured person
  • Public disturbance

 

Traffic Events

  • Animal accident
  • Broken equipment
  • Car on fire
  • DUI
  • Drive-by shooting
  • MVA
  • Pursuit
  • Reckless driver
  • Street race
  • Use of phone

 

Traffic Stop Events

Guidelines for Traffic Stop Events

  • Collision
  • Carjacking
  • Disturbance

 

Upcoming

  • "Friendly" events (stay tuned...)
  • ...contact me if you have ideas 🙂


Reports and Feedback
Discord: marcelwrld
If you experience bugs or crashes please contact me here or through discord so I can fix them for you.

Showcase by @OfficerBenzo

 

Credits

  • LSPDFR Team: Creating this mod
  • RAGE Plugin Hook Team: Providing GTA5 API
  • Bejoljo: Creating StopThePed
  • Ragemp Wiki: Providing zone names

 

 

Don't hesitate to reach out to me if you need help or if you have questions.

Thank you for reading and have fun!

 

 

This mod is fully compatible with Immersive Ambient Events!

 



DO NOT republish or reupload this file to other websites. This plugin is only available on LCPDFR.com. If you stumble upon a reupload please let me know!

Edited by MarcelWRLD
new screenshots

What's New in Version 1.6.7

Released

Changelog V1.6.7

This version fixes several bugs. 🙂

After a long time I finally found time to fix some issues with RA. You can read the reason for this long period of no updates here.

 

New

  • StopThePed: Ransom Ambience is no longer dependent on StopThePed, which means that you can play without having STP installed!
    (However you are required to use the vanilla LSPDFR ped stop menu to interact with ped events when playing without STP.)

 

Bug Fixes

  • Fight: Fixed an error being thrown at the end of the event.
  • Ped Choosing: Fixed peds (e.g. cops) being chosen for events, which of course should NOT happen.
    If you were previously using the "Ignore Addon..." settings within RA you no longer need to use those. The plugin should handle everything automatically now.

 

Updated files
How to update

  • Updated RansomAmbience.dll
  • Added/Updated RansomAmbience.pdb
  • Updated RansomAmbience.ini

 

Have fun! If you encounter any issues please report them to me.

Changelog V1.6.6 (Previous)

Spoiler

This version fixes several bugs, changes and adds some small details. 😄

 

New

  • Pursuit System: You can disable the automatic spawning of a helicopter now (this should fix an issue with the 'Heli Assistance' plugin).
    Check 'DisableAutoHeliSupport' in the .ini or look it up in the config menu!
  • Event Menu: Added a 'Random' option to the force event button which selects a random event (self-explanatory lol).

 

Bug Fixes

  • Animal Accident: Fixed the event being canceled almost immediately.
  • Injured Person: Injuries should be more visible now.
  • Drive-By Shooting: Fixed possible issues with the event.
  • Broken Equipment, DUI, Reckless Driver, Use Of Phone: Fixed an issue where the plugin would run into an error.
  • Traffic Stop Collision: Reduced the amount of which the driver would miss your vehicle (it's still not perfect though; the missing is not really intended).
  • Traffic Stop Disturbance: Fixed an issue with animations.
  • Pursuit System: Fixed a display issue of the controller button in the notification.
  • Menu System: "Kind of" fixed the key modifier issue. If you press the normal key and then the modifier it should work without spamming.
  • Check for update: It should no longer lag your game for a split second when pressing the button.

 

Thank you for reading! ❤️

 


Short Description

Ransom Ambience is a LSPDFR plugin that implements location-based ambient events.

User Feedback

Recommended Comments

DiabloRambo

Members

Quote

Oh, thanks for the explanation. Well I mean it sounds cool, we will see what I do about it. But I think I saw something called "AI:Respond", is this something similar to that old plugin?

 

I had not come to use the plugin yet, I had posted the question but the author hasnt responded. Based on the vid provided, AI:Respond is a plugin that allows you attach AI units to you(player) as you respond to a call, so they will arrive on scene with you. Almost like using UB to call for backup but this time you can call while you are en route which doesnt make sense in a roleplay sense, cause if you arent on scene yet, how many units or type of units would you know you need to handle the situation.

I do not think it provides the immersion of Ambient AI Callouts, there would not be Ai spawn responding to calls themselves 

MarcelWRLD

Members Author

1 minute ago, DiabloRambo said:

 

I had not come to use the plugin yet, I had posted the question but the author hasnt responded. Based on the vid provided, AI:Respond is a plugin that allows you attach AI units to you(player) as you respond to a call, so they will arrive on scene with you. Almost like using UB to call for backup but this time you can call while you are en route which doesnt make sense in a roleplay sense, cause if you arent on scene yet, how many units or type of units would you know you need to handle the situation.

I do not think it provides the immersion of Ambient AI Callouts, there would not be Ai spawn responding to calls themselves

Alright, well thanks for explaining it to me 🙂I might add such a feature later but for now I want to expand the "base" of the plugin before adding something completely new. I will keep it in mind though!

DiabloRambo

Members

(edited)

4 minutes ago, MarcelWRLD said:

Alright, well thanks for explaining it to me 🙂I might add such a feature later but for now I want to expand the "base" of the plugin before adding something completely new. I will keep it in mind though!

No worries happy to help, no rush here. I will try out your plugin here when I get the chance today, take care mate

Edited by DiabloRambo

21Sumter

Members

7 hours ago, MarcelWRLD said:

Yea I get what you mean. Though how would the player know what to do? Like how would it know that the driver is actually unable to brake and is not some normal driver who is speeding?

Yes, that's why I think it's difficult to implement, as it's more suitable for challenges

OfficerAlexis

Members

(edited)

I think i got an idea,what do you think about graffiti? Someone is doing graffiti to a wall of a house,store,building,vehicle,etc..and we have to stop him.

Edited by OfficerAlexis

Carsen21

Members

(edited)

2 hours ago, MarcelWRLD said:

Glad to hear it works now! 

You yourself can't exclude the cop ped, I will look into it though.

 

Was it a default cop ped or a customized one?

default cop,customized cop (MP ped). also fireman and paramedic.

but i think it's not just an event i mention before,all related events did that

Edited by Carsen21

MarcelWRLD

Members Author

20 minutes ago, Carsen21 said:

default cop,customized cop (MP ped). also fireman and paramedic.

but i think it's not just an event i mention before,all related events did that

okay, i will exclude those peds. thanks for letting me know

1 hour ago, 21Sumter said:

Yes, that's why I think it's difficult to implement, as it's more suitable for challenges

i think it would be easier as a callout, maybe someone else already created such a callout

1 hour ago, OfficerAlexis said:

I think i got an idea,what do you think about graffiti? Someone is doing graffiti to a wall of a house,store,building,vehicle,etc..and we have to stop him.

I could maybe add something like Vandalism

Sagx

Members

Something curious happened to me, when I added a partner in ultimate backup and left him in a specific position I moved away from him and when he returned he had become a walking drunk a random event had been activated and I took him as a civilian pedestrian, could you check that?

MarcelWRLD

Members Author

6 minutes ago, Sagx said:

Something curious happened to me, when I added a partner in ultimate backup and left him in a specific position I moved away from him and when he returned he had become a walking drunk a random event had been activated and I took him as a civilian pedestrian, could you check that?

Haha yea I know about that already, it will be fixed in the next update!

PO Goodwin

Members

So I've used this for a few hours and I love the idea of it, had a lot of fun chasing down the random events. I've noticed that some or all I'm not sure, are spawning in regardless of if I'm available for calls or not. Sometimes I like to set unavailable and just roam the city. Any chance you're considering implementing the blips and events when set to unavailable or is it a limitation of the plugin?

 

A great addition to anyone's game either way and great work on putting this together, I look forward to future updates. 

MarcelWRLD

Members Author

5 hours ago, PO Goodwin said:

So I've used this for a few hours and I love the idea of it, had a lot of fun chasing down the random events. I've noticed that some or all I'm not sure, are spawning in regardless of if I'm available for calls or not. Sometimes I like to set unavailable and just roam the city. Any chance you're considering implementing the blips and events when set to unavailable or is it a limitation of the plugin?

 

A great addition to anyone's game either way and great work on putting this together, I look forward to future updates. 

You want the plugin to spawn events even if you're unavailable for calls?

OfficerAlexis

Members

7 hours ago, MarcelWRLD said:

You want the plugin to spawn events even if you're unavailable for calls?

The mod its not working when we are unavailable for calls?

MarcelWRLD

Members Author

(edited)

On 8/9/2023 at 7:06 PM, OfficerAlexis said:

The mod its not working when we are unavailable for calls?

UPDATE v1.6.0+: This no longer applies. You can use "AlwaysAllowEvents" in the config menu.

 

 

 

Nope, that is to prevent other events from happening while you are dealing with one. Like when you decide to deal with an event that doesn't include a traffic stop (e.g when two people are fighting or someone is intoxicated etc.) you should set yourself unavailable for calls because otherwise another event can happen while you are dealing with your current one. Of course it depends on how long you deal with one event and what you set your minimum interval to.

Example:

  • Your MinIntervalInMs is set to 1 minute and your MaxIntervalInMs is set to about 1,5 minutes
  • You encounter an intoxicated ped and decide to deal with it

When you deal with this ped longer than one minute (which is your MinimumInterval in this example) the plugin will start a new event because you didn't set
yourself unavailable for calls. 


Why does the plugin work like this?
Simple: I don't want the events to be heavily scripted -> You can deal with events however you want -> You can ignore them if you want. To ensure that you can do whatever you want the plugin doesn't have something like an "On Scene" logic like callouts usually do (well it obviously does have one but it's not the same as a callout). This way you are not forced to deal with an event if you encounter one. So if you decide to deal with an event, set yourself unavailable to calls so the plugin knows "oh alright, he might be dealing with another event, I'm gonna wait until he's done with it.".

I mean, of course, if you have a high minimum interval setting yourself unavailable for calls might not be needed but it's some extra "safety mechanism" or however you want to call it.


How to set unavailable for calls?

  • Option 1: Press 'M' (or whatever your keybind is) which pulls up the LSPDFR Interaction Menu > Police Radio > Available for calls > No (and vice versa)
  • Option 2: Using an external plugin like GrammarPolice you can e.g say "Show me On Scene" or  "Show me Investigating" (or whatever your phrase is) -> This will set you automatically unavailable for calls until you e.g. say "Code 4" or "Show me 10-8"

 

 

Edit: Yes, some events may start a pursuit if you come too close. For now you have to terminate the pursuit manually if you don't want to deal with it. 

I might change it so you e.g. have to attempt a traffic stop/ped stop first or a key that you can press if you want to join/create a pursuit.

 


That's why I stated in the plugin description to scroll down and read the additional information 🙂

Edited by MarcelWRLD

Heisenberg456

Members

SUGGESTİON:

 

you can make also riding motorcycle without helmet 

                                illegal racing on highway

MarcelWRLD

Members Author

19 minutes ago, Heisenberg456 said:

SUGGESTİON:

 

you can make also riding motorcycle without helmet 

                                illegal racing on highway

Im already working on a street race 👍🏼 Might add the motorcycle without helmet event, thanks for your suggestion!

LimeGuy36

Members

On the latest update,

I am noticing that when a car catches fire, I call the fire department to put it out, but when truck arrives it sprays water in the wrong direction and indefnitely keeps spraying water unless I delete the firetruck. I'm not sure if the code puts fire somewhere that firetruck tries to put out and is unreachable, or if it's an issue on my side. Is there something specific you need to do when attending this event?

Thanks in advance for any feedback

MarcelWRLD

Members Author

24 minutes ago, LimeGuy36 said:

On the latest update,

I am noticing that when a car catches fire, I call the fire department to put it out, but when truck arrives it sprays water in the wrong direction and indefnitely keeps spraying water unless I delete the firetruck. I'm not sure if the code puts fire somewhere that firetruck tries to put out and is unreachable, or if it's an issue on my side. Is there something specific you need to do when attending this event?

Thanks in advance for any feedback

Uhm that is pretty weird, I never had this issue. I will check tho if the fire is placed somewhere unreachable, thanks for your report!

MarcelWRLD

Members Author

(edited)

How to update Ransom Ambience

I thought updating might be confusing for some people so I'm gonna try to explain it.

From now on I will be adding a section called "Updated files" to each update notice to simplify the update process.
It will be a simple bullet point list which will let you know what files need to be replaced/updated.

Note that all files that might be updated are inside the plugins > lspdfr of the .zip that you downloaded.

Below is an example of an update:

  • Updated RansomAmbience.dll: Replace your RansomAmbience.dll with the provided 'RansomAmbience.dll'
     
  • Updated RansomAmbience.pdb: Replace your RansomAmbience.pdb with the provided 'RansomAmbience.pdb'
     
  • Updated RansomAmbience.iniReplace your RansomAmbience.ini with the provided 'RansomAmbience.ini'; this will reset the file so you will have to adjust your settings again if you made changes to the .ini
    Updated for V1.6.0+: Go to the general config menu, scroll down and hit "save" without changing anything. This should add the new options to the .ini without having to replace it manually while keeping your settings.
     
  • Updated TrafficStopConfig.iniReplace your RansomAmbience > TrafficStopConfig.ini with the provided 'RansomAmbience  > TrafficStopConfig.ini'; this will reset the file so you will have to adjust your settings again if you made changes to the .ini
     
  • Updated EventWeights.json: Replace RansomAmbience > EventWeights.json with the provided 'RansomAmbience > EventWeights.json'; this will not reset your custom event weights because those are (or should be lol) located in RansomAmbience > custom > EventWeights.json. However if new events were added in this update you will have to update your custom weights yourself in order to use the new events.
     
  • Updated EventZoneMappings.json: Replace RansomAmbience > EventZoneMappings.json with the provided 'RansomAmbience > EventZoneMappings.json'; this will not reset your custom zone mappings because those are (or should be lol) located in RansomAmbience > custom > EventZoneMappings.json.


Alternatively if you don't care about resetting your .ini (e.g. because you didn't make any changes to it or you just don't mind changing it again) you can simply drag and drop the provided "plugins" folder into your GTA5 main directory which will update everything but will preserve your "custom" folder. However you will still need to update your custom event weights incase of new events.


Hopefully this will clear up some confusion.
If you still need help with something don't hesitate to contact me! I am always glad to help.

Thanks and have fun playing 🙂

Edited by MarcelWRLD

Michael21107

Members

this is in meters?

Could contain: text, screenshot, font

MarcelWRLD

Members Author

4 hours ago, Michael21107 said:

this is in meters?

Could contain: text, screenshot, font

Uhh yea should be

I love these Ransom Ambience events and they add more life to LSPDFR. I have an idea, how about an event similar to the MVA but how about a single vehicle crash and you see the driver running from the scene.

MarcelWRLD

Members Author

54 minutes ago, JurassicTwizzler said:

I love these Ransom Ambience events and they add more life to LSPDFR. I have an idea, how about an event similar to the MVA but how about a single vehicle crash and you see the driver running from the scene.

Thank you for your feedback, I will see what I can do.

GTA Fanatic

Members

I had to take this out of my game caused lspdfr to crash as soon  as I went available made it unstable removed it and game running smooth again. I didn’t think to check the log After 

MarcelWRLD

Members Author

(edited)

41 minutes ago, GTA Fanatic said:

I had to take this out of my game caused lspdfr to crash as soon  as I went available made it unstable removed it and game running smooth again. I didn’t think to check the log After 

Well then could you please put it back, run the game and then send me the log file if the issue still occurs?? Because I can't fix it without the log... Everything ran perfectly fine for me during several hours of testing (in total) ¯\_(ツ)_/¯

 

You can also contact me on discord: marcelwrld 

Edited by MarcelWRLD

MarcelWRLD

Members Author

(edited)

2 hours ago, GTA Fanatic said:

I had to take this out of my game caused lspdfr to crash as soon  as I went available made it unstable removed it and game running smooth again. I didn’t think to check the log After 

One common mistake I've seen people do, which causes a similar issue, is not copying "Newtonsoft.Json.dll" to your GTA5 main directory. That file is required and must be copied to your main directory, it's in the .zip! Make sure you've done that. 

If the issue persists contact me on discord and/or send me your log file so I can assist you 🙂

Edited by MarcelWRLD

Create an account or sign in to comment

Latest Mods

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.