Health Regeneration?

Users who are viewing this thread

Wh173c0c0

Recruit
Hi, I really love playing Warband and Brytenwalda, but I was wondering if there is a way to make a mod that allows the player to regenerate health slowly over time during battle. Like most people, I get sick of getting a javelin to the head at the start of a battle and having to hide in the distance like a coward until my men win the fight. I don't want to use cheats (and I know some people think health regen in general is a cheat, sure, but that's not what we're discussing), but I'd like to be able to even heal like one HP a second, or even every two seconds, just for those moments when the AI gets a really unfair hit on you.

I'm not asking for someone to go and make this mod for me, since I know it takes time, but is there any way I can integrate it into my own game? I saw a thread here- http://forums.taleworlds.com/index.php/topic,71175.msg1854456.html
that seems to say that I can add a regen ability, but I don't know anything about coding in this game. I know that regen health is possible, since I remember seeing it in Blood and Steel, but I'd like having it in this mod since it's one of my favorites. If anyone can help me understand how to add it to my game, I would be very grateful. Thanks for help in advance.
 
Quite funny that you would say that you want health regen when the developers of the mod actually put in a sort of "negative health regen" ie. blood loss.  Meaning that if you suffer a blow to the head early on, rushing the enemy might be the best idea for you as if you wait to long you will just bleed to death....

 
Yeah, I know it's kind of funny considering the whole blood loss feature, but I just wish there were a way to gain some health back just in case I take a really bad hit at the beginning of a huge battle. I don't have the time I used to to play, and it's really frustrating to lose a battle that has taken 20 minutes just because some jerk threw a javelin into my skull from one side of the castle to the other when I'm low on HP. I'd just like to have  some insurance without using flat out cheats, you know? I know lots of people think health regen is cheap, and I know it sort of is, I admit it. I just want to be able to play the game and enjoy it with the small amount of time I get to play, instead of wasting it because I got unlucky at the beginning of the fight. I don't even want some overpowered regen that makes you nigh invincible, that's way too cheap; I just want something that maybe gives me a little bit of health if I hang back for a while (even just 1 HP every 2 or 3 seconds even).

So if anyone knows how I can add it to my game, I would appreciate it a lot. Thanks.  :smile:
 
Reviving this post because the answer is right there. Whenever you kill an enemy you already recover a little health based on your strength. I think I saw the formula once, something like strength / 10 and some other terms on the equation.


Alternatively, you can turn bleeding into regeneration. (I did this on my own DIY mod and so far so good)

Go to scripts.txt and on the script "bleed" (line 1293 is the title, actual script is 1294)
find this:
32 2 1224979098644774915 0 1720 3 1224979098644774916 1224979098644774912 1 2106 2 1224979098644774916 1224979098644774915
replace that 2106 with a 2105 and boom.

Now instead of losing 1HP you gain 1HP :wink:



I also changed the text in quick_strings.txt to it doesn't say you lost hp:
In quick_strings.txt I changed: You_take_{reg0}_damage_from_blood_loss.
with Regeneration_activated.
 
Back
Top Bottom