Breakable weapons

正在查看此主题的用户

Ragid313

Recruit
First off I don't have much modding experience, but I am willing to learn.
Basically my question is how hard would it be to implement a system so that weapons have hit points and can break?
I noticed that when you edit items they have a hit points field but it doesn't seem to do anything.

The main reason I want to have this feature is I am trying to get some basic level stuff done for a Stormlight mod (Brandon Sanderson). For anyone who has read the books (I have only read the first one so please no spoilers) there are special swords called shard blades that can basically cut through anything. My idea was that I would make a weapon that had a super high level of damage so that it would break any weapon that tried to block it (kind of like cutting it). By giving weapons really high hit points it will make sure they don't break when blocking other regular weapons. Basically I would like weapons to work just like shields.

So if anyone has any way to make this work that would be great, the more simple the idea the better but even if it can't be simple that's ok too
 
First, welcome to the modding community! If you are new to modding, this here will be a good start for you:
https://forums.taleworlds.com/index.php/topic,142422.0.html

The following are your new home then :wink:
https://forums.taleworlds.com/index.php/board,12.0.html
https://forums.taleworlds.com/index.php/board,64.0.html

One of the best tools Taleworlds forum can offer you, is the Search function  :lol:
With this you can for example find this OSP code with a weapon breaking trigger
https://forums.taleworlds.com/index.php/topic,127840.0.html
which should be what you are looking for^^

Also, the Q&A thread is a better place for such short questions:
https://forums.taleworlds.com/index.php/topic,6575.0.html
 
Thanks for the welcome. And thank you for the script, it isn't exactly what I was looking for but I think in the end what I should really try to do is just make the shardblade somehow have a 100% chance of doing the crush through block, and also make it work for side swings.
 
后退
顶部 底部