Milo's MP5SD v1.1

---PLEASE NOTE---
I am NOT the original author of any of these models/textures. See full credits below.


---v1.1 FIX DETAILS---
Fixed collapsed stock model and texture bug.
Fixed mirrored logos on receiver and magazine.
Removed bullets from inside magazine (reduced polycount slightly).


---INFO---
Hi there, I'm Pro Racer,

I love the MP5SD, and I always wanted to have a really high-quality one in GTA IV. So I finally got around to learning how to 
make IV weapons again (I had trouble with it before, which caused me to give up for a while) and now that it's complete, I decided 
to compile it into a pack and upload it for all the other MP5SD fans out there!

I hope I haven't overcomplicated this mod too much for newer users, but I like having lots of options of camos, sights, etc. so I 
hope that you, too, will appreciate all the variations included! Enjoy!!!


---DETAILS---
This is a high-poly MP5SD replacer for the MP5 in GTA IV (low spec system users have been warned). In order for this weapon to function 
correctly, you MUST swap the default reload animation "gun@mp5k.wad" for the one provided AND edit your "WeaponInfo.xml" with the code provided.

Editing your "WeaponInfo.xml" with the code provided gives the MP5SD a faster fire rate, removes muzzle flash, and fixes hand position.

Not following all the installation steps (save for the optional one) may result in odd hand placement, etc.


---VARIATIONS---
MP5SD + No Rail (for the purists) + Full Stock
MP5SD + No Rail (for the purists) + Collapsed Stock
MP5SD + Rail + No Sight + Full Stock
MP5SD + Rail + No Sight + Collapsed Stock
MP5SD + Rail + Docter Reflex Sight + Full Stock
MP5SD + Rail + Docter Reflex Sight + Collapsed Stock
MP5SD + Rail + EOTech Holographic Sight + Full Stock
MP5SD + Rail + EOTech Holographic Sight + Collapsed Stock

All variations available in standard black as well as tigerstripe camo!


---INSTALLATION---

***ALWAYS BACK UP EVERYTHING***

1. Use OpenIV or SparkIV to replace "mp5.wdr" located in "pc\models\cdimages\weapons.img" with any of the variations 
   provided in the "Models" folder.

2. Use OpenIV or SparkIV to replace "mp5.wtd" located in "pc\models\cdimages\weapons.img" with either the Standard or 
   Tigerstripe version provided in the "Textures" folder.

3. (Optional) Use OpenIV or SparkIV to EDIT the "mp5.wtd" file you just replaced and swap the "icon.dds" texture with the 
   texture corresponding to the model type you selected - provided in the in the "Icons" folder.

4. Use OpenIV or SPARKIV to replace "gun@mp5k.wad" located in "pc\anim\anim.img" with the file provided in the "Animation" folder.

5. Open the "WeaponInfo.xml" in "Grand Theft Auto IV\common\data" and replace the "MP5" section with the code below:


  <weapon type="MP5">
    <data slot="SMG" firetype="INSTANT_HIT" damagetype="BULLET" group="SMG" targetrange="55.0" weaponrange="60.0" clipsize="30" ammomax="1200" timebetweenshots="66">
      <damage base="20" networkplayermod="2.5" networkpedmod="1.25"/>
      <physics force="50.0"/>
      <reload time="1666" fasttime="1666" crouchtime="2533"/>

      <aiming accuracy="0.55">
        <offset         x="0.13" y="1.0" z="0.45"/>
        <crouchedoffset x="0.11" y="1.0" z="-0.02"/>
        <reticule standing="0.75" ducked="0.6" scale="0.3"/>
      </aiming>

      <pickup regentime="360000" ammoonstreet="60"/>

      <controller>
        <rumble duration="100" intensity="0.02"/>
      </controller>

      <flags>
        <flag>GUN</flag>
        <flag>CAN_AIM</flag>
        <flag>CAN_FREE_AIM</flag>
        <flag>ANIM_RELOAD</flag>
        <flag>ANIM_CROUCH_FIRE</flag>
        <flag>2HANDED</flag>
      </flags>
    </data>

    <assets model="w_mp5">
      <anim group="gun@mp5k">
        <rates firerate="2" blindfirerate="2"/>
      </anim>

      <effects>
        <muzzle fx="muz_pistol_smoke"/>
        <shell fx="weap_ejected_smg"/>
      </effects>
    </assets>
  </weapon>


6. Use SparkIV to replace "WEAPONS.ivaud" located in  "pc\audio\Sfx\resident.rpf" with the file provided in the "Sound" folder. Or if 
   you already have your gun sounds modded, you can manually edit the "WEAPONS.ivaud" file with GTAIV-AUD. The MP5SD sound files are 
   located in the "Raw Sound Files" folder.

7. Finished!!!


---ORIGINAL WEAPON LINKS---
Milo's MP5SD 3d model --------------- http://gamebanana.com/models/1124
Internetianer MP5SD ----------------- http://gamebanana.com/css/skins/108837
Henron MP5SD with Tigerstripe Camo -- http://gamebanana.com/css/skins/49203


---CREDITS---
MP5SD model/UV ------------------- ohnomelon aka milo
MP5SD textures ------------------- el maestro de grafitti
MP5SD animation/compile ---------- Internetianer
MP5SD animation/compile ---------- Henron
EOTech sight model/UV/textures --- Likon
Docter sight model --------------- Kaskad
Docter sight UV ------------------ B0T
Docter sight textures ------------ obsolete
MP5 Rail System model/UV --------- mbproductions / RevolutionArt
MP5 Rail System textures --------- mbproductions / RevolutionArt (modified by Pro Racer)
MP5SD weapon icons --------------- RollY (modified by Pro Racer)
MP5SD sounds --------------------- Vunsunta
GTA IV convert ------------------- Pro Racer
GTA IV promo images/video -------- Pro Racer


---PS---
Well there's my first weapon mod. Hope you enjoy it! If you find any bugs, let me know - I will do my best to fix them!


