» Sat May 28, 2011 11:10 am
Well I’m pretty busy with all the other stuff I’m working on but if you can wait a few days I can throw this together for you. The basic script will be a bit more complicated than it needs to be but it will allow for ingame tweaking through use of the console. Here’s what I’m thinking:
The script runs every minute and checks to see if you’re in combat. If Yes the script ends and nothing happens, if No then the script advances a counter. When the counter reaches a certain number, we’ll call it X, it activates the health regen. X can be whatever whole number you want (1, 5 , 10, 17, 42, 5280) and can be changed with the console. Just remember that it counts cumulatively, so if X is set to 10 you will not be required to spend 10 consecutive minutes outside of combat. Once the health regen is activated the total amount of health regained will be Endurance multiplied by Y rounded down. Y can also be set through the console to any whole number or fraction, but it will round down so don’t set it to 0.001 because it won’t ever do anything. Setting it to .5, 1, 2.5 or maybe even 5 would probably not get too over powered. Wherever you set X and Y, again both can be changed via console command) will be up to you, but by default I’ll have them set at X=5 and Y=1.
If you think that will work for your needs let me know.