KingAlpha Posted June 4, 2020 Share Posted June 4, 2020 Hi, I'm a total newbie to modding. I'm creating a weapon that only usable when reached 100% and slowly decrease durability as times goes. Now I'm trying to make it recharge itself from 0% but seems stuck and couldn't find away. If anyone can help me with a line of codes or some suggestion that would be great. Thank you all very much!!! Link to comment https://forums.kleientertainment.com/forums/topic/118783-help-weapon-that-recharge-itself-overtime/ Share on other sites More sharing options...
myxal Posted June 6, 2020 Share Posted June 6, 2020 On 6/4/2020 at 8:34 AM, KingAlpha said: slowly decrease durability as times goes. How exactly did you implement this? Time-based durability screams "perishable component" and if that't the case, then recharge can be simply changing the localPerishMultiplier to a negative value. 1 Link to comment https://forums.kleientertainment.com/forums/topic/118783-help-weapon-that-recharge-itself-overtime/#findComment-1340303 Share on other sites More sharing options...
KingAlpha Posted June 8, 2020 Author Share Posted June 8, 2020 Thank you for your reply. I have worked my way around it to avoid the complication of this. It's way too complicated for my modding skills right now. Link to comment https://forums.kleientertainment.com/forums/topic/118783-help-weapon-that-recharge-itself-overtime/#findComment-1340664 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now