Jump to content

[TUT] Weapon Script Requests.


Recommended Posts

Here is my mac10 grenade launcher, the nades explode on impact. I will accept request, and will also answer questions.

 

WARNING! BACK UP weaponsinfo.xml BECAUSE YOU WONT BE ABLE TO PLAY ONLINE WITH EDITED DOC.

 

 

 

- <weapon type="MICRO_UZI">- <data slot="SMG" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="GRENADE" targetrange="500" weaponrange="500" clipsize="200" ammomax="5600" timebetweenshots="66"> <damage base="20" networkplayermod="2.0" networkpedmod="1.0" />  <physics force="40.0" />  <reload time="2266" fasttime="2266" crouchtime="2000" /> - <aiming accuracy="0.55"> <offset x="0.15" y="1.0" z="0.55" />  <crouchedoffset x="0.2" y="1.0" z="0.1" />  <reticule standing="0.75" ducked="0.6" scale="0.3" />  </aiming> <pickup regentime="240000" ammoonstreet="60" /> - <controller> <rumble duration="100" intensity="0.02" />  </controller>- <flags> <flag>GUN</flag>  <flag>CAN_AIM</flag>  <flag>ANIM_RELOAD</flag>  <flag>MELEE_BLADE</flag>  <flag>CAN_FREE_AIM</flag>  <flag>ANIM_CROUCH_FIRE</flag>  <flag>CREATE_VISIBLE_ORDNANCE</flag>  <flag>EXPLOSION_BASED_ON_IMPACT</flag>  </flags>- <projectile type="IMPACT"> <explosion type="GRENADE" />  </projectile> </data>- <assets model="w_uzi"> <anim group="gun@uzi" meleegroup1="firearm_core" /> - <effects> <muzzle fx="muz_smg" />  <shell fx="weap_ejected_smg" />  </effects> </assets> </weapon>

 

 

Enjoy biggrin.gif

Link to comment
https://gtaforums.com/topic/466143-tut-weapon-script-requests/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.