Everything posted by BlackNoise
-
Callout ends on arrival
Thanks for your reply. As I was placing log lines in my code to verify my End function was called, I stumbled upon some stack traces in the console. Apparently something was wrong with my blip, causing it to crash when I attempted to delete that blip. Solving this issue also solved the plugin to stop. I probably triggered the "End" function in my code because my callout crashed. I also fixed the wrong base method call, that was a mistake that got into the code when refactoring to another method. Conclusion: My plugin crashed when I arrived, causing the callout to end.
-
Callout ends on arrival
Hey, As a little hobby/side-ish project I'm looking into plugin development again. I'm trying to make a pretty basic callout, but I'm struggling with the follwing: At this point, all I'm doing is just spawning a ped on a location and drawing a route to that ped. The problem that I get, though, is that the callout just ends whenever I arrive on "scene". My code: public class TestCallout : Callout { private Vector3 _spawnPoint; private Ped _victim; private Blip _areaBlip; public override bool OnBeforeCalloutDisplayed() { _spawnPoint = World.GetNextPositionOnStreet(Game.LocalPlayer.Character.Position.Around(300f)); _victim = new Ped(_spawnPoint) {IsPersistent = true, BlockPermanentEvents = true}; if (!_victim.Exists()) return false; ShowCalloutAreaBlipBeforeAccepting(_spawnPoint, 15f); AddMinimumDistanceCheck(20f, _spawnPoint); CalloutMessage = "Test Callout"; CalloutPosition = _spawnPoint; Functions.PlayScannerAudioUsingPosition("WE_HAVE IN_OR_ON_POSITION", _spawnPoint); return base.OnBeforeCalloutDisplayed(); } public override bool OnCalloutAccepted() { _areaBlip = new Blip(_spawnPoint) {Alpha = 0.5f, Sprite = BlipSprite.Objective}; _areaBlip.EnableRoute(Color.Purple); return base.OnBeforeCalloutDisplayed(); } public override void OnCalloutNotAccepted() { base.OnCalloutNotAccepted(); if (_victim.Exists()) _victim.Delete(); } public override void Process() { base.Process(); { if (Game.LocalPlayer.Character.Position.DistanceTo(_spawnPoint) < 10f) { _areaBlip.DisableRoute(); _areaBlip.Delete(); } } } public override void End() { if (_victim.Exists()) { _victim.Kill(); _victim.Dismiss(); } if (_areaBlip.Exists()) { _areaBlip.DisableRoute(); _areaBlip.Delete(); } base.End(); } } It doesn't log anything other than LSPDFR telling me the plugin was loaded and the callout was accepted. Am I doing something wrong here, or is this expected behavior? Thanks in advance.
-
[WIP] CPR: Reloaded
Hey! Thanks for your interest. The development on the mod has been paused for a while since I lacked the time and the knowledge. I might pick up the development again soon, though.
-
Cars not loading in-game
Hi there, I've got a few questions: 1. Are you trying to spawn original GTA V vehicles (no mods)? 2. Are the vehicles you're trying to spawn add-on or a replacement? 3. Are you sure you have followed all steps of installing the vehicles?
-
[GUIDE] How to make GTA V police skins using Gimp!
Not every car is 'editable'. Unmarked cars, for example, often don't offer custom skins, as they are, well, unmarked. A vehicle with a customizable skin has a 'template' file in the downloads. I don't really get what you mean by that it doesn't let you upload the pic, could you explain that?
-
[WIP] Interior Callouts
Awesome screenshots buddy! I'm making some progress in other callouts too, so make sure you guys keep following the topic!
-
[WIP] Interior Callouts
Dear community, dear interested people, I am very sorry that I do not have the plugin ready yet. This is because I am very busy with my final exams and I want to fully focus on that. I will continue the process by the time those exams are over, which will be in about a month. I am very sorry for the inconvenience and I hope to get your full understanding. Regards, BlackNoise AKA Daniel
-
[WIP] CPR: Reloaded
Dear community, dear interested people, I am very sorry that I do not have the plugin ready yet. This is because I am very busy with my final exams and I want to fully focus on that. I will continue the process by the time those exams are over, which will be in about a month. I am very sorry for the inconvenience and I hope to get your full understanding. Regards, BlackNoise AKA Daniel
-
[WIP] CPR: Reloaded
It does work with the API of BetterEMS. I am currently coding a few things in, which I will include in this topic in a day or so. I think that it is a nice feature, you'll see ;-)
-
[WIP] CPR: Reloaded
Thanks mate! I appreciate it!
-
[WIP] CPR: Reloaded
Thank you very much. This is the kind of support you want as a developer. I absolutely accept the opinion of people, but there are limitations about how to respond. Let's just keep it a nice experience for all of us, developers and players.
-
[WIP] CPR: Reloaded
First of all, take it easy, man. There is no need to create such a hassle about this. As I explained above, I have seen a CPR mod (that offers only CPR from player to ped, no other callouts or so) a time ago. I saw that this individual removed support, so I 'Reloaded' the concept. I am trying my absolute best to make the animations and positions as best as possible. The purpose of the mod is to add depth and realism to the game. Also, it adds something that I miss, performing CPR to a injured ped as a first responder. I am very sorry, I did not know your plugin offer such functions as I offer in my plugin. Before you start blaming me, both PNWParksFan and Darkmyre have allowed me to do this and I have their support. I do not want to start anything here, but I think neither should you. I do not like you responding like this, and I totally disagree with you with recommending people not to download my plugin. I find it unprofessional and rather rude. Thanks, Daniel
-
[WIP] CPR: Reloaded
In the beginning of GTA modding, someone made a CPR mod, but it was really buggy and the support for it was removed. That's why I added "Reloaded", to show that this is a (hopefully) better plugin than it's predecessor.
-
[WIP] CPR: Reloaded
CPR: Reloaded CPR: Reloaded brings the job of a first responder in GTA: V to a whole new level. Immerse in semi-realistic situations and perform CPR on victims of the vicious crimes committed in the Los Santos and San Andreas area. Respond to callouts a way you have never done before, now with the life of the victim of this cruel stabbing, heartless homicide or accidental car crash in your hands! Sounds good, right?! Let me tell you a little bit more about the plugin. What is CPR: Reloaded? CPR: Reloaded is an LSPDFR Plugin, that puts the fate of the inhabitants of Los Santos and San Andreas in your hands! Perform CPR when arriving on the scene as the first responder, or help the lady that is hit by a car in front of your eyes. What does CPR: Reloaded add to my game? CPR: Reloaded adds a new dimension of reality into your game. Based on real scenario's and the real work of a first responder, you can make the game experience a lot more intense, and feel like a real cop! The procedures coded into the mod are the way the Dutch first responders act, which means that when you are starting a CPR procedure, you immediately call for EMS that is responding code 3 to your location. Once EMS in on the scene, they will take over and make sure that the patient is in good hands! When are you releasing the first version of CPR: Reloaded? The official release date is yet to be determined. Beg for it all you want, but let's first make a mod that is stable and playable! Who's on the team? I'm doing most of the code myself. Besides that, I've got @JonnhyCZGc as an official tester. So far, I've received a lot of help from a few persons, which I will most certainly give appropriate credit once the mod is released. I will post updates on this WIP page, so be sure to follow it! Also, if you have any suggestions, please leave a comment to show your support! -Daniel
-
I cannot get any vehicles installed
I'm certain that these are good mods. I'm sorry, I don't know what's wrong here
-
I cannot get any vehicles installed
Yes, that is correct. Are you putting the XML files in the folder called Pack default?
-
I cannot get any vehicles installed
The folder structure in the game is as followed: Rockstar made all the vehicles (non-dlc) at the launch of GTA V. Those files are located in the x64e folder. After that, Rockstar made small changes to some vehicles. Let's say that they made the 'POLICE 1' car at the launch, and around the 3rd dlc, they saw that a wheelcap was missing. Rockstar updated the model, and put the new vehicle file in the next dlc, dlc 3. The game is coded the way that the game listens to the car in the latest folder, so it listens to the car in (in our case) dlc 3. That's the one you've got to replace. What I suggest is this: In OpenIV, press ctrl+F3. This is the advanced search option. In there, type the car you want, I.E. police4.ytd. Don't forget to put ".ytd or .yft" behind it, otherwise you'll get a bunch of in this case useless files. The police4 files are now listed in the search window. Look for the latest DLC directory in the search results, and replace the car in that particular folder (copied to your mods folder, I strongly recommend). I hope this little lesson in Gta V 101 helped you a bit. Any further questions, please ask me :) -Daniel
-
What do you do during your shift?
I'll definitely check that out! Thanks for the tip!
-
What do you do during your shift?
I'm sorry, you're right. Wasn't paying attention, but yeah, that's the one I mean. In my opinion it works fine, but that's a matter of personal preference.
-
How to uninstall RPH?
What I did to do that is go to the folder you downloaded from the ragehook site (the folder that you have to copy into your main directory) and remove the files from your directory that are listed in the downloaded folder. To prevent this problem the next time; I like to keep a fresh copy of GTA V backed up somewhere in case I mess up. Maybe a smart idea for you to do that too?
-
What do you do during your shift?
What I'm doing is actually bringing some realism in the game. Pro-active policework. I'm running some vehicle plates, pulling some persons over that I think are suspicious. A great addition to that is the 'Bring GTA to life' mod. There's a lot of things happening in the streets that you have to pay attention to. LSPDFR won't ever get realistic, the rush of being on duty in real life is just way different. I'm trying to get the best out of it, and variations come by using imagination and updating your callouts and plugins!
-
[WIP] Interior Callouts
Awesome screenshots! I'm very excited to see the end results!
-
[WIP] Interior Callouts
Awesome! Thanks in advance, I'll most certainly PM you if I'm stuck :)
-
[WIP] Interior Callouts
Interior Callouts A plugin made by BlackNoise Update 03/31 The development state has officially begun. I'm very proud to tell you that I am working on the callouts a lot, together with my buddy and tester @JonnhyCZGc. Together we have come up with a lot of great ideas for callouts, and I think that the goal to achieve these ideas is very doable. So I don't want to release too much just yet, but I can tell you the following: The screenshot, under the title of this page, is made during a callout. A few - so far - functions of the callout: - Checking out a call for help from the place that keeps the money of the United States safe - Making sure that our federal friends stay whole That's all we can say right now! Stay tuned for more details, coming your way soon! == Dear LSPDFR friends, Today I am, after finally starting this project, announcing my new plugin. It's a plugin that I believe, has not been made before, and therefore I think it has some potential. I really hope with all of my heart that I can develop a beloved plugin, that creates a lot of fun. The Idea As I was messing around a bit with GTA V, I stumbled upon a mod that allowed me to enter buildings. I installed it, and after playing around with it, I saw that it had a lot of potentials. I started sketching a few ideas in my mind, and I wrote some of it down. The only hard part was, that I had no knowledge of C# whatsoever, so it was a pretty bad start for the plugin. After seeing a lot of guides on the internet, and finding out that there is an amazing reference to RAGE plugin hook's SDK as well as LSPDFR's, I started coding a bit. That moment became reality today. I successfully made my first callout. "I Need You!" Now since I have a few ideas that might just work out, I'm not the most creative person myself. That is why the help of you, the community, the soon-to-be user of the mod, is much obliged. I'd really appreciate it if you post idea's down below, that contain scenario's, crimes and idea's for things that might happen inside buildings, that require the help of the police. I will list my idea's so far down here, but please, feel free to add to it. Watcha Got So Far? The base of the plugin is here. I've created an alpha version and got a callout to work inside the FIB building. I've made a list of potential buildings and what could happen in it, and for now, I need to do a lot of coding and testing. Callouts so far: Robbery, Trespassing, Construction Accident, Home Invasion, Dead body found. I'd love to if you gave me advice and tips, I'll post more info on this as soon as i have it, Daniel
-
Started with an LSPDFR themed Youtube channel
First, and foremost, I'd like to introduce myself. My name is Daniel. Most of you might just know me of some skins here on the LCPDFR website, and that was what I was mainly focussing on. But now, I found myself another passion. And that passion, you probably guessed it, is, Youtube So I made a channel, basically focussing on LSPDFR, but some other games as well, and I am willing to put a lot of effort in. I've been recording LSPDFR for one day straight right now and I have enough videos to fire up to the channel. The only thing I need, is feedback. So, what my point is, I'd love if some of you guys care to watch a video or two and say what you think of it. I'm open for suggestions and improvement, so please, don't be shy and give an honest opnion. I'm uploading videos Mondays and Thursdays, and sometimes off-schedule a bit in between those days (but you can always expect to see one on Monday and Thursday) Anyway, I'll leave a link to the channel here. https://www.youtube.com/channel/UCf1fCZr-5Yc-sOTVtag8Fsw Thanks so much in advance, Daniel