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.

Death by cop?

Featured Replies

Just had an armed robbery pursuit which ended with the last guy running down a dead end. Theres me and 14 other cops that take cover at the end of the alley to wait. We were probably there for 1-2 minutes just waiting. Suddenly he starts walking towards us and starts firing. Obviously all hell breaks loose and he goes down in a hail of bullets :woot:

It looked awesome, but I was wondering if there's a way to get the cops to keep shooting for a few seconds afterwards. I could be a mod or something (not that this is a suggestion) but I would like to also see some "clean-up" afterwards. At the minute the cops just walk off, the instant the crim is dead :(

tyjf.gif76561198040985180.pngPlease like the post if it helped (or didn't) :)

Just had an armed robbery pursuit which ended with the last guy running down a dead end. Theres me and 14 other cops that take cover at the end of the alley to wait. We were probably there for 1-2 minutes just waiting. Suddenly he starts walking towards us and starts firing. Obviously all hell breaks loose and he goes down in a hail of bullets :woot:

Cool story, bro.

 

 

 I was wondering if there's a way to get the cops to keep shooting for a few seconds afterwards. I could be a mod or something (not that this is a suggestion) but I would like to also see some "clean-up" afterwards. At the minute the cops just walk off, the instant the crim is dead :(

No, probably not. The way most (if not all) shooter game engines work is that the AI needs a target to fire at. When the targets health reaches zero, there is no more target, and the AI disengages. It's a simple programming algorithm, written in an "if-then" statement, such as: 'if ai_target health = 0 then aiped_cop task = walk' where 'ai_target' is the enemy AI pedestrian, and 'aiped_cop' is one of the generic backup LCPD officers. Otherwise the AI police keep shooting while the targets health is higher than zero. 'do aiped_cop task = shoot while  ai_target health > 0 and wantedlevel => 2'.

*For those here who program or write scripts, don't complain about my syntax or anything, I haven't written any programs in nearly a decade, and that was  in VB.*

Tips/Donate: u.gamecaster.com/unr3al
Twitch Channel: Twitch.tv/unr3al_twitch
YouTube Channel: YouTube.com/unr3algaming
Twitter: @unr3alofficial

Cool story, bro.

 

 
 

No, probably not. The way most (if not all) shooter game engines work is that the AI needs a target to fire at. When the targets health reaches zero, there is no more target, and the AI disengages. It's a simple programming algorithm, written in an "if-then" statement, such as: 'if ai_target health = 0 then aiped_cop task = walk' where 'ai_target' is the enemy AI pedestrian, and 'aiped_cop' is one of the generic backup LCPD officers. Otherwise the AI police keep shooting while the targets health is higher than zero. 'do aiped_cop task = shoot while  ai_target health > 0 and wantedlevel => 2'.

*For those here who program or write scripts, don't complain about my syntax or anything, I haven't written any programs in nearly a decade, and that was  in VB.*

but if you play as niko they will shoot you for 10 seconds after you die

but if you play as niko they will shoot you for 10 seconds after you die

 

I've never seen the actual code, but I assume that the police AI have a separate function encoded to react to non-AI peds (Human players) as apposed to regular AIs. The way most scripting works, you just need a trigger to call a function and a trigger to end a function in some cases. For example, a potential trigger for the police to cease fire when firing upon you may be the screen fade, or the respawn function. 

 

In theory, that'd make sense anyway. 

[b][i]Graphic Designer & Web Developer[/i][/b]  

 

[font="verdana, geneva, sans-serif"][color=#ff8c00]Flip[/color][color=#0000ff]Switch[/color] Games Team Member[/font]

[font="verdana, geneva, sans-serif"]Check out EmergeNYC @: http://emergenycgame.com/[/font]

Most of the other cops will walk away, but if it helps at all, after a shooting/chase I'll usually stay myself set up barricades & use the coroner/tow truck script that work with the police helper.

It may not be completely realistic, but its better than blasting a suspect's head off and walking away like Al Capone 

The AI cops shoot the player because he's still wanted.

Yup, whereas when you even hit 'E' to stop a fleeing pedestrian in LCPDFR, that pedestrians wanted level goes away immediately and cops go about their business.

Tips/Donate: u.gamecaster.com/unr3al
Twitch Channel: Twitch.tv/unr3al_twitch
YouTube Channel: YouTube.com/unr3algaming
Twitter: @unr3alofficial

Yup, whereas when you even hit 'E' to stop a fleeing pedestrian in LCPDFR, that pedestrians wanted level goes away immediately and cops go about their business.

Mine don't do that they do a funky chicken dance. No seriously they flicker between idle and aiming their gun at the suspect. Quite entertaining actually cause they all do it in perfect sync :)

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

  • Author

I can't use any of the vDH scripts very well, as most crash after two or three uses. Never managed to use the Coroner one as it crashes the first time you call them :(

tyjf.gif76561198040985180.pngPlease like the post if it helped (or didn't) :)

Join the conversation

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

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

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.