Prof_Farnsworth Posted May 17, 2011 Share Posted May 17, 2011 Abandoned Vehicle Cleanup v1.0 by Prof_Farnsworth This mod will make a crew recover abandoned vehicles in the player's area (vehicles with no driver or a dead driver). If no abandoned vehicles are found, they may steal vehicles off of the street, from the dealership, etc. The criminals will occasionally get into shootouts with the cops. Installation: Place the "crime_city.net" and "crime_city.ini" files into the "scripts" folder of your root GTA IV directory. In .ini Settings file, the chance for them to steal random cars off the street is adjustable. Enter any integer above 3 to change the likelihood of random theft. ( Default is 50. Lower means it will happen more, higher means less. WARNING: Do not set below 3 or script may crash!) This will also affect how often they steal your vehicle. Known bugs: Occasionally, car thief will give up ride for another. COPYRIGHT: Please do not upload this mod anywhere else. If you use this mod in one of your own, please be kind enough to give credit. Enjoy Prof. Farnsworth Link to comment Share on other sites More sharing options...
lolleroz Posted May 17, 2011 Share Posted May 17, 2011 FINALLY! AWESOME! I always looked for realistic way to get rid of unused cars - blowing them up wasn't the way out. I thought about some kind of tow-truck service mod, but it would be too buggy (like tow-truck driving into a wall and the car not getting towed at all) you're not only a gorgeus scripter, you have great imagination as well Link to comment Share on other sites More sharing options...
notspectre Posted May 17, 2011 Share Posted May 17, 2011 Another great script from you, keep them coming Link to comment Share on other sites More sharing options...
WhiteGoblin Posted May 17, 2011 Share Posted May 17, 2011 Thank you so much for another excellent addition! Link to comment Share on other sites More sharing options...
Prof_Farnsworth Posted May 18, 2011 Author Share Posted May 18, 2011 (edited) Really, really nice comments, thank you. Currently it only removes one car at a time, so huge traffic jams are a bit of a problem. I want to have multiple thieves depending on the number of vehicles but the arrays of arrays are causing some trouble. Soon though. Thanks again, and please report any bugs, or suggestions... Edited May 19, 2011 by Prof_Farnsworth Link to comment Share on other sites More sharing options...
Cpl.Dunn Posted May 18, 2011 Share Posted May 18, 2011 Oh man, i must try it, sounds awesome! Gj again prof! Link to comment Share on other sites More sharing options...
WhiteGoblin Posted May 19, 2011 Share Posted May 19, 2011 First of all, absolutely love it! Really makes the experience much more realistic seeing other peeps up to no good and I played around for a while just testing how it would react to a number of different situations. Enjoyed every moment of it & very happy to report it worked out through all types of shenanigans! One of the funniest moments I've seen so far would be walking out from a save area to watch my only saved car getting jacked right in front of me an pulling off before I even thought to arm myself to grab it back! While I think that's pretty awesome and really enjoyed the moment others might not be to understanding if they're one of those "I drive the same exact car around all the time" type of players. (lulz) Maybe a setting in future versions to control the ability of the clean up crew to target the personal save location vehicles? Also I noticed they can really pack a punch when they get inside a fire fight with the cops, is there a range of weapons they can use? I didn't notice any of them having it and sure it might be a bit out of place but do any of them wear armor? I think it would be hilarious if 10-20% of the time some overly prepared crew showed up instead of just the quick grab an go plainly dressed more common place operations. Sure most the time you'd never notice it or situationally it wouldn't matter, but the few times a conflict popped off where they gave everybody a run for their money would be awesome. 'Goblin Link to comment Share on other sites More sharing options...
Prof_Farnsworth Posted May 19, 2011 Author Share Posted May 19, 2011 (edited) Oh man, i must try it, sounds awesome! Gj again prof! Thanks, let me know what you think! First of all, absolutely love it! Really makes the experience much more realistic seeing other peeps up to no good and I played around for a while just testing how it would react to a number of different situations. Enjoyed every moment of it & very happy to report it worked out through all types of shenanigans! Perfect, I am glad someone put it through some tests, and thank you for doing it. I spent a lot of time getting rid of the same types of errors that plagued the fire inspector mod. (i.e. "What if ?" situations) Maybe a setting in future versions to control the ability of the clean up crew to target the personal save location vehicles? This is possible, but would probably be location based, so they wouldn't take any cars from that immediate area. I also had it so Niko's car never got taken, but it was meh. And honestly, if using all these mods and scripthook.net, anytime you want a certain vehicle, you can spawn it through the console. (I use the realistic damage mod so any vehicles I save are purely for convenience, as they don't last long ) Also, the thieves will not target police or fire vehicles, so those can be saved without concern, although I think I forgot about FIB cars Also I noticed they can really pack a punch when they get inside a fire fight with the cops, is there a range of weapons they can use? I didn't notice any of them having it and sure it might be a bit out of place but do any of them wear armor? I think it would be hilarious if 10-20% of the time some overly prepared crew showed up instead of just the quick grab an go plainly dressed more common place operations. Sure most the time you'd never notice it or situationally it wouldn't matter, but the few times a conflict popped off where they gave everybody a run for their money would be awesome. Armor is easily addable and I will put it in the next update for sure. Great idea! It will be random, and not synched up with the shootouts, so one may have it and one not. As for the weapons, they currently carry two. The other is the small machine gun (SMG? MP5? I can't recall) so they would do drive-by's, but they never did, and I have never seen them switch weapons. Not sure why though, since they are coded to be able to. Maybe because it is weaker? It is something I will have to look into. I was apprehensive about even releasing this, as I only thought of it while testing other mods and seeing traffic halt because of a fist fight. Glad you all are enjoying it. Edited May 19, 2011 by Prof_Farnsworth Link to comment Share on other sites More sharing options...
Prof_Farnsworth Posted April 6, 2012 Author Share Posted April 6, 2012 After way too long, I am finally updating this mod, with an extra addition. Notes are below, mod link should be updated in first post soon. VERSION 2 UPDATES: - Crew now has a chance of spawning with a rocket launcher and armour. - Increased default likelihood to steal random vehicles (can be adjusted in .ini). - Optimized code - Crew will now "circle" the vehicles less, are more likely to stop next to it. ****BONUS**** - Also included in the archive is a small script which makes AI drivers drive over dead bodies instead of stopping at them. It is not perfect, but it stops 30 car pile-ups from one ped dying in the street. To Install, place the file "repossession.net" into your scripts directory. Link to comment Share on other sites More sharing options...
gorgonut Posted April 6, 2012 Share Posted April 6, 2012 Waiting to be uploaded in order to test it.... The idea of the drivers who drive over dead (hope not injured too) peds is very clever! Link to comment Share on other sites More sharing options...
Prof_Farnsworth Posted April 6, 2012 Author Share Posted April 6, 2012 Waiting to be uploaded in order to test it....The idea of the drivers who drive over dead (hope not injured too) peds is very clever! Not injured, they have to be dead in order for it to work. Link to comment Share on other sites More sharing options...
onetidd Posted February 28, 2013 Share Posted February 28, 2013 Hello any new on it? it appears to crash my game: 1.0.4 Link to comment Share on other sites More sharing options...
Prof_Farnsworth Posted March 1, 2013 Author Share Posted March 1, 2013 Hello any new on it? it appears to crash my game: 1.0.4 How do you mean it crashes your game? Can you post your scripthook.net log? Also, what other mods are you using? I did test this on 1.0.4.0 and had no issues with crashing. Link to comment Share on other sites More sharing options...
onetidd Posted March 2, 2013 Share Posted March 2, 2013 Well here it is: 013-02-28 00:19:18 - Error during NetHook.Tick: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Scripting.NativeContext2.Invoke(SByte* name, NativeContext2* cxt) at GTA.Native.Function.BaseCall(String Name, Parameter[] Arguments) at GTA.Native.Function.Call(String Name, Parameter[] Arguments) at GTA.Native.Template.Invoke() at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev) at GTA.ScriptDomain.ProcessRemoteEvents() at GTA.ScriptDomain.Tick() at GTA.NetHook.Tick() 2013-02-28 00:19:20 - Error during NetHook.Tick: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Scripting.NativeContext2.Invoke(SByte* name, NativeContext2* cxt) at GTA.Native.Function.BaseCall(String Name, Parameter[] Arguments) at GTA.Native.Function.Call(String Name, Parameter[] Arguments) at GTA.Native.Template.Invoke() at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev) at GTA.ScriptDomain.ProcessRemoteEvents() at GTA.ScriptDomain.Tick() at GTA.NetHook.Tick() Dunno what to do ... i have these mods on it: ArrestWarrant.Main'! Ass.Ass'! stealingCars.stealingCars'! Interacting.Interacting'! CQC.Fight'! TestScriptCS.Smoking'! And atleast: RealTraffic.asi Skorpro Parked Cars v1.3 SpeedoIV.asi Please help me: GTA 4 1.0.4 VERSION I HAVE 8 GO OF RAM I've removed it and my game is not crashing anymore... Link to comment Share on other sites More sharing options...
Prof_Farnsworth Posted March 4, 2013 Author Share Posted March 4, 2013 I would guess that you have a lot of modded vehicles? Only thing I can think of that would cause crashes, as my mod is the only one you have that spawns peds and vehicles. I will see if I can replicate a crash. but let me know if you have most or all of your cars modded. Link to comment Share on other sites More sharing options...
onetidd Posted March 4, 2013 Share Posted March 4, 2013 Hey, Well yes i've almost all my cars modded... Link to comment Share on other sites More sharing options...
Prof_Farnsworth Posted March 11, 2013 Author Share Posted March 11, 2013 Hey, Well yes i've almost all my cars modded... Does it crash the game (ie. out to the desktop), or just the script crashes? If it is crashing the game, it may be when the crew spawns in a vehicle that is very high poly (they have no restrictions and can spawn in anything), the sudden memory draw could cause the crash. I have seen the errors before, although not sure where they stem from, but they never seem to cause problems for me. I would also like to know which version of scripthook.net are you using? Link to comment Share on other sites More sharing options...
onetidd Posted March 18, 2013 Share Posted March 18, 2013 Sorry i didn't see your msg i'm using the latest version of script hook Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now