Everything posted by LtFlash
-
Rush Hour
@Camelot55 I need that part where it says something about error, exception etc., just after any issues occur in game, sth like this:
-
Rush Hour
@Camelot55 Look for a file named "LCPDFR.log" in your GTA IV installation folder. Paste the fragment from the last "[INFO - 12:25:48 PM] [Log] Started" to the end of the file.
-
Rush Hour
-
Early-90s LAPD/Ambulance/LAFD/CHP/etc. Siren
Unitrol Omega 9000, hard to find any *high quality* recordings these days. Before that it was Unitrol 480-K.
-
NYPD Impala
Good to see I'm not the only one who still plays IV :D The level of my disappointment with GTA V as a policing environment is beyond imagination. LS is a Disney-World-like fake city, handling is total crap (in IV you had to use your breaks, driving was _exciting_), peds AI controls them in all in a pool (they're like zombies doin the same things in the same way). If only IV would have the stability of V...
-
1996 Ford Crown Victoria "CSP"
-
Large Crowds
In IV I was able to control 40 peds even on a very weak laptop but they all were spawned by the game, I just took control over all peds in the area that fit the criteria. V is way more stable and efficient in memory control, I believe you can try to actually SPAWN 50 peds but remember to do it in a separate fiber and set them as permanent so they won't be despawned.
-
Creating a Route/Blip to a coordinate
You might find this useful: http://docs.ragepluginhook.net/html/6F260A01.htm
-
Help With Peds In Vehicles
Try to set the KeepTask property to true: ped.Tasks.KeepTask = true;
-
78' Detective
-
Crack is hell
-
1994 Chevrolet Caprice 9C1
- The Wasteland - callouts for Bohan
-
CLR ASSEMBLY
Do you, by any chance, try to "LoadPlugin yourPlugin.dll" in the RAGE console? If yes - you are not suppsed to, it is not a RAGE plugin.
-
[DEV TOOL | REL] RAGENativeUI
@alexguirre You are a legend. Thanks!
-
Getting peds to walk together as a group
May I suggest something? Please create your own topic and ask all your small questions there because the amount of new threads you create in the last days make the whole section hard to search through. That's how it worked not so long time ago in my case: Thank you for your attention!
-
Spawn Locations
@goigle Feel free to extend it. I'll be happy to see it's useful for you guys. In case anyone else would like to add his additions we could upload the source to the LSPDFR GitHub. Also, to make it easier to find for devs and keep the script up to date we should upload it to the download section. It could be me or you who do it it doesn't matter, I just want to be mentioned as an author of the core part of the library.
-
Spawn Locations
Great to hear that. I was about to add blips and couple of other things myself but I'm totally out of free time atm. Feel free to modify it as much as you want.
-
The Mind-Boggling Classic Cop Car Thread
^ 5:00...
-
[REL]/[WIP] Secondary Callouts V 0.9.0.0
Congrats on releasing your own callout pack! The author of "EMS Assist" for LCPD:FR here (Wasteland mod). I'm glad you liked it enough to give it a second life in V. Have fun developing the mod!
- Rush Hour - callouts pack
-
Development Documentation?
@Cryotech Hi, good to have you here! You can take a look at the LCPD:FR API (the one for IV) and compare it to what you'll see in VS (Albo's method). There are similarities in many areas so you can learn scripting for LSPDFR from old resources. Good luck!
-
Infinite Loop Crash
@tanu1215 This variable needs to be global in the callout class: ECheck check = ECheck.Initialize; I assume it is, let's go further: case ECheck.Checkconditions: check = ECheck.Wait; if (gunman1.IsDead && gunman2.IsDead && gunman3.IsDead && check == ECheck.Wait) { Game.DisplayNotification("~b~Dispatch~w~: The prisoner escaped! Find him before he gets away!"); Game.DisplaySubtitle("Find the ~r~prisioner~w~", 6500); check = ECheck.Finalize; } break; I assume the switch...case is run in an infinite loop. With that in mind look what happened here: 1st loop: 1. You immediately changed the current state to Wait. 2. You checked if "AreGunmenDead" (unknown result) && state == Wait (true). If yes -> state = Finalize. 2nd loop: 3. In the next loop your "AreGunmenDead" && state won't be called at all. Why? Because the state is now Wait which is empty as I suppose. Try to change this case to: case ECheck.Checkconditions: if (gunman1.IsDead && gunman2.IsDead && gunman3.IsDead) { Game.DisplayNotification("~b~Dispatch~w~: The prisoner escaped! Find him before he gets away!"); Game.DisplaySubtitle("Find the ~r~prisioner~w~", 6500); check = ECheck.Finalize; } break; + define the check variable as a global one. + simplify the callout, firstly try to make one where a player is supposed to kill all 3 suspects. The part of code in Finalize which is responsible of handling a pursuit won't work.
-
Infinite Loop Crash
You can also use switch..case and enum of states to control which chunks of code you want to run in a specific moment, eg. enum EState { Initialize, CheckConditions, Finalize, }; EState currentState = SState.Initialize; switch(currentState) { case Initialize: //create blips and stuff currentState = EState.CheckConditions; break; case CheckConditions: if(Ped.IsDead) currentState = EState.Finalize; break; case Finalize: //delete blips etc. break; }
- The Mind-Boggling Classic Cop Car Thread