IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules Attention:

The Mod Showroom is only for posting previews/downloads of completed or near finished mods.
All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials

  Reply to this topicStart new topicStart Poll

 Abandoned Vehicle Cleanup

 Remove abandoned vehicles from street
 
Prof_Farnsworth  
Posted: Tuesday, May 17 2011, 14:37
Quote Post


Ambient Modder
Group Icon
Group: Members
Joined: Feb 25, 2011

XXXXX



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

O This mod is hosted at GTAGarage.com

Screenshots:
GTAGarage screenshot GTAGarage screenshot

Downloads:
Download Vehicle Cleanup 2.0 - 0.008MB, uploaded on Apr 06 2012, downloaded 238 times
Download Vehicle Cleanup - 0.005MB, uploaded on May 17 2011, downloaded 890 times

Click here to view the mod at GTAGarage

PM
  Top
 

 
lolleroz  
Posted: Tuesday, May 17 2011, 14:52
Quote Post


Playa
Group Icon
Group: Members
Joined: Jul 29, 2010

pl.gif

XXXXX



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
PM
  Top
 

 
Mr. Mysterious  
Posted: Tuesday, May 17 2011, 15:09
Quote Post


LCPDFR Development
Group Icon
Group: Members
Joined: Feb 5, 2006

sj.gif

XXXXX



Another great script from you, keep them coming smile.gif
Users WebsitePMMSN
  Top
 

 
WhiteGoblin  
Posted: Tuesday, May 17 2011, 16:18
Quote Post


I am one with the net
Group Icon
Group: Members
Joined: Apr 24, 2011

XXXXX



Thank you so much for another excellent addition! icon14.gif
PM
  Top
 

 
Prof_Farnsworth  
Posted: Wednesday, May 18 2011, 15:49
Quote Post


Ambient Modder
Group Icon
Group: Members
Joined: Feb 25, 2011

XXXXX



Really, really nice comments, thank you. happy.gif

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...

This post has been edited by Prof_Farnsworth on Thursday, May 19 2011, 01:11
PM
  Top
 

 
Cpl.Dunn  
Posted: Wednesday, May 18 2011, 17:20
Quote Post


LCPDFR Moderation Supervisor
Group Icon
Group: Members
Joined: Aug 10, 2010

sf.gif

XXXXX



Oh man, i must try it, sounds awesome! Gj again prof!
PMMSNPlayStation Network
  Top
 

 
WhiteGoblin  
Posted: Thursday, May 19 2011, 02:43
Quote Post


I am one with the net
Group Icon
Group: Members
Joined: Apr 24, 2011

XXXXX



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! icon14.gif

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. panic.gif

'Goblin
PM
  Top
 

 
Prof_Farnsworth  
Posted: Thursday, May 19 2011, 11:20
Quote Post


Ambient Modder
Group Icon
Group: Members
Joined: Feb 25, 2011

XXXXX



QUOTE
Oh man, i must try it, sounds awesome! Gj again prof!


Thanks, let me know what you think!

QUOTE
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)

QUOTE
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 lol.gif) 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 confused.gif

QUOTE
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.

This post has been edited by Prof_Farnsworth on Thursday, May 19 2011, 11:22
PM
  Top
 

 
Prof_Farnsworth  
Posted: Friday, Apr 6 2012, 15:39
Quote Post


Ambient Modder
Group Icon
Group: Members
Joined: Feb 25, 2011

XXXXX



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.
PM
  Top
 

 
gorgonut  
Posted: Friday, Apr 6 2012, 17:48
Quote Post


Snitch
Group Icon
Group: Members
Joined: Feb 21, 2009

XXXXX



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! icon14.gif
PM
  Top
 

 
Prof_Farnsworth  
Posted: Friday, Apr 6 2012, 18:49
Quote Post


Ambient Modder
Group Icon
Group: Members
Joined: Feb 25, 2011

XXXXX



QUOTE (gorgonut @ Friday, Apr 6 2012, 17:48)
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!  icon14.gif

Not injured, they have to be dead in order for it to work.
PM
  Top
 

 
onetidd  
Posted: Thursday, Feb 28 2013, 11:39
Quote Post


972 Represent'
Group Icon
Group: Members
Joined: Nov 1, 2006

fr.gif

XXXXX



Hello any new on it? it appears to crash my game: 1.0.4
Users WebsitePMMSN
  Top
 

 
Prof_Farnsworth  
Posted: Friday, Mar 1 2013, 15:47
Quote Post


Ambient Modder
Group Icon
Group: Members
Joined: Feb 25, 2011

XXXXX



QUOTE (onetidd @ Thursday, Feb 28 2013, 11:39)
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.
PM
  Top
 

 
onetidd  
Posted: Saturday, Mar 2 2013, 11:31
Quote Post


972 Represent'
Group Icon
Group: Members
Joined: Nov 1, 2006

fr.gif

XXXXX



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...
Users WebsitePMMSN
  Top
 

 
Prof_Farnsworth  
Posted: Monday, Mar 4 2013, 04:43
Quote Post


Ambient Modder
Group Icon
Group: Members
Joined: Feb 25, 2011

XXXXX



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.
PM
  Top
 

 
onetidd  
Posted: Monday, Mar 4 2013, 12:39
Quote Post


972 Represent'
Group Icon
Group: Members
Joined: Nov 1, 2006

fr.gif

XXXXX



Hey,

Well yes i've almost all my cars modded...
Users WebsitePMMSN
  Top
 

 
Prof_Farnsworth  
Posted: Monday, Mar 11 2013, 22:13
Quote Post


Ambient Modder
Group Icon
Group: Members
Joined: Feb 25, 2011

XXXXX



QUOTE (onetidd @ Monday, Mar 4 2013, 12:39)
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?
PM
  Top
 

 
onetidd  
Posted: Monday, Mar 18 2013, 15:17
Quote Post


972 Represent'
Group Icon
Group: Members
Joined: Nov 1, 2006

fr.gif

XXXXX



Sorry i didn't see your msg i'm using the latest version of script hook
Users WebsitePMMSN
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG