============================================================================
Silence!
For: Grand Theft Auto: IV
By: InfamousSabre

Version 1.2

Read the License, please.

Model by: ysup12 of tf3dm.com
Converted for GTAIV by: InfamousSabre

============================================================================


Description---------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
With Silence! you will now be able to attach a silencer to your guns. Just press 'X' or the button you define in the .ini, to 
toggle it on and off for that weapon. Each gun has its own setting, so youll be able to swap between your silenced pistol 
and your loud shotgun with ease.

They'll never hear you coming.

ONLY for GTAIV

Installation---------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
--Script Install--
Copy the scripts folder to your "Grand Theft Auto IV/" directory 

(MAKE BACKUPS SO YOU CAN REVERSE THESE PROCESSES IF YOU WANT TO LATER!!!)

--Replace or modify ShockingEvents.dat--
Replace "Grand Theft Auto IV/common/data/ShockingEvents.dat" with the "ShockingEvents.dat" file I provided.
OR
Replace the GunshotFired line in "Grand Theft Auto IV/common/data/ShockingEvents.dat" with this block by using a text 
or code editor like Notepad or Notepad++
GunshotFired			3	7		10	5		2	10			100	0 0 0 0	8		0	0 0 0 0	0		60	2 0 0 0 0		100	0 0 0 0 8
AND
Replace the GunFight line in "Grand Theft Auto IV/common/data/ShockingEvents.dat" with this block by using a text 
or code editor like Notepad or Notepad++
GunFight				3	15		10	5		2	10			100	0 0 0 0 4		0	0 0 0 0	0		75	2 0 0 0 0		40	0 0 0 0 4

--Install the sound file--
Use OpenIV or SparkIV to put the provided WEAPONS file into "Grand Theft Auto IV/pc/audio/Sfx/resident.rpf"

--(REQUIRED) Modify minigame.img--
Using OpenIV, add the file in the "Models" folder, into "Grand Theft Auto IV\pc\data\maps\props\lev_des\minigame.img"

--Note--
If you have modified gun models, you will need to find the offsets for them. Please read "Finding offsets for gun mods.txt"


You will need an ASI-loader   (http://www.gtaforums.com/index.php?showtopic=380830)
And HazardX's .Net scripthook (http://www.gtaforums.com/index.php?showtopic=392325)

For the .Net scripthook to work, you also need:
.Net framework 4 (http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en)
And Visual C++ library 2010 (http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en%C2%A0)


Known issues-------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
-If you throw a molotov or grenade, and shoot a gun before it explodes, the explosion will trigger a gunshot sound from
your character.


Changelog----------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

v1.0:
-Original Release
	
v1.2:
-Changed: Silence.net.dll, Silence.ini, ShockingEvents.dat
-Adjusted offsets for a few weapons
-Fixed peds being scared away when you unload an entire clip
-New ped behavior managing system	
-Adjusted ped weapon volume

Contact------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
PM me @gtaforums.com: InfamousSabre


License------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
This software is provided 'as-is', without any express or implied warranty.  In no event will the author be held liable for 
any damages arising from the use of this software.

Permission is granted to anyone to use redistribute this software freely, subject to the following restrictions:

The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you 
use this software in a product, an acknowledgment in the product documentation would be appreciated but is not 
required.  If this software is to be included with another modification, it must retain its filename and extension.

