Everything posted by ziipzaaapM16A4
-
Heli Assistance - Observer Mode, Customizable Searchlight, More Features
i think i can't use LMenu as Menu Modifier! Do you think you could implement 2 air units and every time you request one the nearest free air unit will respond?
- 366 comments
- 33 reviews
-
EUP VEST&EARPIECE
- 551 comments
- 44 reviews
-
[Request] API Functions
In Addition to what we've already requested: Events like OnCalloutNotAccepted(LHandle lhandle) or OnCalloutAccepted(LHandle lhandle) should be overloaded like this: OnCalloutNotAccepted(Callout callout) because reflection can break after an update. Reference to the discussion: https://discordapp.com/channels/191266053861539840/191692646241140736/741445779817889894
-
Get Callout info
thanks to @alexguirre for helping me with this and finding the solution: for example we are trying to get the CalloutPosition. Event_OnCalloutNotAccepted(LHandle lhandle) { Vector3 pos = new Vector3(0f, 0f, 0f); var prop = typeof(LHandle).GetRuntimeProperties().First(p => p.Name == "Object"); var lhandleObj = prop.GetValue(lhanlde); Game.LogTrivial("[TestPlugin] DEBUG: The type of the object is: " + lhandleObj.GetType()); if (lhandleObj is LSPD_First_Response.Mod.Callouts.Callout callout) { pos = callout.CalloutPosition; //change CalloutPosition to what you need. } Game.LogTrivial("[TestPlugin] DEBUG: pos is" + pos.ToString()); }
- Get Callout info
-
Get Callout info
I am interested in the callout location. how can i get this information if this is possible. I'm using events to get the LHandle but there is not much I can do with it.
-
GrammarPolice
post RAGEpluginHook.log in a spoiler just like this: take a look at go to opus discord for more support. link in the plugin description. have a nice day.
- 1,351 comments
- 82 reviews
-
[Request] API Functions
I see what you mean. I just checked the API XML. You're right. This function makes my request obsolet. Well then I stick to the other 2 requests: void setCopAsBusy(bool yes) and void respondToLocation(...)
-
[Request] API Functions
@PNWParksFan A vehicle may not exist in any definition for a particular position. Instead of these two, you can use the existing RequestBackup API functions which already account for the user's preferences for what vehicles and liveries spawn where. here im actually just addressing your own request : "Cough cough time for an lspdfr api function RespondToLocation(Vehicle, ResponseType, Vector3)" https://discordapp.com/channels/191266053861539840/191692646241140736/735994769334993016 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- A vehicle may not exist in any definition for a particular position..... It's not about that specific vehicle. It's about the model that is used for this vehicle. The feature should give you an integer that can be used for SET_VEHICLE_LIVERY. An example for the use of that function would be: NativeFunction.Natives.SET_VEHICLE_LIVERY( unit, getVehicleLiveryOfPosition(unit, position)); I mean I'm aware of the RequestBackup function. But the ped has a task to drive. I still could RequestBackup, take the vehicle and delete the Peds to use the vehicle for my own purpose. But I'm still getting a random vehicle from the police vehicle list in the XML. It takes Resources from the game and would, in case I want a specific vehicle, still not deliver the vehicle I need. And I'm not requesting backup until I get my vehicle. This function makes it much easier to handle the liverys. But maybe you accept this: int getVehicleLiveryOfPosition(Model vehicleModel, Vector3 position)
-
[Request] API Functions
Further requests int getVehicleLiveryOfPosition(Vehicle vehicle, Vector3 position) beieng able to get the right livery for a location is probably one of the most important api functions when using vehicle mods. void RespondToLocation(Vehicle vehicle, Code code2, Vector3 position) a driving task from responding units over lspdfr. getting something that is better than GTA V AI. bool isCopAsBusy(Ped officer) are there any tasks like responding code2, responding code 3, prisoner transport, there was another feature request but i forgot it. i will add it later.
-
AmbientAICallouts
- 90,839 downloads
- Version 0.9.9.02
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 V0.9.9.02 Released Better late than never. 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. - 6 AiCallouts included. - 4 LSPDFR Callouts included. ==> execution only by AiCallout RageNativeUI Menu - Watch over the entire Neighborhood and Start Emergency's and other stuff with the convenience of a easy controllable Menu and a big mini map. - Partial Settings editor - Settings Save function AiCallout API & documentation. Create your own AiCallouts. --> reload AiCallouts without reloading LSPDFR. - GrammarPolice Support: no interruption by Dispatch [Outdated API] - Heli Assistance Support: Helicopter responding to AiCallouts. Meet other Units while their Breake - StandingAmbientAI has been developed to make your units more immersive. Meet your colleagues in the street and idle for emergencies. RejectedCalloutAI --> If you don't take the call, AI has to Respond - The Unit will respond to the location of the call you denied. Ressource friendly Cop Car Pool - Units will only be claimed and persistent while emergency's allowing them to be used by other mods. - Units get their persistent Callsign by writing it on the License Plate. Custom Voice Line System (API integration later) - A Custom Voice Line System that allowed us to implement different available voice lines. - Brian Watts (Homepage Voice Actor) is a Police Officer on Duty with custom voice lines. He drives 1-Lincoln-35. Here is a List of all development demos & other videos: 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) - Menu for AAIC by pressing LCTRL + F8 - You cannot attach yourself to an Rejected LSPDFR Callout from the RejectectedCalloutAI Feature. - 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.4.2 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. So far this Theory could never be approved by senior developers i want to say i've reviewed the code a dozen times, i cannot find a piece of code causing vehicles to go invalid. We do prevent crashes but we cannot prevent the abort of an AiCallout. Important Note: The more mods that are loaded onto the game, the more the instability rises. Large vehicle packs can greatly reduce an entity's lifetime before it is deleted from the pool by whatever visual or scripted mods. Known Issue: Please open supportticket on our Discord if you encountered an Error. - Most of the issues are invalid object errors but they should not lead lspdfr to crash, these errors just give back log. The Reason might be older versions of ELS which would despawn police vehicles left alone. Visit Changelog from Released June 28, 2024. Version 1.05 - 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.- 346 comments
- 42 reviews
-
GrammarPolice
Updated is telling you that the Plugin Page has been updated not the mod itself. for file updates stay tuned on: https://discord.gg/AuJCUag at #roles you can give yourself the "- Software Release" notification role
- 1,351 comments
- 82 reviews
-
What Was Your Name Again?
-
What Was Your Name Again?
-
GrammarPolice
@AidanDaDoolphin I didn't want to switch either. But i changed my mind. This is a whole lot better. To calm you about this: You can setup the exact same features, even more and easier
- 1,351 comments
- 82 reviews
-
[Request] API Functions
Thank you very much. I appreciate your work.
-
[Request] API Functions
Right. didn't think about that. so void sendPlateCheckAnswer(Vehicle vehicle) but it would still trigger the insurance and registration notification that's always comming along with this message, right? i cant remember from wich plugin this was.
-
[Request] API Functions
-
[REQUEST] Actions with downed suspects
How about the Ability to do some actions with downed suspects (after shootout). for arresting: maybe putting force to the arms so the suspect will held his hands behind his back for searching: the medic searching a corpse animation. Results could be given just as frisking a ped feature.
-
More Radio Chatter
There will maybe come a feature to Grammar Police @opus49 which lets you detect the time since the last communication. @AkASlow Would be great if MoreRadioChatter could detect when there has been a recent communication and do not trigger the radio chat while user is talking to dispatch. (Wait and check again if last communication was more than 20 Seconds ago) Actually i wanted to do such a plugin but as soon as is saw yours i stopped. @AkASlow Btw im interested in making an "ambient cop response". That means when dispatch is sending an unit to an emergency an actual nearby unit could respond and switch to code 3. I can programm this myself i just need an indicator from your plugin or i make an public function and all you do is triggering the function when a unit just received an callout.
- 96 comments
- 33 reviews
-
GrammarPolice
@TheCanadianDream Please do not Post your complete log without putting it in a Spolier (icon with an eye) like here: Please edit your last post and put it in a spoiler to prevent this mess.
- 1,351 comments
- 82 reviews
-
[Request] being able to follow comments of posts but not of files.
no you're right. but at topics i want to get notifications from comments.
-
[Request] being able to follow comments of posts but not of files.
Sometimes i want to know when there is a comment from a specific topic but as soon as i follow files im getting notifications from comments on files. Is it possible to send me notifications just when there is a new comment on a topic not at a file?
-
[ELS] LSPD Legacy Pack
- 276 comments
- 45 reviews
-
My Plugin cant be load Being Used by "Another Process" after crash
Could you specify how to: