Jump to content

AmbientAICallouts 0.9.7.3

First fully automatic Ambient Emergency System for LSPDFR. You’re not the only cop in San Andreas.
   (40 reviews)


This file has been reported as outdated and may have compatibility issues.
Please check the comments for further information, if available.

10 Screenshots

AmbientAICallouts for LSPDFR

Copyright (C) 2021 ziipzaaapM16A4. All rights reserved.

Any unauthorized modification, reverse engineering, or distribution (including re-uploading of any kind) is strictly prohibited.

PLEASE DO NOT  POST A NEGATIVE REVIEW WITHOUT ADDRESSING THE ISSUE AS A COMMENT ON THIS PAGE.

FOR ANY SUPPORT RELATED ISSUES, PLEASE POST A COMMENT ON THIS PAGE.

 

Join our Discord --->   here

Need Help? Open a support ticket --->   here (discord support channel link)

Want Early Access? Become a Patreon! --->   here


Update is still in progress. yeah i know its almost a 2 year now.  Currently reworking all AiCallouts

 

AAIC Banner

 

Feature/Function:

- AmbientResponse system wich triggers AiCallouts.

- Get police scanner feedback.

--> Units get their own call sign. Less redundancy.

- AiCallouts can turn into LSPDFR Callouts.

- 4 AiCallouts included.

- 4 LSPDFR Callouts included. ==> execution only by AiCallout

- AiCallout API & documentation. Create your own AiCallouts.

--> reload AiCallouts without reloading LSPDFR.

- GrammarPolice Support: no interruption by Dispatch

- Heli Assistance Support: Helicopter responding to AiCallouts.

- RejectedCalloutAI 

--> If you don't take the call, AI has to Respond

- The Unit will respond to the location of the call you denied.

 

 

 

Here is a List of all development demos & other videos:

Spoiler

https://www.youtube.com/watch?v=BMPmnLqKzmE - GTA V : LSPDFR - AmbientAICallouts Plugin demo
https://streamable.com/r58x7h - AAIC - Crime Fighting - development demo 2

https://streamable.com/xk4ey6 - AAIC - RejectedCalloutAI - development demo 3

https://streamable.com/81ehq7- AAIC - Crime Prankcall - development demo 4

https://streamable.com/0c15t2 - AAIC - Crime MVA - development demo 5

https://streamable.com/0xxwc6 - AAIC - Crime Shooting - development demo 6

https://streamable.com/mbpbx3 - AAIC - Heli Assistance support - development demo 7

https://www.youtube.com/watch?v=y6O7oll1BN4 - AmbientAICallouts - Teaser

 

 

 

How to Use:

- Automatic separate AmbientResponse System which triggers AiCallouts.
- The AI will call for Backup if they need you. It will be shown as a LSPDFR Callout.
(you have to be available for calls)
- Attach yourself to an AiCallout

      simply use GrammarPolice and tell dispatch "show me responding in addition"

      or by pressing CTRL + X (can be changed in .ini)

- Console Commands for...

    StartRandomAiCallout => Forcing an random AiCallout,
    StartAiCallout AiCalloutName => Forcing an specific AiCallout,

    AbortAllRunningAiCallouts => Aborting/Cleaning up all AiCallout,

    AbortAiCallout FiberNumber => Aborting/Cleanup an specific AiCallout,  

    ReloadAmbientAICalloutSettings => Reloading AmbientAiCallout Settings,
    ReloadAiCalloutPlugins => Reloading the AiCallout dll's from /plugins/LSPDFR/AAIC

 

 

Installation:

Paste everything into your main Grand Theft Auto V folder.

Except for the READ_ME.

 

Requirements:

LSPD First Response.dll
RagePluginHook.dll

 

Recommended Addon:

Grammar Police V1.4.1.3

Heli Assistance V2.2.1

 


API and Documentation:

Create your own AiCallout. We provide a textual and visual documentation and template to easily create an AiCallout.

Learn from existing AiCallouts. OpenSource AiCallouts: https://github.com/ziipzaaapM16A4/Default-AiCallouts-Pack

Use the Template to jump right into development. All necessary and recommended are already there and with comments:
https://github.com/ziipzaaapM16A4/AiC_Example

 

 

 

Please don't forget to rate this plugin afterwards.

if you find a bug then give me the chance to take a look at it before posting a negative rating.

 

 

Attention: AAIC is penetrating the boundaries of GTA V's ability to manage/tasks objects in the GTA world objects. That doesn't mean that its likely to crash. It just means that if objects are to far from the player, GTA is more likely to prioritize things in the near. It can result in object not tasking things in the distance or GTA cleaning themselves up. This is one of the main reason why AiCallouts aborts themselves.
We do prevent crashes but we cannot prevent the abort of an AiCallout.

 

Known Issue:     Please open supportticket on our Discord if you encountered an Error.

- Most of the issues are object invalid errors but they should not crash. Just a bit log will come. 
- Sometimes if you are to far from an AiCallout the process will sleep until you're nearby due to rage not executing tasks to reduce resource usage. 

 

- With StopThePed you are unable to handle 2 Situations: a specific path of MVA and a specific path of the LSPDFR Callout OfficerRequiringAssistance.
  ==> due to not beeing able to LSPDFR Frisk a ped (when using STP) the "wait for frisk" will never end. => kinda fixed in the next version. Git reference
- HeliAssistance beeing taken away from the player due to AiCallout ending. => Can't fix this due to missing id system in Heli Assistance. API request has been send.

- Fighting: A stopped suspect won't disappear after time. hotfix coming soon. => Git reference
- ShotsFired: Ai will always call for Backup. hotfix out and online.  => Git reference

Edited by ziipzaaapM16A4
small details edited.


What's New in Version 0.9.7.3

Released

0.9.7.3: 
- fixed random units apearing and not moving when AiCallout has been canceled at Setup() part.
- Added Code 4 Notification when LSPDFR callout ends.
- Added HeliAssistance request probability in the .ini file. Decide yourself how often a Helicopter should get requested by dispatch.
- [fixed] AmbientResponse taking HeliAssistance Helicopter from Player when in use.
- [fixed] RejectedCalloutAI validity check to prevent crashes.
- [fixed] OfficerUnderFire: End(): crash.
- Reduced unnessesary error log when fibers aborts
- Vehicles will never be dismissed now. they will be non-persistent and disapear from itself after time.
- Added Heli request when AAIC-OfficerDown Callout.
- GrammarPolice status handler has been stabilized.
- Key Watcher has been changed.
- And many other big and small changes.
API:

- AiCallouts must now match the MinimumAiCalloutDistance and MaximumAiCalloutDistance

   to prevent beeing aborted by AmbientResponse.

- Added Code3 & Code2 Response difference. ResponseType can now be set in a AiCallout. 
  (Units will drive with lights and siren or normal) (take a look at Example_AiC online at GitHub.com for an Example)
- EnterAndDismiss() overload: can now only dismiss officers.
- EnterAndDismiss(): [fixed] can now dismiss even when original driver doesn't exist anymore and more other validity checks.
- EnterAndDismiss(): [fixed] unit not despawning when officers despawned before entering the vehicle.
- COM_OnScene(): the function which simply calls ai "OnScene" if possible has been fixed.
- IsAiTakingCare(): improved algorithm with probability in percent (take a look at AmbientAICallouts.ini)
Default-AiCallouts-Pack:
- ALL: callout distance self check added.

   Each Default-AiCallout has now its own distance self check to prevent beeing aborted by AmbientResponse due to invalid callout location.
- ALL: Reduced unnessesary error log when fibers aborts.
- Fighting: is now able to handle interaction by the player.
- Example_AiC: more comments and updated Example_AiC.cs
- [fixed] MVA: checking validity before calling LSPDFR functions to prevent crashes.
- Shotfired: Reduced task assignment for the GetInCoverTask.

- ziipzaaapM16A4 Director and Main Programmer.
- Piero for his work on the additional radio voicelines and editing almost all audio files over and over again until i was happy.
- Chris Scribner aka ChrisComposes - second voice actor.
- audiopalette for editing voicelines of the first voice actor.
- Brian Watts aka ShadowsFate - first voice actor and initially getting me to the idea to have additional radio voicelines.
- Pumpk1in for being the longest Patreon and for his advice on how to modify audio files to the quality of GTA's original audiofiles.
- Palfy & Lenny for their continuous support in testing, moderating and discussing AAIC related things.
- TheUnit for his help in my first steps of this plugin and expanding the whole idea to a master project.

People from the LSPDFR Developer Discord who helped me with problems (tell me if i forgot somebody):
LMS
PNWParksFan
Vincentsgm
sloosecaboose
Rich
alexguirre
...much more i can't remember all of them...

The people i'm using their API:
- opus49 - Creator of GrammarPolice - Thanks for adding features to his API in Grammar Police so AAIC is not interrupting the player when using the radio.
- OJdoesIt - Creator of HeliAssistance. - Thanks for his features to control the on scene time individually for plugins.

Optimized for

  • GrammarPolice

    Interact with the dispatcher.
    opus49

    By opus49

    Updated

    • 671.5k
  • Heli Assistance - Observer Mode, Customizable Searchlight, More Features

    helicopter helicopter helicopter helicopter
    OJdoesIt

    By OJdoesIt

    Updated

    • 131.9k
  • You may also like

  • Emergency Lighting System

    Emergency Lighting System V brings one of the most popular modifications ever created for a GTA title (ELS-IV) to Grand Theft Auto V. ELS-V will add a whole new dimension to  your patrols. With a fresh look and many more features than its predecessor, it's also sure to brighten up your game and satisfy the emergency lighting enthusiast in anyone.   DESCRIPTION − ELS provides an alternate and incredibly in-depth way of controlling emergency vehicle lights and sounds. − ELS requires
    Lt.Caine

    By Lt.Caine

    Updated

    • 4.4m
  • GrammarPolice

    Interact with the dispatcher.
    opus49

    By opus49

    Updated

    • 671.5k
  • LSPD First Response

    The LSPD First Response modification
    G17 Media

    By G17 Media

    Updated

    • 17.6m
  • Player Location Display

    PLD–Player Location Display is a script modification that displays the player's current location (including street name or intersection, area name, and region) at the bottom-left corner of the user's screen.   DESCRIPTION − PLD displays the player’s current in-game location on the screen. − Location includes street name or intersection, district name, and region. − PLD also displays the current in-game time. − PLD allows the user to toggle the size of the radar and provides som
    Lt.Caine

    By Lt.Caine

    Updated

    • 655.7k
  • LSPDFR Computer+

    Ever miss the LCPDFR computer? The one with the user-friendly realistic interface? LSPDFR Computer+ aims to bring that back. LSPDFR Computer+ is open-source! Check out the git.   Looking for the Ped and Vehicle Images? Click Download,  select Additional_ComputerPlusImageAssets.zip and extract the contents to your root folder   Features Ability to search for persons and vehicles without keys conflicting with other mods. Ability to request backup using a nic
    PieRGud

    By PieRGud

    Updated

    • 1.4m
  • More Radio Chatter

    Give more immersion to your gameplay
    AkASlow

    By AkASlow

    Updated

    • 92.8k
  • User Feedback

    You may only provide a review once you have downloaded the file.


    Gelse16

    · Edited by Gelse16

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    still using this in 7/2023 without any issues and crashes. works fine for me and is a lot of fun in game! very good job!

    Link to review
    ADPC67

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    A plugin that should already be implemented in the basic LSPDFR. A really amazing job and it is bug free.

    Also, I take the opportunity to post a suggestion. On calls like "Shots fired" etc., there should be more 2-3 units that go to the intervention.

    Thanks again for the plugin!

    Response from the author:

    Individual amounts of police vehicles have already been implemented into the update fully. Update is still in progress

    Link to review
    DooVan

    · For current version

       2 of 2 members found this review helpful 2 / 2 members

    THE BEST IMMERSIVE PLUGINS EVER !!!!!!!! I recommend  110%

     

    The ONLY point to upgrade is the number of different callout they use (4) it should be more to make it more realistic and also less redundant...

    Link to review
    Stratuas

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    Like other reviewers have stated, this plugin is absolutely essential when playing LSPDFR. The amount of immersion and gameplay scenarios that are brought to the table are amazing. Callouts are enjoyable and can go numerous different ways. Absolutely must download.

    Link to review
    mwhite29134

    · For current version

       0 of 1 member found this review helpful 0 / 1 member

    I love this, Its a big part of my game I love having other cops running calls. Works well. My only issue with it is I wish there was more call verity. Over all its really good and its a must have in my book. 

    Response from the author:

    With the new update i guess there will be more AiCs coming from third party developers. There is already one third party plugin called terrorist attack. 

     

    But a few developers already told me they will write some AiCallouts in the future. 

    I told them to wait until the update because it makes things easier instead of rewriting the code.

     

    For my part i should maintain the improving work of AAIC and the Default-AiCallouts-Pack. (Which are all publicly available at GitHub)

    Link to review
    thefakeginge

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    This is absolutely an essential mod if full immersion is what you're looking for. The author has done an outstanding job and has made it easy for others to build on their hard work 

    Link to review
    Officer Cabaniss

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    mod is a nice addition to game but causes several crashes, ai will sometimes just bug out and sit still with their sirens on, which will cause a pileup of els vehicles making you lose textures, some ai backup request crash your game and some even do when you dont respond to them...

    Response from the author:

    you got any log and vid by any of these?

    Link to review
    bryfd

    · For current version

       0 of 1 member found this review helpful 0 / 1 member

    I love it. Before the I had this plugin, it felt like I was the only officer in the city

    Link to review
    vlad96

    · For current version

      

    this is a must have script for realism and the author is really helpful and bring fixes regularly i highly recommend it !!

    Link to review
    Peyn

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    Kudos to this guy for listening to the bug reports and constantly updating the plugin. 5 stars is not enough to give for that, keep it up!

    Link to review
    M.Williams

    · Edited by M.Williams

    · For current version

      

    Not to sound sappy but I about near teared up from happiness seeing this. This has now set the bar and I believe you will go further and beyond. You have to have this as part of your plugins. 10/10

    Link to review
    RitzSensei

    · For current version

      

    Overall, amazing plugin, has its hiccups here and there, but what mod doesnt? I would love to see where this goes in the future, I see amazing potential for it. Would love more callouts, and maybe ambient traffic stops that they call over the radio (like I said in the discord). Thank you so much for this plugin. Will make sure to have this in all my installs from now on.

    Response from the author:

    there is not a single "traffic stop" radio audio file in vanilla GTA.
    lspdfr provides ambient traffic stops.
    so there is no motivation for me to do so.
    which doesn't mean that other devs shouldn't do this. i am sure there is potential in this idea but I'm focusing on making AAIC better and i hope that other devs will focus on creating AiCallouts. or implementing them for their callouts.

    Link to review
    ModernWarrior24

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    Immersion is off the charts, recent updates fixed a lot of the crashes I was getting. I am now your child. 

    Link to review
    yeinzy

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    5 star mod! Works like a charm with the new updates on this mod and works well, immersion as its best. Great work and looking forward what else will come

    Link to review
    Charlie S40

    · For current version

       2 of 2 members found this review helpful 2 / 2 members

    You have no idea how much I love this mod and can not wait to see its future. I enabled the option to see the other units and calls as you would on any mdc in a car. The ability it add on is fantastic. Obviously there are some bugs but I expect that with a complex mod. This makes things a lot more life like. Especially seeing the other units. I will be donating to you this week. Being able to run with the other unit to the call is fantastic!!!! 

     

    Love it!!!

    Link to review
    mybuttstinks

    · For old version 0.9.5

      

    Great mod! But i have come across an issue. Whenever, I respond to a call. It gets canceled when Ai cops responds back to dispatch thus resulting in a lspdfr crash. Also, on the next update is it possible to prevent Ai cops from driving recklessly when responding to calls?

    Response from the author:

    Quote

    It gets canceled when Ai cops responds back to dispatch thus resulting in a lspdfr crash.

    need log for this. come to my discord and open an support ticket so i can have a look whats happening here.
     

    Quote

    Also, on the next update is it possible to prevent Ai cops from driving recklessly when responding to calls?

    Sorry i did as much as i could but even with natives there isn't much i can do. 
    if you use custom handling files this can get worse.
    I'm hoping that there will be soon a new version of lspdfr which includes their improved driving task as a API feature. 

    Link to review
    MattCC16

    · Edited by MattCC16

    · For current version

       2 of 2 members found this review helpful 2 / 2 members

    Amazing mod with great audio and overall immersion! For future updates a more detailed (and clear) .ini would be nice so we can customize timing and vehicles. Response: The ini functions are a little confusing to me, and I do not know exactly what some of them do, so making that more clear would be nice. Maybe being able to customize timings for AI response times too 🙂 Thanks @ziipzaaapM16A4

    Response from the author:

    what do you expect the ini to have?

    Link to review
    ×
    ×
    • Create New...