Jump to content

Item Quality Degradation


Zilox

Recommended Posts

Overview

This mod adds item degradation to guns, melee weapons, tools and armor. Each time an item is repaired it has a 50% chance to degrade by one level. Mod slots will also downgrade accordingly, any mods that no longer have space will be added to the players backpack or dropped on the ground if the inventory is full.

 

DOWNLOAD

 

Installation Notes
Note: This mod needs to be installed on both client and server for multiplayer. EAC MUST BE OFF!

 

Modding Info
Modder's can also use this mod to add item degradation to their own mods, as follows.

 

How many quality levels the item degreades by on repair
<property name="RepairDegradeAmount" value="1"/>

 

The probability that the item will lose a quality level/levels on repair.
<property name="RepairDegradeChance" value="0.5"/>

 

Will the item break after its repaired at quality 1.
<property name="RepairQualityOneBreaksAfter" value="false"/>

 

Set the minimum degrade amount for items with this cvar.
<triggered_effect trigger="onPerkLevelChanged" action="ModifyCVar" cvar="minDegradeAmount" operation="set" value="4">

 

onSelfItemRepaired has been hooked up and can be used to trigger game events and triggered effects.
<triggered_effect trigger="onSelfItemRepaired" action="AddBuff" buff="someBuffName"/>

 

DegradeOnRepairIcon.jpg.3ec796d80f0b327c0e664c533c9a68e1.jpg

Edited by Zilox
Update tags (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Thanks for this!
Is there a similar mod for weapons and gear that, reduces stats, effectiveness, damage, etc the more damaged it is (durability loss)? 
I know the drone weapons mod has it but I could've sworn there was a mod that did the same and now I can't seem to find it anywhere.
Starting to wonder if I'm blending games together or just imagining it now...

Link to comment
Share on other sites

1 hour ago, Brugas said:

Thanks for this!
Is there a similar mod for weapons and gear that, reduces stats, effectiveness, damage, etc the more damaged it is (durability loss)? 
I know the drone weapons mod has it but I could've sworn there was a mod that did the same and now I can't seem to find it anywhere.
Starting to wonder if I'm blending games together or just imagining it now...

Not that I've seen.

Link to comment
Share on other sites

I mean technically SCore does that reduced damage as the durability goes down effect if you toggle it on in the configFeatureBlock. 

Really cool idea this is Zilox. Will have to give this a try.

Link to comment
Share on other sites

11 hours ago, magejosh said:

I mean technically SCore does that reduced damage as the durability goes down effect if you toggle it on in the configFeatureBlock. 
 

Oooo... I will have to look into this and whether it can be applied to all weapon types with durability or per modlet.
Thanks for the info.

Link to comment
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
×
×
  • Create New...