Jump to content

Increase weapon damage?


Recommended Posts

Hai!

 

I have edited the WeaponInfo.xml, so that the unarmed part looks like this:

 

 

<weapon type="UNARMED"> <data slot="UNARMED" firetype="MELEE" damagetype="MELEE" group="PUNCH_KICK" targetrange="10.0" weaponrange="20.0"> 	<damage base="100000" networkplayermod="1.0" networkpedmod="1.0"/> 	<physics force="100000"/> 	<pickup regentime="0"/> 	<controller>   <rumble duration="60" intensity="0.23"/> 	</controller> 	<flags>   <flag>CAN_AIM</flag>   <flag>ARMOUR_PENETRATING</flag> 	</flags> </data></weapon>

 

 

But no matter how much I increase damage, force and range, it doesn't change anything in game.

What else do I have to do?

Link to comment
https://gtaforums.com/topic/389974-increase-weapon-damage/
Share on other sites

ThePinkPanzer
Hai!

 

I have edited the WeaponInfo.xml, so that the unarmed part looks like this:

 

 

<weapon type="UNARMED"> <data slot="UNARMED" firetype="MELEE" damagetype="MELEE" group="PUNCH_KICK" targetrange="10.0" weaponrange="20.0"> 	<damage base="100000" networkplayermod="1.0" networkpedmod="1.0"/> 	<physics force="100000"/> 	<pickup regentime="0"/> 	<controller>   <rumble duration="60" intensity="0.23"/> 	</controller> 	<flags>   <flag>CAN_AIM</flag>   <flag>ARMOUR_PENETRATING</flag> 	</flags> </data></weapon>

 

 

But no matter how much I increase damage, force and range, it doesn't change anything in game.

What else do I have to do?

edit the melee.dat file instead

Link to comment
https://gtaforums.com/topic/389974-increase-weapon-damage/#findComment-1058842526
Share on other sites

If I understand right you wanna make the peds "fly" when you hit(punch/kick) them, right?

here's what I did:

 

<weapon type="UNARMED"><data slot="UNARMED" firetype="MELEE" damagetype="MELEE" group="PUNCH_KICK" targetrange="10.0" weaponrange="1.6"><damage base="125" networkplayermod="1.0" networkpedmod="1.0"/><physics force="999.0"/><pickup regentime="0"/><controller><rumble duration="60" intensity="0.23"/></controller><flags><flag>GUN</flag>                                    <flag>CAN_AIM</flag><flag>ARMOUR_PENETRATING</flag><flag>HIGHER_BREAK_FORCE</flag></flags></data></weapon>

 

Link to comment
https://gtaforums.com/topic/389974-increase-weapon-damage/#findComment-1058842580
Share on other sites

  • 4 weeks later...

If you want to use "the force" for an air punch, try editing the radius data in the melee.dat file, I have not tried it for iv but this is how it could be done in previous versions of gta.

 

you will see most of the radius settings are quite low (0.4) , if you set them to say 30 then you can kill at a distance with your bare hands but it is not targeted so all peds within that radius will get punched biggrin.gif

Link to comment
https://gtaforums.com/topic/389974-increase-weapon-damage/#findComment-1058917892
Share on other sites

If you want to use "the force" for an air punch, try editing the radius data in the melee.dat file, I have not tried it for iv but this is how it could be done in previous versions of gta.

 

you will see most of the radius settings are quite low (0.4) , if you set them to say 30 then you can kill at a distance with your bare hands but it is not targeted so all peds within that radius will get punched biggrin.gif

reminds me of an RPG where you use your staff to make everyone around you fall to the floor.

Link to comment
https://gtaforums.com/topic/389974-increase-weapon-damage/#findComment-1058918340
Share on other sites

oh well , it used to work like that ,nvm ,maybe I should have tested before posting. gta-iv seems to have much more going on than the last 3 major titles which is making it mare challenging to mod but then there is so much more to play with, I love it !

 

(off topic ) eg. I just made a glock pistol that fires glock pistols! it's 100% futile

Link to comment
https://gtaforums.com/topic/389974-increase-weapon-damage/#findComment-1058924110
Share on other sites

@ Pixelated , yes that's where the file is but Dhatz is correct, it will not work as some form of collision is needed also melee.dat seems to be the exactly the same file from san andreas and it doesn't look like it has any effect in gta-iv ( so why is it there ? ) confused.gif I have tried some other ways to get a working air punch now using the weaponinfo file but other than my game hanging, the closest I got was punches and kicks making riccochet sounds and nobody fighting back. again im sorry if I got anyones hopes up but it is going to take some kind of e-ninja to work this one out... whatsthat.gif who dat ninja ?

Link to comment
https://gtaforums.com/topic/389974-increase-weapon-damage/#findComment-1058929364
Share on other sites

  • 1 year later...

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.