disorder 344 Posted February 13, 2013 This is autohealing from a programmers perspective, lots of code here. The code takes a health fraction amount every second, calculated from the players current food value and then adds it up. Every 10 seconds the system adds this as blood.function tick_cycleif health_counter < 10 dobegin health_fraction = player_food_value / 1000 blood_heal_modifier = blood_heal_modifier + health_fraction health_counter + 1endelse if health_counter >= 10 dobegin player_current_blood = player_current_blood + blood_heal_modifier blood_heal_modifier = 0 health_counter = 0end1000 is a very small fraction, but since you are adding up to 12000 blood. It will take a very long time to full heal even at full food levels. 8 Share this post Link to post Share on other sites
intensity 157 Posted February 13, 2013 I love this. Beans for your work, and the idea. Share this post Link to post Share on other sites
Dancing.Russian.Man 1631 Posted February 13, 2013 I approve as well. For once. 1 Share this post Link to post Share on other sites
shadowleaper 22 Posted February 13, 2013 Great idea, I like the idea of healing over time. :) 1 Share this post Link to post Share on other sites
disorder 344 Posted February 13, 2013 Aw thanks, It's funny I actually did this as a working mod for GTA4 ages ago too. Share this post Link to post Share on other sites
mr_chabowski@live.co.uk 2416 Posted February 13, 2013 Just a thought,It'd be good to cap the regen, so you can't get more than +/- 75% of your health back without assistance.I know someone's going to tell me "it's not fair on lonewolves". but it's a multiplayer game. We can't bypass all player interaction.Communication has to be rewarded (with life) to discourage pure KoS mentality. 1 Share this post Link to post Share on other sites
intensity 157 Posted February 13, 2013 Just a thought,It'd be good to cap the regen, so you can't get more than +/- 75% of your health back without assistance.I know someone's going to tell me "it's not fair on lonewolves". but it's a multiplayer game. We can't bypass all player interaction.Communication has to be rewarded (with life) to discourage pure KoS mentality.I agree with this completely. 85% of the time, I play as a lone wolf, and I don't want to be gimped. Makes it more challenging. Share this post Link to post Share on other sites
disorder 344 Posted February 13, 2013 75-80% max cap seems reasonable 1 Share this post Link to post Share on other sites
beatSTV 631 Posted February 13, 2013 i agree nice idea and well thought out. 75% cap would make it fair as well Share this post Link to post Share on other sites
Raider (DayZ) 47 Posted February 13, 2013 Nice idea, i think it would work really well in game. Share this post Link to post Share on other sites