WHAT IT DOES
This script adds a notoriety system very similar to Assassin's Creed.
- If the cops see your face during a chase, there's a % chance they'll identify you for the crime.
- If you escape after being identified, the crime is added to your arrest warrant.
- Your warrant is given a notoriety rating based on how serious your crimes were (1 star, 2 stars, etc.)
- Press 0 on the numpad to show your current notoriety rating.
- If you get arrested (or die during a chase), your arrest warrant will be cleared.
- Your notoriety, behavior, and traffic crimes will alert police (see "Tips" below for more details).
- Alert levels are shown as indicators over their heads.*
- A green indicator means the cop is watching you. Yellow and red mean he's suspicious, and he'll investigate.*
- If an investigating cop gets close, he'll stop you and ask for ID. Niko is an illegal immigrant, so you'll get 1 star.
- With high notoriety (3+ stars) if a nearby cop becomes fully alerted, he'll recognize you.
- If a fully alerted cop sees you bump someone or commit a serious traffic crime, he'll give you 1 star.*
- If you hold a gun/explosive near a cop, there's a % chance he'll spot your weapon and give you 1 star.*
- Cops will be alerted more easily for a while after you escape a chase, if you were identified.
- If a cop becomes fully alerted during this time, the previous chase will resume.
- High Alert lasts 1 minute for every star on your warrant.
- Your vehicle can have its own wanted level, if it's identified during a chase.
- Outside of chases, only investigating cops will ID your wanted vehicle.
- If your vehicle's wanted level is 3+ stars, it will alert cops on sight.
- Stolen vehicles are often reported.*
- Go to a Pay 'n' Spray to clear the vehicle's wanted level.
- Press 5 on the numpad to arrange a bribe meeting.
- At the meeting:
. . . . Press 4 and 6 to cycle through crime levels (1 star, 2 stars, etc.).
. . . . Press 8 and 2 to add and remove crimes from the bribe.
. . . . Press 5 to pay the bribe.
. . . . Press Delete to reset the current bribe.
. . . . The notoriety value and bribe cost are displayed for each crime level.
* Can be disabled in the INI.
HOW TO INSTALL
This is a script for HazardX's .NET scripthook. Just extract the files into the 'scripts' folder of the .NET scripthook.
- Make sure you have the latest scripthook version, v188.8.131.52.
- See below for known bugs, so you know what to expect.
v1.1 is available for testing!
v1.0.5 - last updated October 8, 2012
If you'd like to support me and my mods,
take 5 seconds and use this download link!
If you're in a hurry, use this one.
- Many settings can be tweaked in the INI.
- Hold PageDown and press 5 on the numpad to disable/enable the mod. This won't clear your warrant or your wanted vehicles.
- The chance of your face being identified depends on:
. . . . your wanted level
. . . . whether you're in a vehicle, and the vehicle's speed
. . . . whether the cop is downed (but not dead)
. . . . how long the cop has continuously seen your face
- The chance of your vehicle being identified depends on:
. . . . your wanted level
. . . . your vehicle's speed and wanted level
. . . . whether High Alert is active
. . . . how long the cop has seen your vehicle
- The chance of your gun being spotted depends on:
. . . . whether you're in a vehicle
. . . . whether the cop is currently interrogating you
. . . . the cop's alert level
. . . . the size of the weapon
- All the above chances also depend on:
. . . . your distance and notoriety
. . . . whether it's nighttime and/or raining
. . . . whether the cop is in a vehicle, and his vehicle's speed
- How fast cops are alerted depends on:
. . . . your speed, distance, and notoriety
. . . . whether you're facing each other
. . . . whether you're in a vehicle, and the vehicle's speed, damage, and wanted level
. . . . whether you're breaking traffic laws
. . . . whether you're near a dead or dying person
. . . . whether you're holding a weapon
. . . . whether you're walking into people, climbing, or jumping
. . . . whether you've been too close to the cop for too long
. . . . whether High Alert is active
. . . . whether the cop has seen, investigated, interrogated, and/or identified you before
. . . . how long the cop has investigated you
- They are alerted much faster if your notoriety is rated 3 stars or more.
- Alert meters will slowly drain, but only if the cop isn't investigating and can't see you.
- Alert indicators only show on the map for cops who are in your character's line of sight (360º).
- Alert indicators will flash:
. . . . White flash = alert level is higher than it's been before (bigger increase = more flashes)
. . . . Gray flash = draining
. . . . Blue flashes = fully alerted
- If you break a cop's line of sight while he's investigating, he'll run to your last known position, try to guess where you went, and then give up if he can't find you.
- If you're far away, the cop will jog for a while to close the distance.
- If a cop sees you run while he's investigating, he'll be alerted very fast. (Using my Weapon Weight mod, you can "hurry" to walk faster.)
- Cops in cars...
. . . . will try to follow you while investigating, if you're in a vehicle.
. . . . won't investigate until their indicators turn red, if you're on foot.
- As a workaround for cops who can't see far, cops in cars and/or investigating have "secondary vision".
- Secondary vision is 360º and its range depends on the cop's alert level.
- There's a chance, based on his alert level, that he'll see you in this field of view.
- A new crime is added to your warrant every time you escape after being identified (not including chases resumed during High Alert).
- Eventually, the notoriety from these crimes can add up, increasing your notoriety rating.
- Even 1-star crimes can add up to a 2-star notoriety rating, if you have a lot of them on your warrant.
- Notoriety escalates slowly at first (thirty 1-star crimes = one 2-star crime), but it gets much faster at higher levels (five 2-star crimes = one 3-star crime).
Recommended Related Mods
- Less Cops in Liberty City by lilmcnessy — Fewer police will spawn.
- Halt Traffic Behind by HazardX, modified by me — Makes NPCs stop behind your car instead of trying to drive around.
- Weapon Weight by me — Includes a "hurry" feature to walk/run/swim faster. Useful when evading police.
- Prison Break by HippieCommunist — Go to prison when arrested. Post bail or try to escape.
- Farnsworth's Business Mod by Prof_Farnsworth — Buy businesses and earn money for bribes.
KNOWN BUGS (and workarounds for some)
- Your arrest warrant is only saved when you use a bed to save the game, not when the game autosaves.
- Your arrest warrant is persistent across different savegames. Workaround: manually create a different ArrestWarrant.dat file for each save.
- When patrolling cops see an NPC criminal, they either ignore or shoot at him. Workaround: disable PreventCopDeletion in the INI, or temporarily toggle the mod off until the NPC criminal gets chased away.
GTA IV Issues (unfixable?)
- Most cops can't see very far.
- The game AI can see through many things it shouldn't, like low walls, dumpsters, vehicles, vegetation, and people.
- The game AI can't follow you through certain areas. Currently known to affect several alleys, one door, and one subway station staircase.
- Sometimes, the game gives you 1 star for stealing a vehicle when you only tried to open a locked car door.
- Sometimes, the game thinks you committed a traffic crime when you didn't (e.g. it thinks a street is one-way when it's not).
- The game fades the indicators over cops when you're close to them.
- If you commit traffic crimes while moving very slowly, the police won't notice.
- Cops are really bad at tailing you in cars, often crashing or making pointless wrong turns.
- Stolen vehicles don't get reported if they're empty and unlocked when you get in (this is a workaround to prevent your saved cars from being reported).
- At the start of an interrogation, alert indicators stop flashing for a moment.
- During an interrogation, sometimes cops don't face you.
- Calling Kiki Jenkins or Francis McReary to remove your wanted level doesn't prevent the crime from being added to your warrant. Workaround: toggle this mod off (PageDown + 5) before using the cheat.
- Any cheats for removing your wanted level (including the Kiki/Francis ones) don't reset cop alert levels. Workaround: same as previous.
Incompatibility with Other Mods
- Switching the player model with a trainer causes an error. Workaround: same as previous.
- This mod conflicts with Wanted, Wanted Vehicle, Weapon Arrest, and Drive Felony by BR_Goianiense.
- Ticket by HippieCommunist: Sometimes, cops will ticket you twice (or more) in a row.
v1.0.5 — October 8, 2012
- Cops turn their heads to look at you when their alert indicators are green.
- Fixed bug where you were always instantly IDed when chases first started.
- Minor tweak: Decreased default VehicleID_MinSecs INI setting from 7 to 6.
v1.0.4 — October 6, 2012
- Police get alerted when you're driving an emergency vehicle nearby.
. . . . Added "Driving_EmergencyVehicle" INI setting to tweak this.
- You're instantly IDed for new stars in a chase if you were already IDed (reverted from v0.9.9).
. . . . Added "NewStarsInstantID" INI setting — if set to "false", you must be IDed by a new cop or seen by a cop who already IDed you.
- Minor code cleanup.
v1.0.3 — August 2, 2012
- Bribe contact is armed with a Desert Eagle.
- Fixed bugs where...
. . . . OverallAlertModifier INI setting constantly alerted all cops.
. . . . keypresses wouldn't work while holding Shift/Ctrl/Alt.
. . . . invalid weapons, like the parachute in EFLC, caused script crashes.
. . . . disabling all traffic crimes except speeding disabled speeding too.
. . . . speech audio wouldn't work while receiving a ticket (with HippieCommunist's Ticket.cs mod).
- Decreased script file size by 9% (was using the wrong compile mode before).
- Renamed LastBribeKey INI setting to PrevBribeKey.
- Very minor tweaks, optimization, and cleanup.
v1.0.2 — March 25, 2012
- Increased default bribe costs for 4+ stars.
- Fixed bug where increased alert modifiers in the INI could make cops get alerted too fast or too slow.
- Minor tweaks to the INI file, minor code cleanup.
v1.0.1 — January 12, 2012
- Added "mission complete" music when arrest warrant crimes are added/removed (can be disabled in the INI under MESSAGES).
- Increased how much cops are alerted by running, especially during High Alert.
- After bribing, any remaining High Alert time will decrease based on your remaining notoriety, instead of clearing completely.
- Cops mention reckless driving when interrogating near your car (you no longer have to be sitting in the car).
- Changed default value of "IDStatus_NumberOfCops" to false (under MESSAGES).
- Cleaned up keypress handling.
- Fixed bug where cops would steal your car.
- Fixed bug where interrogations would get stuck, breaking other parts of the mod.
- Fixed bug where cops in cars wouldn't reliably inherit the highest alert level among them.
v1.0 — December 31, 2011
- Police can identify vehicles.
- Stolen vehicles have a chance of being reported.
- Cops are alerted when you break certain traffic laws.
- New INI settings, including how much each traffic crime alerts cops.
- You have to meet an NPC to pay bribes.
- Cops are less likely to spot your face/vehicle/weapon at night and/or in rain.
- Disabled the police radio that you hear during chases (can be re-enabled in the INI).
- When a fully alerted cop sees you bump into someone, he'll give you 1 star.
- Within a cop car, all cops inherit the highest alert level among them.
- Alert indicators for cop car passengers are hidden, instead of overlapping the driver's.
- Alert indicators on the map show alert levels in their labels.
- New types of flashes for alert indicators.
- More cop speech:
. . . . comment when you walk into people or you're too close for too long.
. . . . comment when they see you crash your car into another car.
. . . . comment when they've seen reckless driving and pull you out of a car for an interrogation.
. . . . comment when they give up an investigation on foot.
. . . . yell when they're nearby and their indicators are red. (The cop won't flag you for evading police unless he has yelled at you.)
- Workaround for nearsighted cops: Cops in cars and/or investigating have "secondary vision"
. . . . Secondary vision is 360º and its range depends on the cop's alert level.
. . . . There's a chance based on his alert level that he'll see you in this field of view.
- Investigating cops in cars...
. . . . will follow you if you're in a moving car.
. . . . no longer abandon their cars if your car is far away or moving at moderate speed.
- Investigating cops are alerted when you drive away from them (unless driving quite slowly).
- When you break an investigating cop's line of sight, he'll guess which direction you went.
- Improved cop awareness of jumping, running, walking into people, and being near dead people.
- Significantly increased default tracking range setting; made a separate setting for cops in cars.
- Whether guns are "large", "medium" or "small" depends on their dimensions, instead of weapon type.
- Added readme file.
- Lots of fixes and tweaks.
v0.9.9 hotfix — October 8, 2011
- Fixed bug where interrogations wouldn't progress properly.
- Fixed bug where cops would be deleted more often than normal during chases.
- Minor optimization and cleanup.
v0.9.9 — October 7, 2011
- Every consecutive second cop can see face at close range, +3% chance to ID; resets once cop can't see face anymore. (Imitates "getting a good look" at the player.)
- If you were IDed and you escape a chase, cops will be alerted easily, and the chase will resume if they become fully alerted. Lasts 1 minute for every star on your warrant.
- Cops now notice when you run near them even if they can't see you.
- When you've been IDed and earn additional stars in a chase, you're no longer immediately IDed for the new stars. Now you must be IDed by a new cop or seen by a cop who already IDed you.
- Cops who are down but not dead can now ID you.
- Cops who have died are no longer counted as having IDed you.
- Added "IdentifyChanceModifier" INI setting — changes how likely cops are to identify you.
- Added several INI options for tweaking messages.
- Replaced "ShowNotifications" option with separate options for "identified" and "crime added" messages.
- Decreased max bribe cost to $999,999,999 (because that's the max that you can carry).
- Increased default bribe costs for 3+ stars.
- Increased default MaxTrackedCops from 20 to 25.
- Improved cop tracking (several fixes and tweaks).
- Improved cop tailing during investigation (more fixes and tweaks).
- Improved compatibility with Ticket mod by HippieCommunist.
- Fixed occasional "NullReferenceException" and "NonExistingObjectException" script crashes.
- Fixed major bug in calculation of cops' chance to ID.
- Lots of minor fixes and tweaks, and a few optimizations.
v0.9.8 — September 6, 2011
- Renamed the mod from "Criminal Record" to the more accurate name "Arrest Warrant".
- Alert indicators now flash every time a cop's peak alert level gets higher.
- Cops are now alerted when they see you climb, and sometimes when you jump.
- Cops will start getting alerted if you're close to them for a long time.
- If a cop can see you and has been fully alerted for several seconds, you'll get 1 star.
- Added "MaxTrackedCops" INI setting to avoid a noticeable performance impact.
- Added "ShowNotifications" INI setting to disable "crime added to warrant" messages.
- Workaround "fix" for some cops starting to chase an NPC and then immediately stopping.
- Various tweaks, fixes and cleanup.
v0.9.7 — August 28, 2011
- Cops are now alerted when you bump into people. More so for bumping cops, especially for the cop being bumped.
- Cops are also alerted when you're near a dead or dying person.
- Cops are also alerted when you stand face-to-face very close.
- Fixed several bugs affecting investigating cops.
- If your notoriety is high and a cop has investigated you for 90 seconds (not counting when he can't see you), he'll start getting alerted faster.
- Decreased the range in which cops can recognize you when fully alerted, especially with lower notoriety.
- Now investigating cops always move faster while walking, and they jog when they lose you. Removed MoveFasterWhileInvestigating INI setting.
- Added AlertModifier INI setting, to increase/decrease how much cops are alerted per second.
- Cop indicators are now labeled "Cop" on the map, instead of "Enemy".
- Minor tweaks, fixes and cleanup.
v0.9.6 hotfix — July 26, 2011
- Fixed bug where cop deletion would be prevented after an interrogation, even if PreventCopDeletion was set to false.
- Fixed bug with older GTA4 patches where cops would shoot at the player with only 1 star, or even when not wanted.
- Fixed bug where escaping after being identified would immediately make the player wanted again.
- Minor fixes and tweaks.
v0.9.6 — July 25, 2011
- Partially fixed major bug where cops could be deleted by the game when off-screen. Cops in cars/standing around can still be deleted.
- Fixed major bug where cops would repeatedly identify the player, quickly giving massive notoriety.
- Increased how much fast movement alerts cops, and how fast cops regain their peak alert level.
- Increased default cop tracking range by 33%.
- Made a separate INI setting for whether weapons alert cops (formerly included in "WeaponsAreIllegal").
- Minor fixes and tweaks.
v0.9.5 — July 22, 2011
- Added INI file for keys, bribe costs, and other settings.
- Now only the knife and bat will alert cops faster.
- For guns, grenades, and molotovs, now there's a chance the cops will notice the weapon (like how they identify your face) and give you 1 star.
- Fixed bug where cop alert levels wouldn't drain after giving up an investigation.
- Compiled script and changed save file to CriminalRecord.dat.
- Minor tweaks and cleanup.
v0.9.4 — July 19, 2011
- Offenses are now added to your record as soon as you're identified, and the Notoriety value is shown.
- Fixed bug where earning more stars after initially being identified wouldn't increase notoriety.
- Significantly increased bribe costs for 2+ stars, and increased notoriety value of 3-star offenses.
- Cops are alerted much faster when they see you holding a weapon, especially a large weapon.
- Tweaked how fast cops regain their peak alert level after losing you and then seeing you again.
- If you escape after being identified, the cops who identified you are alerted faster if they see you again.
- Improved compatibility with Prison Break by HippieCommunist: Fixed bugs where 4-star offenses were wrongly added to criminal record while wearing prison uniform, and where instantly earning 4+ stars in any situation would be considered a prison escape.
- Improved compatibility with Ticket by HippieCommunist: Fixed bugs where cops would follow you everywhere after a ticket, and where waiting until an interrogation ended would give you ticket after ticket, potentially for eternity.
- Minor fixes and tweaks.
v0.9.3 — July 12, 2011
- Cops are now tracked and can be alerted even if you have 0 notoriety.
- When an investigating cop loses sight of you, if he still can't see you after 2 seconds, he'll run straight to where you are at that moment, to imitate "guessing" which direction you went after he lost you.
- Decreased chance of being identified by police when farther away.
- Increased range in which cops are tracked.
- Fixed bug where getting into a car and driving away wouldn't fail an interrogation.
- Other minor fixes, tweaks, and cleanup.
- Changed version numbering scheme.
v0.9c — July 10, 2011
- Added little "interrogations" to the end of investigations.
- With a wanted rating of 2 or less, fully alerting cops no longer gives you a wanted level. Instead, they'll just follow until they lose you or you're close enough to interrogate.
- If the police identify you while your wanted level is 1 star and you have a notoriety rating of 2 stars, you will no longer be given 2 stars (because realistically cops wouldn't know your face well enough with that amount of notoriety).
- Cops walk faster while investigating, and fat cops run faster as well.
- If a cop has investigated and lost you, they will quickly regain their previous alert level the next time they see you. (And if they've interrogated you before, the next interrogation will be much shorter.)
- Tweaked how far cops can see and how fast certain situations alert them.
- Alert indicators now show on the map if the cop is in your character's line of sight (360º).
- Fixed bug where not all cops were affected by the script in crowded areas.
- Workaround for bug where the alert meter filled way too fast due to the player velocity being inaccurate. Side effect: Moving fast while not in a vehicle will negate the effect of velocity on alert level.
- Added compatibility for HippieCommunist's Prison Break mod: now when you break out of prison, you'll immediately be identified and notorious. (Note: only works if you set "AlarmWanted" in Prison.ini to at least 4.)
- Improved compatibility for HippieCommunist's Ticket mod: when you pay a ticket, all suspicious cops will have their alert levels reduced to just under the suspicion threshold.
- Minor fixes, optimization, and cleanup.
v0.9b — July 8, 2011
- Fixed bug where breaking an investigating cop's line of sight would make him always go to your last known position, even if he sees you again before he gets there.
- Fixed another bug where an investigating cop would go to a position far away from where he last saw you.
- Added compatibility for HippieCommunist's Ticket script. Offenses aren't added to your record if you pay the fine. If you only have a 1-star notoriety rating, it will be cleared after paying. (NOTE: Only works if your Ticket file name is "ticket.cs".)
- Minor fixes and optimization
If you read all of that, I offer you THIS: