Everything posted by Fiskey111
-
Playing Audio
Hi Guys, So I'd like to be able to play an audio recording of a person's voice. I tried using the Functions.PlayScannerAudio() but I found out that there is a limit to the length of the audio apparently. Any idea how to play the audio? I really don't want to try to break up this audio to make it work, but I will if there is no other way! Thanks!
-
Voice Actors Needed
That's fine! There are a couple neutral toned ones! I've attached the script if you two (or anyone) would like to check it out! Script.docx
-
Voice Actors Needed
I highly doubt that you didn't do it right at least one of those times! I'm not looking for 100% perfection, I want some variation on the lines- in real life nobody speaks perfectly, they make mistakes. That's what I'm looking for with this!
-
Voice Actors Needed
I mean you all know that LS is a vibrant city with plenty of diversty, so yes British voices would be great! If you guys want to send a small samplease just to make sure you both don't sound the same that would be great!
-
Voice Actors Needed
Hi everyone! I'm looking to add in some realism to my callouts (Secondary Callouts). I'm basically doing a complete rewrite of every callout and making them have a lot more randomization. With this I'm hoping to have some voice actors add to the realism. I'm only looking for 5 people (ish). I have a friend working with me now on it, so I'm looking for people with different voices (like a female, deep voice male, etc). So, if you have adequate voice recording software (like audacity) and are able to read scripts well please PM a recording of the following lines: Thanks!
-
LSPDFR 0.3 Callout
Ah, gotcha. Thanks for that! Ugh yep this was just me being an idiot. I haven't used this callout in a while and forgot that I moved my ped spawning to OnCalloutAccepted...... Thank you!
-
LSPDFR 0.3 Callout
Hi everyone! I'm running into an error with my callouts. I had replaced LSPDFR.dll & RAGE.dll with the new ones, reloaded my references, and fixed all errors found. However for some reason I keep getting this error and I can't figure out what the issue is. I don't know why the directory is E:\GTA V... because my E drive is a SSD with only a windows 7 installation on it (is that the issue, like its looking in the wrong drive? It doesn't make sense because the standard LSPDFR callouts work fine) Thanks!
-
Secondary Callouts
Haha, yes! I did hide it, sorry! I'm undergoing training all weekend into Tuesday so I won't be free to work on it until after then! I will work hard though, and the next release will include all the new callouts!
-
Variation in Callout
Hi guys! With the hype of LSPDFR 0.3 coming out, I'd like to ask for your help! I'm trying to make my "restraining order callout" to be the best callout I've made! I'm having some issues, I can't figure out why my callout won't pick the second option (state = ERestrainingState.R2) and only one ped (perp = tennis). I'm confused as to why it won't pick my variations. Thank you! Any help?
-
YOU DECIDE! Disturbance Callout!
Thanks! I like that one! Maybe I can do some variations on what was stolen, too! Well currently the "Disturbance" is an argument between two individuals in the street, blocking traffic. So It's not like you respond to the mess, you're responding to an argument (which I'm looking for different topics of). But I do like the fire/burglar alarm one, I might include that in it as well, if not in a future release. The restraining order would be cool too, perhaps someone calls because they see the person that they have a restraining order against nearby and you have to find them and deal with them (perhaps they just give you a description). Good ideas!
-
YOU DECIDE! Disturbance Callout!
Hi everyone! I need YOUR help to decide the conversations in my new disturbance callout! Currently I have two scenarios (I'm hoping for at least 5)- Someone cheating, and someone making a mess in their house. Basically, I need topics (and preferably a simple script) for other arguments you might find at a disturbance callouts. Google and my brain have failed me so far, so hopefully you can help! The way the callout currently works is you arrive on scene, then the two perps (Perp 1 & Perp 2 begin arguing [some audio is present, nothing related but hopefully it will help with the realism]). Then, there is a chance for something to happen- one fights the other, runs, or nothing happens. I want to be able to do that with each possibility, so please include that! Example Format (Please put the script in a spoiler, I don't want half the thread to be the script): Topic: Cheating Spouse Hopefully some of you will answer!
-
Vector3 Comparison
So, how do I go about doing this? I've tried to add this code in (attached) but I have no idea how to do this. Honestly, I might just drop this, but I'd like to learn more about this. If someone can either help me out (if you're willing) or point me to some sort of documents that can help me figure this all out, let me know! Thanks!
-
Vector3 Comparison
Hi Everyone, Don't feel obligated to answer, it's no big deal if this question gets answered (I know I'm annoying and ask a lot of questions!) I'm trying to set up my "Officer Shot" callout where you have to drive the cop to the nearest hospital. I have the coordinates of the hospitals, but I'm not sure how to compare the four coordinates and find the closest one to the player. Any ideas? This are my vectors for the hospitals: Thanks!
-
Callout Cleanup upon pressing "X"
Okay, I guess that's not a bad idea, I was always just afraid that they wouldn't spawn for some reason because of the location, but I've never seen a callout not appear because of that. Thanks!
-
Callout Cleanup upon pressing "X"
Hi all, So I've gotten my spawns to be really great now (finally took the time to go through and fix them all), but one thing I've noticed is this: If I force a callout and let's say a knife attack comes up. It's set to spawn the two perps in before it's displayed so we know they're there waiting for me to press "y". However, when I don't want it and I press "x" again (forcing a new callout to come up) the perps just stand there. How do I fix this? I have my callout cleanup as: public override void End() { base.End(); Game.DisplayNotification("~y~Dispatch~w~: ~g~Code 4~w~, good work officer!"); myBlip.DisableRoute(); if (myPed.Exists()) myPed.Dismiss(); if (victim.Exists()) victim.Dismiss(); if (myBlip.Exists()) myBlip.Delete(); } But I don't think that's called when I force a new callout. How can I go about fixing this? It's not a big deal as I don't foresee many people spamming "x" like I do to get one specific callout, so I'll survive if there is no workaround, but the perfectionist in me wants them to be dismissed! Thanks!
-
INI help!
Thank you, that worked! I thought I had tried that, but I guess I either did it wrong or am going crazy! Thank you, it worked as string so I'm going to leave it be so I don't screw it up, haha!
-
INI help!
Just another quick question. I got approval from Stealth33 to use the Beats/Units/Areas in my callout pack, but I'm having some trouble figuring out how to set it up in the ini. I'd like to use that above method, but what do I use in place of "Model"? I've tried searching for the correct term but I've come up empty handed! It's no big deal, I'll survive without it, but it would be nice to have! Thanks anyone!
-
Open Carry
What would you do? You're ten feet away from someone with enough firepower to kill you in one shot. Dispatch said non lethal weapons only. Do you try to talk to this person? What if they draw on you? Or are you a rogue cop who is sick and tired of sarge's rules and is out for revenge? You decide in the upcoming release on Secondary Callouts V0.7.3...
-
INI help!
Ignore this, I was just being dumb!! Thank you so much for your help!!!
-
INI help!
The issue is that I don't need a key, I'm looking for a vehicle. I tried using that, but I'm getting the error "Cannot implicitly convert type 'String' to 'Rage.Vehicle'" public static Vehicle VehicleType { get { return Settings.INIFile.ReadEnum<String>("Vehicles", "VehicleType", "Police3"); } } (that's my code for the error) How do I convert from a string to a vehicle? Thanks for you help!
-
INI help!
So, I've seen the github and the previous post about inis, and I made one. However, I'm not sure where to put my code since my callouts won't recognize it. This is my code: namespace INI { public class EntryPoint { public static InitializationFile initializeFile() { InitializationFile ini = new InitializationFile("Plugins/LSPDFR/SecondaryCallouts.ini"); ini.Create(); return ini; } public static String getVehicleType() { InitializationFile ini = initializeFile(); string VehicleType = ini.ReadString("Vehicle", "VehicleType", "Police3"); return VehicleType; } } } Do I put this in the "Secondary Callouts" namespace, make my own above it (like code above), or do I put it under Main? I've tried all three but I can't get it to work. This is what I used to try to fetch the ini option: myCopCar = new Vehicle("" + VehicleType + ".", SpawnPoint, 0f); and it won't register the vehicle type stated by the ini. Any help? Thanks!
-
Secondary Callouts Help!
So do I do my Random() in the beginning in the namespace, then just refer back to it when I want? What do I put under it, normally I do spawn perp3, give gun, make them fight, make them run, or any combination of them. (Sorry, I'm still not too good with coding!) Right, I use that for the spawnpoint, but the issue is that I spawn vehicles and peds off of that spawnpoint. I'm going to try something using this though and will report back! Haha, that is way above my skill level! I wish I could understand how to use it! Another question, too. How in the world do I get a route to my blips? I've tried "CopBlip.EnableRoute(Color.Blue);" and it only works when I do it inside my if, else statements. The issue is I have those set up not to start the callout spawning until a certain distance away, which means the person won't have the route for half the distance. I tried putting it below Process() and base.Process() but it won't work and just crashes. Any ideas? Thank you guys for helping me! (I'm assuming you tried my plugin and saw how bad the spawns are, haha)
-
Secondary Callouts Help!
If you look here: //A simple check, if our pursuit has ended we end the callout if (state == EShootingState.DecisionMade && !Functions.IsPursuitStillRunning(pursuit)) { this.End(); } } The bolded bracket was from the original "if" statement from the callout logic, which I accidentally carried below to that if statement. Thanks for all your help! I have two more questions: What's the best way to spawn perps? I'm currently using perp3 = new Ped(Cop1.GetOffsetPosition(new Vector3(0, 10f, 0))); perp4 = new Ped(Cop1.GetOffsetPosition(new Vector3(0, 12f, 0))); to spawn them, but I've noticed the spawning is a bit annoying (twice I've had them spawn in buildings, and once on the roof). Is there any other way to spawn them? Last question: How can I achieve more randomness in my callouts. Currently I'm using the "int r = new Random().Next(1, 4);" and then within the if statement an "if (new Random().Next (1, 3) == 2)" but I've found you can only use that twice and only in the "if" part. Any other methods?
-
Secondary Callouts Help!
Thanks! I just figured it out! It was a stupid mistake! Oh my goodness, I can't believe the mistake was that simple! I didn't even notice that!! Thank you so much!
-
Secondary Callouts Help!
So I'm going to use this as a thread for all my questions! (Saw someone recommend this and I think it's a great idea!