-
Posts
877 -
Joined
-
Last visited
-
Days Won
43
Content Type
Forums
Gallery
Downloads
Tutorials
News Stories
Wiki
Community Guidelines
LSPDFR BOLO Series
GTA5 Native Database
GTA5 Native Parameters
Release Highlights
LSPDFR Mod Showcase
LML User Contributions
Everything posted by SuperPyroManiac
-
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
Update 1.3 Only added 2 new callouts but have done a lot of bug fixing, balancing and code cleaning. UPDATE PUBLISHED, MAY TAKE UP TO A DAY TO BE APPROVED BY STAFF Added "Hit and Run" callout. Added "EMS Required Escort" callout. Added a key to force end a callout. Default is 'END' key. Can change in the .ini file. Made all of the subtitles, calls, hints, etc match between all callouts. Cleaned out unused code. Fixed 3 issues that could cause LSPDFR to crash. Made changes to the gang raid to make it more fair to the player. Known issues: Even while using the right functions, I can't set the vehicle owner name the same as the ped. Even while using the right functions, I can't add contraband to peds. I will hopefully have this fixed by 1.4 INSTALATION REPLACE: SuperCallouts.dll SuperCallouts.ini ADD: RageNativeUI.dll (GTA MAIN FOLDER)
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
Giving my Thanks for all the modders :)
SuperPyroManiac replied to Swat30's topic in GTA V Discussion & Media
I'd like to say thank you as well. When I was younger (5 - 12) all I wanted a game like GTA SA except you play as a cop. My mom took my to gamestop and Game Pebbler, and there was no such thing. When I discovered this a few years ago I lost my mind. I also love coding but I only knew Java and I didn't play Minecraft anymore so I decided to do it here and it's a lot of fun. I am impressed by the mods that come on here, they have gotten so advanced. -
[Solved] Set a ped as the vehicle owner / contraband
SuperPyroManiac replied to SuperPyroManiac's topic in API Development
Interesting, i'm using the latest versions of RPH and LSPDFR. both API and in game. My callouts have no errors or warnings with the functions yet when I run the plates or search (Default LSPDFR and also other plugins such as police radio) it shows a different owner than the ped, and drugs don't show at all. Using it the same way to showed as above. cVehicle = new Vehicle(VehicleModels[new Random().Next(VehicleModels.Length)], SpawnPoint); cVehicle.IsPersistent = true; cVehicle.EngineHealth = 0; cVehicle2 = new Vehicle(VehicleModels[new Random().Next(VehicleModels.Length)], cVehicle.GetOffsetPosition(new Vector3(0, 7.0f, 0))); cVehicle2.IsPersistent = true; cVehicle2.EngineHealth = 0; cVehicle2.Rotation = new Rotator(0f, 0f, 180f); CustomScenes.SimpleFunctions.Damage(cVehicle, 200, 200); CustomScenes.SimpleFunctions.Damage(cVehicle2, 200, 200); Victim = cVehicle.CreateRandomDriver(); Victim.IsPersistent = true; Victim.BlockPermanentEvents = true; Victim2 = cVehicle2.CreateRandomDriver(); Victim2.IsPersistent = true; Victim2.BlockPermanentEvents = true; Victim.Tasks.LeaveVehicle(cVehicle, LeaveVehicleFlags.LeaveDoorOpen); Victim2.Tasks.LeaveVehicle(cVehicle2, LeaveVehicleFlags.LeaveDoorOpen); Victim.Health = 200; Victim2.Health = 200; Functions.SetVehicleOwnerName(cVehicle, Functions.GetPersonaForPed(Victim).FullName); Functions.SetVehicleOwnerName(cVehicle2, Functions.GetPersonaForPed(Victim2).FullName); Entire callout is here: https://github.com/SuperPyroManiac/SuperCallouts/blob/master/SuperCallouts/Callouts/CarAccident2.cs (This is near line 100) I just find it confusing because your method is the exact same other than I have extra properties setup as well but that shouldn't make a different? should it? As for the drugs, I have the exact same function used in my mafia callout yet, no drugs. Functions.AddPedContraband(MafiaDudes1, ContrabandType.Narcotics, "COCAINE"); Either way I appropriate the help. -
My plugin SuperCallouts (You listed above) will add 11 new calls (More in future updates) Fully compatible with LSPDFR 0.4.3 and most recent version of RPH. Simply drag and drop SuperCallouts(.ini & .dll) inside your /plugins/lspdfr folder and the RageNativeUI.dll inside your main GTA folder. My pack adds more regular calls with different outcomes, as well as very intense shootouts.
-
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
ELS reflections "reworked"
SuperPyroManiac reviewed Largo1975's file in GTA5 Mods Visual & Data File
-
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
Hostage situation would actually be pretty easy. I could make that in an hour or two. I simply have a man hold a gun at someone, the make the victim put their hands up. Then I have have choices the player makes etc, end callout. Search and rescue on the other hand, I might be able to come up with something but I feel like it wouldn't be very hard.
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
Update 1.2 Only added 3 new callouts but have changed a lot of existing callouts and added dialogue to some! Now includes RageNativeUI! UPDATE PUBLISHED, MAY TAKE UP TO A DAY TO BE APPROVED BY STAFF Added "Truck Tipped Over" Callout. Added "Prisoner Escaping Transport" Callout. Added "LSPD Gang Task Force" Callout. Added RageNativeUI to the plugin! (Required) Added conversations to new and old callouts! Made balancing changes to Robbery, Car Accident, and Hot pursuit. Changed the callout message for all of the callouts, all it does it make it look uniform and nice. Added the new callouts to the .ini file. EMS Escort delayed due to some issues. INSTALATION REPLACE: SuperCallouts.dll SuperCallouts.ini ADD: RageNativeUI.dll (GTA MAIN FOLDER)
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
-
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
I need someone who can check my lines of codes
SuperPyroManiac replied to GodlyDev's topic in API Development
No problem, yes you can PM me anytime. -
I need someone who can check my lines of codes
SuperPyroManiac replied to GodlyDev's topic in API Development
So one issue I see is the backup function you made. There is really no need for it since you can do the same thing with LSPDFR API. Example: Functions.RequestBackup(SpawnPoint, LSPD_First_Response.EBackupResponseType.Code3, LSPD_First_Response.EBackupUnitType.NooseTeam); Just replace SpawnPoint with a Vector3. So you could completely replace all of the spawnBackUps() function because I think that is where problems are coming from. You have a lot of arrays that are not needed there. In your process you have a big oopsie, you sleep the main gamefiber. You always want to call a new gamefiber when you do that: GameFiber.StartNew(delegate { for (int i = 0; i < conversation.Count(); i++) { //YourCode } }); Also your while loops should have {} while(thing) { //Your Code } You also have some infinite loops in there that could cause problems. I strongly suggest watching this series: Looks like you understand how to make the callouts, but there is just things all around that can be causing problems. Never give up with coding! You got this! You can look at open source callouts to see how they handle certain things and learn from it. As well as the C# tutorials on youtube. My callouts are open source, and you can view them here: https://github.com/SuperPyroManiac/SuperCallouts You can see how I create stuff. My method is different from yours but you can get the idea. If I were you i'd re-create the callout. Start small so it works by not including some of the dialogue, backup, etc and once it's running the way you want it to, add more stuff to it, that way if it stops working along the way you know what exactly caused it. It looks like a cool callout and you have the basic idea down, think of this version as a rough draft, now you can create the real deal and have it optimized and cleaned up. I hope this helps. -
I need someone who can check my lines of codes
SuperPyroManiac replied to GodlyDev's topic in API Development
No need to apologize ill check it out now -
I need someone who can check my lines of codes
SuperPyroManiac replied to GodlyDev's topic in API Development
I think you set the repository to private. I cannot view it. -
That's the whole idea behind it. I knew i'd need it when I started getting lots of "Swat" callout requests. That way those of us who play realistically can disable the chaos mode, but those who want it, i'll provide it. As well as make it exciting. Wait until people see the LSPD Gang raid. It's crazy, but i'm sure some people like it. This 1.2 update is turning out really well I think you guys will like it! I am thinking about just cutting out the dog in a hot car callout though. Too many issues, 1 can't get the car to be in a parking lot unless I set it in a set location which kills the randomness, and 2 dogs steal the car as crazy as it sounds.
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
I need someone who can check my lines of codes
SuperPyroManiac replied to GodlyDev's topic in API Development
This is only the project file (.sln) so there is no code. Try uploading your project to github and i'll help you out. -
I'm glad to hear it. What pack was it that was causing the issues? Id like to see if I can figure out why. Also, update 1.2 is about 75% complete. Major overhaul to all callouts and added RageNativeUi to allow dialogue in callouts. Plus 4 new callouts added. Just in the testing phase and finishing up the EMS and Prisoner transport callouts.
- 945 comments
-
- rph
- lspdfr callout
-
(and 1 more)
Tagged with:
-
Did you use the Rage plugin hook launcher? Look for RagePluginHook.exe inside your main grand theft auto folder. You can create a shortcut too so it's easier to start. Default GTA launcher will not load RPH or lspdfr.
-
Looking through the API the only thing I found was this: Functions.SetVehicleOwnerName(cVehicle, Functions.GetPersonaForPed(Victim).FullName); It does not appear to work when tested in game. I'm not sure how others are doing it, as when I looked at open source projects there was nothing set. And since i'm here I have the same issue with adding drugs to a ped using: Functions.AddPedContraband(pedMan, ContrabandType.Narcotics, "COCAINE"); Which I also found in the API.

