Everything posted by CableDog19
-
DisplayNotification Loop - Distanceto2D (PlayAudio)
Nevermind, Solved this issue after trying different options. This may not be the best method but it works for now. If anyone could recommend a better method. Please let me know. private void triggerDispatch() { if (Suspect.DistanceTo(Game.LocalPlayer.Character.Position) < 30f) if (Suspect.DistanceTo(Game.LocalPlayer.Character.Position) > 29f) { Game.DisplayNotification("~b~DISPATCH~w~, 10-23 ON SCENE, I'LL BE OUT WITH 1"); Functions.PlayScannerAudio("10_4 OFFICERS_ARRIVED_ON_SCENE"); GameFiber.Yield(); } }
-
DisplayNotification Loop - Distanceto2D (PlayAudio)
The Callout Pack I'm working on has aspects that create realism and I've added a DisplayNotification which has caused a loop issue. I was reading past forums but did not find code that would fix this particular issue. I was reading that executing a ex. if (Game.LocalPlayer.Character.Distanceto2D(Suspect) < 30) is not the best method for a Function.PlayScannerAudio or DisplayNotification and creates a loop. I've tried GameFiber.Yield(), GameFiber.Sleep(100000), GameFiber.( delegate. All have not solved this issue. I figure it is just because the Distanceto is causing the looping issue. Is there a proper method to either sleep the process without sleeping the Main or do I have to figure out another way to get it to display once? Thanks! (Code Below)
-
Animation List - Ped Camera Animation Set
Hello Everyone, I have looked at several animation list on different websites. I've found https://github.com/KoningJesper/GTA-V-Animation-List/blob/master/Animation 1-999 to be the best. I am looking for an animation that is not included in this list. I'm looking for the animation name that involves the ped holding a camera, not the paparazzi but an actually filming camera over the shoulder. Do anyone have another list or that animation name. Reference Picture Below. Thanks,
-
Issue Creating More Than 1 Ped Discussions
Thank You, I believe I have it figured out. I was able to talk with the suspect. Only problem I was having is the DisplayNotification"Press Y to Talk with Suspect" not displaying when near. I'll fix that soon. I appreciate the help. This has been a good learning experience. All the callouts are location based, each with different variations of how the callout can go. Super excited about this project. Hopefully should be done by the end of April. Planning on having 15 callouts, 5 of which are completed. Worst case scenario, release as a WIP. 🙂
-
Issue Creating More Than 1 Ped Discussions
Thank You, I had stripped it down to the minimum to try and get the dialog to work so many times that I had deleted the base.Process(). I tried what you mentioned and what was mentioned above but now I just get the last line of Dialog for the Suspect. Am I able to create a private void Dialog() base.Process() before the public override void Process() to separate the code or is it not efficient? will it still work the way I would like it too? I have posted the new code below so that you can spot why the suspect dialog only shows the last line. *New Code* *public class* still the same from previous post
-
Issue Creating More Than 1 Ped Discussions
I tried this too but it doesn't work. I can walk up to the (Witness) Full Dialog interaction. Then walk up to the Suspect and hit Y with nothing. The Witness and Suspect are on opposite sides of a building. They're about 10f apart if that. I dont think its because of the .DistanceTo2D() <=3. I have tried reducing to <=1 with still no change as well.
-
Issue Creating More Than 1 Ped Discussions
Hello Everyone, I've been working on a callout pack for a few weeks now. I'm new to the c# language like most people who start are lol. I've read through all the multiple forums on Ped/Player text interaction. I've seen the Array style, EcalloutState, and basic <string>. No matter what way I try to code this, I can only get 1 dialog to display. The other dialog code will not show up. I know I'm missing a line of code to separate them from being called at the same time in the public override void Process(). I've been working on different processes for the last three days with no success as to resolving this issue. This is what I have. *I HAVE NOT SET PRIVATE INT DIALOGWITH...INDEX; YET. JUST GOING STEP BY STEP AND TESTING AS I GO IF THIS EFFECTS IT, PLEASE LET ME KNOW*
-
Should I upgrade my GPU?
970, the 980 is a great card but on average your only getting at most a 20fps difference. Their are only a few games out right now that actually show a better performance with the 980 for example metro last light, but not by much. The 970 will get you the 1080p 60 fps that your looking for, not to mention anything over 60 fps isn't noticeable and is kinda overkill. In closing, your paying on average of $200 more for a card that only gets at the most a 20 fps difference. :p
-
Should I upgrade my GPU?
Yeah, a gtx 970 would work fantastic. I have a asus strix 970 and it gets 60 fps 95% of the time. If you can't wait, I heard the 770 works pretty decently as well. it's about a $100 cheaper, depending on condition. Honestly though between price and performance, go for the 970, you wont regret it ;)
-
Suspect On Probation? More Realism?
I have some cool ideas about some features which would be fairly easy to add in the police computer. It would make a more realistic expecience, especially when your on a traffic stop. For example, say you pull someone over for running a redlight or driving wreckless and you run their name in the police computer. Everything shows up clear, a valid license etc until you notice it says, On Probation for (whatever felony/infraction etc.). It would give you the option to completely change how you would then handle the situation. It would give you a reason to do a more through traffic stop and treat it as a high risk traffic stop (depending on crime). Ask them to step out, Frisk them, Tell them to wait in your squad car, Search their trunk etc.