Weapon Condition
Version: 1.4
Author: Mr Wiggles
Date: May 17, 2010
Version History
- <Version 1.4> 5/17/10 - Fixed bug when un-equipping, Made weapons condition effect the sell value, Made a Repair shop to pay for repairs.
- <Version 1.0> 5/15/10 - Original Release
Planned Future Versions
- <Version 2.0> Armor conditions, more compatible with other scripts.
Description
You know in fall out and oblivion where the more you use your weapon the more it gets damaged, soon you are un-able to use it at all with out repairing it or getting a new one. This script does just that.
Features
- Change damage chance that will happen to the weapon in a percentage scale.
- Item, Shop, Battle, Equip windows have been edited to show a mini health bar of the weapons condition
- weapons of the same condition state are grouped together
- <Version 1.4> Weapons condition effects its sell value
- <Version 1.4> Repair shop to buy services to repair weapons
Screenshots
[spoiler]
Equip Window:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fscreensnapr.com%2Fu%2F61prhk.png&hash=24d5298acf45a2e907e750b3285d95f412f9135d)
Item Window:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fscreensnapr.com%2Fu%2Fr0axlj.png&hash=278bba89690096978e8903652f58fb028f1246fe)
Shop Window:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fscreensnapr.com%2Fu%2Fybj5ss.png&hash=84eca29b2adf1e8c6f36fcac8bfc667601852535)
Battle Window:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fscreensnapr.com%2Fu%2Ftaghhd.png&hash=9024a57c0cfdff1e5c34307b13214d9e01cf1738)
Repair shop:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fscreensnapr.com%2Fu%2Fpql09e.png&hash=2130d81410051f247153acfe107a2ec2ebdb78e4)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fscreensnapr.com%2Fu%2Fscxnta.png&hash=6d98325a45f2d1120292fa01a0b7c4de809f6016)
[/spoiler]
Instructions
Just paste above main, bellow all the default scripts, change some stuff in the script header and follow its instructions.
Script
Its in the demo.
Support
Post your questions / comments here.
Known Compatibility Issues
This script rewrites quite a few chunks of the Equip, Item, Battle, Shop Scenes so chances are that any script you have that changes those will not work.
Demo
Demo v1.4 (http://www.mediafire.com/?iwjyjittek3)
Author's Notes
You are free to take this script and edit it in any way you see fit, HOWEVER I still need to be credited as the original author some where.
Restrictions
Don't post this on any other forums with out my permission.
Awesome. Reminds me of Fire Emblem's Durability System. But I don't understand why you titled it "Weapon Condition".
Well eh, right now that's all it does, I might change it, and its weapon condition state.
I couldn't think of a good name.. :P
Looks good Wiggles! Durability scripts are hard to write though, since items aren't by default saved as individual instances. I haven't looked at the code or anything, but at the very least I congratulate the effort and the scenes you wrote look pretty, so nice work!
When you said that they weren't saved, i quickly checked to make sure that when you save / load your weapons are still there, they are. :D
Thanks modern.
Can you make each individual weapon have its own health? I have 2 bronze swords but with the same health. Though one should be new and the other should be damaged.
They do already, when a weapon is added into the inventory it makes a random condition of 70 - 90 points. Its also more likely to get a 70 then any other number. So this is why they have the same condition cause they do at the moment. when you start to use one its condition will lower and it wont be grouped with the other sword unless their conditions match again.
The download link doesnt seem to work
[fixed download link, updated script]
I like it ! *gives Mr_Wiggles a cookie*
*takes cookie*
any suggestions to add in the update? (other then add armor conditions)
This looks like an awesome script!
Out of interest, in theory should it work with battle scripts like BlizzABS (I mean the weapon degrading)?
yea, when i get the time im gonna make a version for XAS, i could also look into making one for blizz. (when i find the time that is)
it fairly easy to set up once you see how i have it configured, if you know scripting you could make it work. the weapon will be damaged when its used (just search in Blizz where the action key is and plug in the lower condition method i have in the script there) or you could wait till i find the time to do this.
Thanks for the reply. I think I'll wait until you can do it, seeing as I'm not that confident with scripting yet.