Everything posted by LMS
-
Lspdfr / Rage debug and usefull tool ?
No, just the normal VS debugger. There is nothing special when it comes to debugging LSPDFR Plugins/RPH Plugins. They are ordinary .NET libraries and you can use existing tooling for it.
-
Lspdfr / Rage debug and usefull tool ?
Any .NET crash will give you the exact line number and file it crashed on, provided you compile in debug mode. That is pretty much as good as it gets. You also get the entire stack trace so you can see exactly what functions were called beforehand. You can also attach VS and step through your code line by line to figure out why something is not working, inspect variables and evaluate expressions at runtime. I am not sure what else you are asking for.
-
syntax for an Ambulance of EBackupResponseType
The enum "EBackupUnitType" has a member called "Ambulance". You should really make use of Visual Studio's information about types to quickly identify these additional parameters.
-
Accidently ..Made a new 'weapon'..!
1.) Your first question should just require comparing distance and orientation/heading with thresholds as you see fit. It's a normal Euclidean space like any other (also, Z is up). 2.) I believe RAGE Native UI has a feature similar to that slider called something like Timer, you could check that out. Alternatively, you can just use the render natives to draw something like it yourself. 3.) You can use normal .NET functions for time, if you are interested in time that scales and pauses with game time you should refer to the game's tick.
-
dissolve a 3DVector into x, y, z single coordinates
The Vector3 structure contains properties named X, Y and Z. Are you not using IntelliSense or something or why do they not show up?
-
How to get user input to end callout
VS should actually give you a suggestion to add that reference for you when it is missing and you hover over the error.
-
Possible to edit Flags 5 'speed unk 1/2'?
It can be patched, but it is a little bit more effort as opposed to editing a file (depending on your knowledge, anyway). I, too, would like to see actual fast pursuits and think at some point I overrode most of the limits but it caused some other side-effects so I might not have patched the correct thing. Keep us updated on how your work goes!
-
Possible to edit Flags 5 'speed unk 1/2'?
There is a fair chance that those values are configured in the game's code as opposed to a data file.
-
Feature suggestions / improvements
I have added a few of the changes and prepared a new LML build, please find it attached below. Let me know if you encounter any issues. Changes: Add support to copy individual files (see example xml) Add "Copy Files" prompt after enabling a mod or resource group that contains one or more game folders Add tooltips for trimmed text File copy example: <?xml version="1.0" encoding="utf-8"?> <EasyInstall> <Name>Copy Test</Name> <Author>LMS.</Author> <Version>1.0.0</Version> <Link>https://www.lcpdfr.com</Link> <Metadata></Metadata> <ResourceFolders> <!-- You can also specify files instead of folders. In our example we use sub folders for most of them, but you do not have to. --> <GameFolder>myFile.txt</GameFolder> <GameFolder subFolder="myFiles">Nested/myFile2.txt</GameFolder> <GameFolder subFolder="myFiles">AnotherFolder/myFile3.txt</GameFolder> <!-- You can explicitly mark entries as files or not. This is useful if something is a file but without an extension (which the file detection depends on) --> <GameFolder subFolder="myFiles" isFile="true">AnotherFolder/someFileWithoutExt</GameFolder> <!-- Setting it to false will make LML treat it as a directory and ignore the file name. This does the same thing as just specifying the folder, so it is best to use that instead for clarity. --> <GameFolder subFolder="myFiles" isFile="false">AnotherFolder/myFile4.txt</GameFolder> <!-- Nested sub folders are also supported --> <GameFolder subFolder="myFiles/sub">AnotherFolder/myFile5.txt</GameFolder> </ResourceFolders> </EasyInstall> lml_beta_046.zip
-
NVE and LML and RPH
This is a side-effect of LML blocking GTA Online and the same behavior as if you were launching the game in offline mode. However, it should not be a problem since you can just tab out and launch RPH. It does not matter if you launch RPH while in the main menu or while the game is already loading. On a different note, what does NVE do to prevent you from launching the game with RPH?
-
LCPDFR - Now on GitHub
I just don't think anyone of us is very keen on managing and reviewing a project as opposed to building what we are interested in. It comes down to fun at the end of the day, at least for me.
-
Feature suggestions / improvements
Thanks for your suggestions. We already covered the .xml option in another topic, I think the copy prompt is a good idea. Please also note that right now you can trigger the copy process again by using the copy button in the main mod list view. I think the other UI changes are relatively easy to do, but I have no timeline for when we update LML next. Support for multiple install.xml files sounds great, but I leave the details of that to @Cyan.
-
LSPDfr Map Issues
LSPDFR itself contains no map modifications nor touches any game files. It does, however, load the MP maps (mostly for the police station interior). You can disable this behavior in the ini file, but you might want to investigate why the MP maps cause these issues for you to begin with.
-
[Suggestion] An API to control AI backup lethal force when not in a pursuit
I think we can do that since we intercept the game's AI logic to determine when to shoot anyway. Are you looking to just disable the actual shooting portion or also aiming etc?
-
LCPDFR - Now on GitHub
Anyone is more than welcome to contribute, but I personally do not see myself to be involved much (at all). We plan to distribute binary releases on the site, similar to your "community update" I think, but that depends on whether people actually add things.
-
LCPDFR (Yes, GTA IV!) source code now publicly available
Thanks to some community efforts and continued interest in keeping LCPDFR alive, we are happy to announce that LCPDFR, the mod which started it all, is now on GitHub. If you ever wanted to see how things worked back in the IV days (or just trash-talk the work of a few 14-year kids writing code), you have come to the right place. Please find the repo below: https://github.com/LMSDev/lcpdfr_public
-
LCPDFR - Now on GitHub
Thanks to some community efforts and continued interest in keeping LCPDFR alive, we are happy to announce that LCPDFR, the mod which started it all, is now on GitHub. If you ever wanted to see how things worked back in the IV days (or just trash-talk the work of a few 14-year-old kids writing code), you have come to the right place. Please find the repo below: https://github.com/LMSDev/lcpdfr_public
-
Is LCPDFR still being developed or is it dead? (Also some recommendations)
The code is now publicly available: https://github.com/LMSDev/lcpdfr_public 🙂
-
how to spawn vehicles
In case the conversion works, you can just use something like the RPH console and type in "spawn scpd1".
-
How does Functions.PlayScannerAudio work?
We play back audio using DirectSound. You could use the SlimDX wrappers around it, if you like.
-
Is LCPDFR still being developed or is it dead? (Also some recommendations)
To update everyone on the progress: Code was cleaned up and repo shared a week go, @ItsClonkAndre is confirming that everything compiles and works for him and then we will make it publicly available for everyone else.
-
Cannot Load LML CARS
If opening a menu crashes your game, there are probably some other issues your game you want to address first before adding more content to it. Try to disable some file mods and see if it becomes more stable.
-
Mod Manager crashes when trying to check installed mods
Very bizarre, it should not require the mods.xml to be present, but I am glad that most of it works now. As for the downloads, what happens (I presume nothing)?
-
Mod Manager crashes when trying to check installed mods
Try running as admin, might be a permissions issue due to the game folder location.
-
How to add ELS when adding custom vehicle
Hah, I can imagine. I can see about making it so that you can add files in addition to folders in the tag and that those are then copied. Does that seem like a good solution?