LordRaven
Members
-
Joined
-
Last visited
Reputation Activity
-
LordRaven got a reaction from fireboy6117 in Ravenguard Callouts - SupportNew version coming soon with a complete rewrite of the Domestic callout, early alpha release so more will be coming soon!
-
LordRaven got a reaction fromDeactivated Memberin Ravenguard Callouts - SupportUpdated to version 0.1.1
ChangeLog:
-Added support for RagePluginHook ver 0.49
-Added more Variations to the Domestic callout (Suspect should do one of three things, Fight, Flee, or Surrender)
More callouts are coming with version 0.1.1b which should be released by 12/23 and should bring at least two new callouts if not more.
//End Updates
Ravenguard callouts is a collection (two in total so far), that would be expected in the everyday duties of Officers, yet I have not seen them implemented in other plugins.
I just started learning to develop callouts, and this is a learning process. I intend for their to be more callouts, not sure on the amount but I would like to develop at least 5-8 different and unique callouts. I am releasing this in an early beta form and this is not to represent the final product.
I have tested this with most of the major callout plugins that you find on here and have had no issues so far. If you find something please leave a comment and a log if you get one. Screenshots are nice to.
Current Callouts:
Domestic Disturbance (Two people are fighting and caller says one of them has a gun, this plugin will develop alot more with future releases)
Dead Body in Car (Someone called 911 saying that they think there is a dead body in a car, respond to the vehicle and find out)
Future features that are planned:
Domestic dispute between neighbors (Handle the call as you see fit)
Stolen Vehicle (Want to add more depth to a stolen vehicle call. If the suspect pulls over will he tell you that you his gf is trying to get him arrested after a fight? Will he take off and attempt to flee? Or will he open fire on you as you approach. I would like to make it so there are many things possible for the suspect to do)
As suggested by BlueSteelShield:
Prowler
Vandalism
Parking violation
Forgery(money)
Accident(ped vs car)
Missing person
And more will be added as I develop the callouts, also any ideas would be great I will do my best to implement the things the community wants.
Thank you for downloading Ravenguard Callouts!
Want to help Develp Ravenguard Callouts? Send me a message and I will gladly accept help on this project.
I will update this thread with each new release.
For any support related questions please post here:
-
LordRaven reacted to Fiskey111 in Help with creating dynamic calloutsMy assumption is that as you press "Y" to accept the callout and the code advances to Process() it still is registering you pressing "Y". I'd running a check to see if the player is on scene first before allowing that code snippet to run.
-
LordRaven reacted to Fiskey111 in Help with creating dynamic calloutsI'd recommend creating a class that is used just for calling random number, like this (this may be wrong, I lost my common file so I don't remember exactly how I did it:
class RandomNumber { public RandomNumber RandomNumber() { return new Random(); } } Then you'll want to do something like this in your Process() loop:
(Edit: I just noticed an error; the class above should be labeled "Random" not "RandomNumber". That will allow the code below to be correct)
Process() { //Create your random number once to determine your outcome int ran = Random.RandomNumber.Next(1, 4) if (ran == 1) { CallFightCodeHere(); } else if (ran == 2) { CallFleeCodeHere(); } else if (ran == 3 || ran == 4) { //This will have a higher chance of occuring because it checks for 2 numbers CallOtherCodeHere(); } else { DoSomethingElse; } } As for the blip not being removed, make sure you check to see that it's being deleted in your End() like:
if (myBlip.exists()) myBlip.Delete();
As for checking to see if your suspect is dead/arrested, I have a method I've created in a separate class (ExtensionMethods) and call during my process. To use it you'll need to add your suspect(s) to a list you create and pass that to this method. Here's an example:
//Add suspect to list when you create him private Ped mySuspect; private List<Ped> susList = new List<Ped>(); public bool OnCalloutAccepted() { mySuspect = new Ped(myspawn); susList.Add(mySuspect); } public Process() { base.Process; //Run some code (like above) // This will return true when every suspect in your susList (if they exist) is arrested or dead if (ExtensionMethods.PedCheck(susList)) this.End() } class ExtensionsMethods { public static bool PedCheck(this List<Ped> peds) { AddLog(peds.Count.ToString()); if (peds.Count >= 1) { foreach (Ped ped in peds) { if (ped) { if (Functions.IsPedArrested(ped)) { continue; } else if (ped.IsDead) { continue; } else return false; } else return false; } return true; } else return false; } } This is a quick summary all from memory, so it may not be correct. Dynamic callouts are hard to make, but they can make or break a callout!
Good luck!
-
LordRaven got a reaction from billiarboy in Ravenguard Callouts - SupportUpdated to version 0.1.1
ChangeLog:
-Added support for RagePluginHook ver 0.49
-Added more Variations to the Domestic callout (Suspect should do one of three things, Fight, Flee, or Surrender)
More callouts are coming with version 0.1.1b which should be released by 12/23 and should bring at least two new callouts if not more.
//End Updates
Ravenguard callouts is a collection (two in total so far), that would be expected in the everyday duties of Officers, yet I have not seen them implemented in other plugins.
I just started learning to develop callouts, and this is a learning process. I intend for their to be more callouts, not sure on the amount but I would like to develop at least 5-8 different and unique callouts. I am releasing this in an early beta form and this is not to represent the final product.
I have tested this with most of the major callout plugins that you find on here and have had no issues so far. If you find something please leave a comment and a log if you get one. Screenshots are nice to.
Current Callouts:
Domestic Disturbance (Two people are fighting and caller says one of them has a gun, this plugin will develop alot more with future releases)
Dead Body in Car (Someone called 911 saying that they think there is a dead body in a car, respond to the vehicle and find out)
Future features that are planned:
Domestic dispute between neighbors (Handle the call as you see fit)
Stolen Vehicle (Want to add more depth to a stolen vehicle call. If the suspect pulls over will he tell you that you his gf is trying to get him arrested after a fight? Will he take off and attempt to flee? Or will he open fire on you as you approach. I would like to make it so there are many things possible for the suspect to do)
As suggested by BlueSteelShield:
Prowler
Vandalism
Parking violation
Forgery(money)
Accident(ped vs car)
Missing person
And more will be added as I develop the callouts, also any ideas would be great I will do my best to implement the things the community wants.
Thank you for downloading Ravenguard Callouts!
Want to help Develp Ravenguard Callouts? Send me a message and I will gladly accept help on this project.
I will update this thread with each new release.
For any support related questions please post here:
-
LordRaven got a reaction from GoingCode3 in 0.3 help with hand on holsterSo this may help, you do not need to download that a mod, first pull out your gun, press and HOLD caps lock, when you release it, he takes his hand off the gun and you have to pull it back out, and press and hold caps lock again. Try that see if it works, if not something is wrong.
-
LordRaven got a reaction from Avokant in 0.3 help with hand on holsterSo this may help, you do not need to download that a mod, first pull out your gun, press and HOLD caps lock, when you release it, he takes his hand off the gun and you have to pull it back out, and press and hold caps lock again. Try that see if it works, if not something is wrong.
-
LordRaven got a reaction from TheUniT in Hunting down Trevor?Arrived on scene out in the desert to a Armed pursuit, trevor and Ron had a truck with a machine gun in the bed and trevor was trying to decimate the police force. Ended up having to take em both out. But yes it is possible.
-
LordRaven reacted to SHERIFF/EMS/FIRE in ELS 8.5 question'?do=embed' frameborder='0' data-embedContent>>
-
LordRaven reacted to LMS in Crash on calloutsKnown issue with robbery callout, fixed in next release.