Everything posted by Fiskey111
-
code red callouts/assorted callouts crashing
Please attach your RagePluginHook.log file here (or place it inside spoilers). That should be able to tell us what the crash is caused by!
-
[WIP] L.S. Noir
Updated original post with newest update!
-
Super Wednesday: ELS and RDE 3.0 now available!
Just so you're aware ELS does offer both takedowns and steady burns (in the form of cruise lights)! Thanks for the update, Sam! Two great mods released on the shortest day of the year!
-
What have you splurged on during this year's Steam Winter Sale?
Great choices! They're all amazing games. @CouthInk4 that's a lot, haha... I've only picked up Supreme Commander 1, the Forest, and I just got a $20 gift card to pick something else up too!
-
2016 Ford Police Interceptor Pack w/ HQ Interior - ELS
- 427 comments
- 75 reviews
-
Help with creating dynamic callouts
My 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.
-
Help with creating dynamic callouts
I'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!
-
need overclocking help.
I would recommend looking on youtube for your laptop specifically. If you are able to overclock it will be adjustable in your bios. From what I recall, most laptops don't offer overclocks due to bad thermals; although search around on the web. Good luck!
-
How many different lightbars uses your local PD?
Why the transition from red-blue to blue-blue? Law change?
-
Callout Manager
Absolutely a must have!! Not only can you trigger whatever callout you wish (useful if you're in the mood for a certain callout but can't get it to come up) but also is a must have for developers! Beautiful job!
- 138 comments
- 34 reviews
-
RedBullGermany`s showroom
Beautiful!!! Planning on a pack release of everything?
-
ITS ALIVE
Oh my god I think I just died and went to heaven!! I've been waiting for those trunk lights thank you so much for them!
-
[WIP] L.S. Noir
Just a heads up to everyone following this, there are a TON of updates and fixes for L.S. Noir! Albo will be streaming a video playing the new version with myself as a special guest TOMORROW!! You can subscribe to Albo to be notified when the stream starts here: https://www.youtube.com/channel/UCSDMQS6b2roa-dZ0vAyaVWg I will post an update to the WIP page after the stream to show you some of the changes!
-
Degree, or wait?
A degree will typically help you in all circumstances, the issue is the cost. Spending $100,000 on a 4yr degree is a waste, unless you're going into engineering or a high-paying career field. I would recommend weighing both sides -- look into programs like my school has: a 4+1 CJ masters program that provides you full certification as a police officer in your state while also providing you with a masters degree. But also look into the pros of the other side too, just know that in case something happens you'll be back where you are today. My final piece of advice, and the most important, is- Talk to some people with expertise in this; not a forum for a video game; while we may be able to provide some insight, a school guidance counselor as well as admissions from any local colleges/universities might be able to help you formulate your own answer! Good luck!
-
Getting persona data through LSPDFR computer w/o ped
This is used in my MDT (in my signature below). I don't recall where I called it -- it's somewhere in a class used after the player types in a name of a ped into the text box.
-
Getting persona data through LSPDFR computer w/o ped
Not sure what you're talking about/asking. This is used in a separate plugin that doesn't utilize the LSPDFR callout system.
-
Rage Native UI
If your game is freezing when you're calling it I would assume it's from not yielding the gamefiber you create it in. I would try that!
-
GTA EFLC ELS V8 Rotators with model 'POLICE4', 'NOOSE'
I haven't played GTAIV in at least a year but from what I recall only police and police2 and firetruck allow for rotators.
-
[WIP] L.S. Noir
Progress has been going smoothly! We hope to have some more information for you all in a couple weeks! Life's been a bit busy for us all, haha.
-
No Lights/Sirens for Addon Vehicles
For me it was an issue with my content.xml I would recommend redoing the entire pack while adding one car at a time to check it!
-
Bright Lights
- 35 comments
- 21 reviews
-
No Lights/Sirens for Addon Vehicles
Hello all! I decided to make a dlc pack with all the cars I wanted so I can make sure that I don't have to do this again, haha. However, like always, something's messed up... I've scoured the forum here and google and nothing helped... Maybe one of you can? 1) My dlc is added and I can spawn the vehicles just fine (so therefore I'm assuming that my vehicles.meta is being read?) Below you will find a screenshot of all the vehicles in my dlc: 2) I copied over all the sirensettings from the vanilla one so I can reference those in the dlc. Here's an example of the carvariations for a car that doesn't work (note that I did copy this over from police3 that works and it still didn't help...) 3) Below you will find the vehicles.meta for that vehicle (police5) copied from the one provided by BxBuggs and renamed to police5 4) Here you will find my setup2.xml and fiskeyconfig.xml, just to make sure that those are correct. (Note that I changed the value for the vehicles.meta's disabledvalue to false just to test it) I don't know what I'm missing. I've tried changing the audioNameHash to: POLICE, police, POLICE2, police2, SHERIFF, sheriff and none of that worked. If anyone can help I'll be forever in your debt!!!
-
Realistic Dispatch
I would love the idea of this, but the main issue is that NFS only has pursuit based "callouts"/audio whereas we have a varying number of audio files. If someone could figure some way to do this I wouldn't see any issue and I think it would be amazing! Whaaat? Where do I find more information about this??
-
RedBullGermany`s showroom
That looks beautiful! Just a quick thing I noticed - it looks like the ALPRs are blocked by the back lightstick. Nothing major, and I'd certainly still use it! But I figured I'd mention it!
-
[WIP] L.S. Noir
^What he said! But in all reality, it's definitely difficult to make something repayable many times. You can only induce so much randomness into something, and even games like GTAV weren't meant to have their campaigns played 300 times like LSPDFR mods are. We definitely are planning on doing as much as we can for that, but the main focus now is getting a stable, complete product that contains many features and is a suitable base for us to build off of. Thank you though, we want all the feedback we can get!