archimp Posted January 7, 2019 Share Posted January 7, 2019 I had raised head damage to 10. Can that other atteibute be 0? So badically u not make damage at all on other body? Link to comment Share on other sites More sharing options...
YerghaizVerot Posted January 7, 2019 Share Posted January 7, 2019 I suppose it depends on which method you are using to modify the damage. Personally, the way I'd go about it would be to just copy this: <passive_effect name="DamageModifier" operation="perc_subtract" value="1" tags="body"/> <passive_effect name="DamageModifier" operation="perc_subtract" value="1" tags="legs"/> <passive_effect name="DamageModifier" operation="perc_subtract" value="1" tags="arms"/> ...into an effect_group for each tool/weapon. That'd make it so only headshots did damage. There are probably less tedious ways to accomplish this, but this will at least achieve your goal. Link to comment Share on other sites More sharing options...
archimp Posted January 7, 2019 Author Share Posted January 7, 2019 Thank you, so i just add that end of that section of each weapon? Link to comment Share on other sites More sharing options...
YerghaizVerot Posted January 8, 2019 Share Posted January 8, 2019 well, the whole thing should look like this: <effect_group> <passive_effect name="DamageModifier" operation="perc_subtract" value="1" tags="body"/> <passive_effect name="DamageModifier" operation="perc_subtract" value="1" tags="legs"/> <passive_effect name="DamageModifier" operation="perc_subtract" value="1" tags="arms"/> </effect_group> ...but yes, you just add that to the end section of each weapon, and that *should* make it so that only headshots do damage. Link to comment Share on other sites More sharing options...
archimp Posted January 8, 2019 Author Share Posted January 8, 2019 Thank you.. I just ask clarification. U mean weapons or bullet arrows? Link to comment Share on other sites More sharing options...
YerghaizVerot Posted January 8, 2019 Share Posted January 8, 2019 For ranged weapons, you'll need to do that to the ammo, though *technically* adding it to the weapon itself should provide the same result. Link to comment Share on other sites More sharing options...
archimp Posted January 8, 2019 Author Share Posted January 8, 2019 For ranged weapons, you'll need to do that to the ammo, though *technically* adding it to the weapon itself should provide the same result. ok ty Link to comment Share on other sites More sharing options...
YerghaizVerot Posted January 9, 2019 Share Posted January 9, 2019 I was just looking through the tags, and it urns out that i had them wrong. the correct code wold be: <effect_group> <passive_effect name="DamageModifier" operation="perc_subtract" value="1" tags="upperbody"/> <passive_effect name="DamageModifier" operation="perc_subtract" value="1" tags="lowerbody"/> </effect_group> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.