Sawed-Off Shotgun by Stan18

Model Anim and WeaponInfo from TLAD




1) Replace these lines in Weaponinfo.xml

	<weapon type="SHOTGUN">
		<data slot="SHOTGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="SHOTGUN" targetrange="35.0" weaponrange="35.0" clipsize="2" ammomax="160" timebetweenshots="1233">
			<damage base="30" networkplayermod="5.0" networkpedmod="1.0"/>
			<physics force="27.0"/>
			<reload time="1001" fasttime="1001" crouchtime="1001"/>

			<aiming accuracy="0.16" pellets="28">
				<offset         x="0.16" y="1.0" z="0.44"/>
				<crouchedoffset x="0.16" y="1.0" z="0.0"/>
				<reticule standing="1.4" ducked="1.4" scale="0.0"/>
			</aiming>

			<pickup regentime="240000" ammoonstreet="16"/>

      <controller>
        <rumble duration="200" intensity="1.0"/>
      </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>
				<flag>HIGHER_BREAK_FORCE</flag>
        		<flag>CAN_BE_USED_AS_DRIVEBY</flag>
     		</flags>
		</data>

		<assets model="w_shotgun">
			<anim group="gun@sawnoff">
				<rates firerate="1.0" blindfirerate="1.0"/>
			</anim>

			<effects>
				<muzzle fx="muz_shotgun"/>
				<shell fx="weap_ejected_shotgun"/>
			</effects>
		</assets>
	</weapon>

2) With OpenIV add "gun@sawnoff" to "anim.img" (pc/anim)

3) Go to common/data open "animgrp.dat" and add this line : "WeaponGroup( Streaming, gun@sawnoff )" under "WeaponGroup( Streaming, gun@uzi )"

4) Go to common/data open "default.ide" and replace this line : "w_shotgun, 		w_shotgun, 		gun@shotgun, 		1, 	50, 	0 "

by this one : "w_shotgun, 		w_shotgun, 		gun@sawnoff, 		1, 	30, 	0"

5) In "default.ide" replace this line : "w_shotgun,	   0,	CM_WEAPONS_SHOTGUN" by this line : "w_shotgun,	   0,	CM_WEAPONS_SAWN_OFF"



