Everything posted by GTAbear
-
LSPDFR : Go on duty issue
Looks like you have conflicting plugins. The first thing you need to do is to show support your ragePluginHook.log. Find it in your GTAV folder.
-
Vehicle Constructor with Modification 'add-on' like Armour or turbo?
I should have re-started GTA. After a restart it does work. Thank You!
-
Totally lost?????
Sounds like a post on discord (is it you? : ) You should be able to browse through the LSPDFR menus with NUMPAD keys - and +, if you have invoked NUMLOCK Selecting an item should work with ENTER. ..should because a post on discord also have issues with the numpad-key-block.. What you could try is to use console and enter forceDuty, but i am not sure it works if you have not made a officer-avatar first
-
Vehicle Constructor with Modification 'add-on' like Armour or turbo?
oh Call a Method named InstallModKit! I should have figured that out. Unfortunately there are no effect in calling that I does it like: Vehicle callCar = new Vehicle(theModel, point); //defined as String and Vector3 in the call callCar.Mods.InstallModKit(); callCar.Mods.ApplyAllMods(); But nothing is changed. Do i forget something ? -Or does it not work with emergency vehicles -It is a POLICE2 that i am trying to upgrade. Should have said that earlier, if it has any influence.
-
Vehicle Constructor with Modification 'add-on' like Armour or turbo?
I can not make that work. After you advised me about the Mods-property, and i found that using Mods made an instance of VehicleModder, that brought me to the method ApplyAllMods(); I figured out how to use it in a call with an existing Vehicle as quailifier as callCar.Mods.ApplyAllMods(); That builds without errors, but it does nothing to the instance of callCar, there are no modifications. I think the reason is this I do not understand what you mean? Do i need to add an additional API-reference named 'modkit'. It eludes me, because i have no issues adding modification in default LSPD from the garage-menu, so why is the mod-kit not available in RAGE-sdk, when using it in a plugin? I do not understand what the sentence "install a default modkit" means? Is it an using-directive? I already has RAGE and using Rage.Native; using Rage.Attributes; Adding using Rage.ModKit -Is not accepted in VS There is only one thread in API Development that contain anything about Mods-property. That is sooo strange.?! There is no code.
-
Vehicle Constructor with Modification 'add-on' like Armour or turbo?
I have searched but came up empty, and non of the 8 vehicle constructor-overloads has anything to include any modification Add-ons, so not even sure it is possible. I create a car for the Player like: Vehicle callCar = new Vehicle("POLICE2", carSpawnPoint); chauf.WarpIntoVehicle(callCar, -1); chauf.Tasks.DriveToPosition(trafikUnJamPoint, 20f, VehicleDrivingFlags.DriveAroundObjects, 5f); The Ped chauf then deliver that car to the player. But the car is horrible sensitive to gunshots, because it is without armour. It takes 8-9 bullets, and then blow-up! Because of that i need to give the car armour, but do not know how to add Modifications. Is it possible?
-
cant request a transport
How should i know that? If it works now, then he need the updated version -right?
-
everytime i load up lspdfr it crashes and says bad anti-virus
? what 'thing'? You need to add RPHook to the exception list in your installed malware-scanner Is that 'the thing' ?
-
cant request a transport
Outdated plugins: 686Callouts BasicCallouts CalloutManager GrammarPolice.Main ManiacCallouts UnitedCallouts Maybe more, I dont have a complete list. Ask on Discord -they know The outdated ones must be removed
-
Unable to takedown or open stop the ped while code 3
If you mean basegame, then the arrest-sequence is like described here
-
What happened to PIT maneuvers?
Real PIT is not possible. A series of events need to be scripted because the actual mechanics in a PIT is not immutable in a computer-game. PIT is ruining mechanical part in an engine .. So.. First the initial force between cop-car and crime-car should be calculated. There is no methods for that. In my plugin i deal damage to the cars depending on speed, but that is only an approximation. Actual momentum and motion are hidden inside GTAV. Inertia cant be calculated. Beside that cravat the event-series would be: * collision * 180 dg spin around Z-axis in 10 dg steps * Disable engine * setting vehicle to not drivable That is doable, but will it look and feel good.. idk.. In general GTA car-physics is not realistic, the cars are too easy to drive. 100 m/h with 2 wheels on gravel and 2 on asphalt, nooo problem ..in GTA ! Try that in RL and make some undertaker wealthy.. So why has R* made it that way? imo Because it adds more acade gameplay if the chases are longer!
-
Play ambient police radio chatters instead of civilian radio?
I believe you want to remove music-/talk-radio of civilian stations and 'replace' it with police-radio? Its easy to get rid of civilian radio. In settings set radio volume to 0 Now you only have Dispatch-chatter in your game.
-
cant request a transport
If you mean in base-game, The suspect must be kneeling. If not the transport wont come. I have summarized the arrest sequence in base-game here:
-
Possible bug? Model.Entity.Model{get, set} will not 'set'
Calling .Model = ""; qualified with a verified existing Ped cast an Exception type: System.NotImplementedException Exception message: The method or operation is not implemented. Stack trace: at Rage.Entity.set_Model(Model value) Looks like only 'get' is legal Actual code: vic.Model = "ig_michelle";//switch appearance to FBI-cop
-
Getting animations
Complicated, because there is no(?) easy readable source. The files has cryptic names and are hard to find. as an example we have amb@code_human_cower_stand@female@react_cowering base_back_left base_back_left_exit base_back_right base_back_right_exit base_front base_front_exit base_left base_left_exit base_right base_right_exit flinch amb@code_human_cower_stand@female@react_cowering -is the folder/ animationDictionary -Each of the below listed are animations in that Dictionary. Then you need the RAGE.method PlayAnimation: public AnimationTask PlayAnimation( AnimationDictionary animationDictionary, string animationName, int timeout, float blendInSpeed, float blendOutSpeed, float startPosition, AnimationFlags flags The collection of animation has been made by alexG. There are more than 150000.....! Non has usage friendly names..... You find it here: https://alexguirre.github.io/animations-list/
-
I can only hear the callouts and the ping sounds of navigating the menu
Sorry, i do not use STP or any other plugin, only my own. You DO however need to remove that simple callouts-plugin. -------- Oh ya.. One way to test if plugins causes an issue is to rename the folder Mods, to _Mods, and try to load LSPDFR in vanilla version. If that fails you have more issues than your plugins, and you should start by makibng sure you have all updated -That includes your GTA-basegame -Verify your installation if you can (EPIC & STEAM)
-
When I run lspdfr it asks me to unblock a few certain files
Naee that is only a fraction of the log 🙂 You need to attach the whole log, and wait for a log specialist to chime in. (I can only spot a subset of non-functional (outdated) plugins, and understand my own build-exceptions when i write plugins, so i will propl not be able to spot the issue in your log)
-
When I run lspdfr it asks me to unblock a few certain files
That is normal, and the correct thing to do is to say 'Yes', but you may need administrator-rights to be able to unblock files But you have done that(?) and it did not help. That mean that something else is wrong. Are you only using LSPDFR or do you also use other plugins? Is here any exception listed in your log?
-
I can only hear the callouts and the ping sounds of navigating the menu
That callout is not supported atm Try and remove that from your installation. You should restart completely after.
-
[suggestion] remove shading of console
Yes! isdevellopModeEnabled = true opened the external window! Thanks a lot!
-
Binding keys
That is unfortunately correct. That feature is broken. Instead of getting the suspect in your car you should use M-menu and choose the option suspect-transport with local-unit. A car will pull up next to you and the arrested and KNEELING !! suspect will be transported by the AI-cops.
-
[suggestion] remove shading of console
I have chosen Dev-mode, but i do not see any extra window(s) I have asked on discord about how to enable tools with some key, and was told that there was no key for any tools(?)
-
I can't use the arrows in the menu
what?? If you do not have a normal pc-keyboard, then you are cooked! You need to use NUMLOCK and then '-' for arrow-up and '+' for arrow-down, in all LSPDFR menus. My guess is that it was made that way to avoid clashing with R*-menus
-
Can't arrest, put peds in patrol car. Only detain or set down.
Yes that is true and i had the same issue as you. But in fact it works fine. You need to do like described here: https://www.lcpdfr.com/forums/topic/125207-binding-keys/
-
[suggestion] remove shading of console
Having some eyesight issues it is very hard to read the text in the top of console. The text in the 2 first top-lines are dark-shaded and not readable. I am fully aware that i can open the log in GTAV, but why make this shading on a tool?