Jump to content

SuperPyroManiac

Community Team
  • 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

  1. How often does it crash for you? Unfortunately it's impossible to delete blips on crash, but it shouldn't crash in the first place? Can you give me steps on what happens before them?
  2. 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)
  3. 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.
  4. 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.
  5. 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.
  6. Are you using the latest Rage plugin hook, and lspdfr 4.3? Others had this problem and it was because of outdated versions.
    Very nice, with stock I would be out in the middle of nowhere and see lights coming from an unknown source even though i'm all alone behind hills. This fixed that for me!
  7. I have it check if all of them have been picked up, if not you can drive 100 meters away and it will end the callout. I'll add a customizable key to force end callouts in the next update.
  8. Looks like there was a pathing issue, will be fixed in the next version, this crash shouldn't happen often though.
  9. 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.
  10. 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)
    This plugin adds so much to the game. Especially when you are really far from a hospital it provides a real reason to use the EMS air support option. This is a MUST have, even if you play LSPDFR vanilla, you need this at least.
  11. Sorry it said there was an update when there was not one yet. Here is a sneak peak of the LSPD Gang task force callout.
  12. I have everyone's idea's in a text file. I can't make everything at once, right now just working on the 4 shown on the main page.
  13. I changed the "LCPDFR" to "LSPDFR" in the main image but I didn't do an update, that's strange.
  14. 3 ways: Have EMS try to revive all of them Have Coroner cleanup Drive 100 meters away
  15. 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.
  16. I think you set the repository to private. I cannot view it.
  17. 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.
  18. This is only the project file (.sln) so there is no code. Try uploading your project to github and i'll help you out.
  19. 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.
  20. 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.
  21. 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.
×
×
  • Create New...