More HP possibilitys, how? - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14) +---- Thread: More HP possibilitys, how? (/showthread.php?tid=10109) |
More HP possibilitys, how? - Inny - 10-23-2015 Hi, first up- Sorry if there is allready a theread that i overlooked but i didn´t find one in the Search menu. I want to give a Char more Hp (>500) but i don´t know how. My first idea was to let him spawn an invisible Heal balls on reaching "bleeding"-low hp and controll his HP by abdonning the MP for him compleatly and regulate it over the amount of healing/mp cost. EDIT: jeah ...my second idea was to let him have an instand Heal.... which was kind of stupid too... EDIT2: the more i think about it... the more sense it makes to give him and instand heal apon reaching low hp... But MP is something that regenerates which would give hime Stupid amount of health (esspecialy while beeing on low MP) is there a "better" way to give someone more HP / regulate the MP recovery for a single Char? Thanks in advance (yes this is for a projekt that i´m working on that has jet to little to show off :-P) RE: More HP possibilitys, how? - STM1993 - 10-23-2015 (10-23-2015, 11:08 AM)Inny Wrote: I want to give a Char more Hp (>500) but i don´t know how.Check the mainsite. Here's a link to one of the relevant articles you'd find useful. (10-23-2015, 11:08 AM)Inny Wrote: My first idea was to let him spawn an invisible Heal balls on reaching "bleeding"-low hpThere isn't a way to automatically detect your current HP level. (10-23-2015, 11:08 AM)Inny Wrote: But MP is something that regenerates which would give hime Stupid amount of health (esspecialy while beeing on low MP)There are ways to add/decrease MP for characters, but under data changing the things you can do for MP are limited, and MP regen rate is one of the limitations. MP regen is hardcoded into the game's lf2.exe file, you'd need to do HEX editting if you want to have perfect control over MP regen. For most characters, the formula for MP recovery rate is: (500-health)*0.01 + 1 ^ Translation: Minimum 1mp per 1 tu(1/30 of 1s) regen rate. You regenerate +1mp/tu faster every 100hp you lose, up to a maximum of 5mp/tu. (500/1,400/2,300/3,200/4,100/5) (500-health/2)*0.01 + 1 ^ For Julian/Firzen (id: 52,51). You regen 3mp/tu at 500hp, 4mp/tu at 400hp, 5mp/tu at 200hp. RE: More HP possibilitys, how? - Inny - 10-25-2015 (10-23-2015, 11:27 AM)STM1993 Wrote:(10-23-2015, 11:08 AM)Inny Wrote: I want to give a Char more Hp (>500) but i don´t know how.Check the mainsite. Here's a link to one of the relevant articles you'd find useful. Thanks for the link! Sorry for not cheking in earlier but i had tons of stuff on my hands... :-( Can´t I use a selftargeting Healball like johns that has an Hp limitation to use like Firens Explusion? atleast that was my first Idea... and to let it trigger on the walking frames... so that it would to apper as that that char has a ton(but still fixed) of health. EDIT: like still the max 500 but regen 200 at a fixed point so it would apear as 700 in total So the MAIN IDEA is like a "Boss" dragon that doesn´t need MP for skills and has more HP than others... but i don´t want it to have an Infinit amount of health or rather a controllable amount of health. as a char he can become wiered in a way, because i don´t want him to be playable... just... a boss... you know ^^ ... getting a little unconventional with things xD RE: More HP possibilitys, how? - Rhino.Freak - 10-26-2015 Use frame no. 0 to redirect himself where he hits himself with injury -200. The con is that you'll now have to remain with 3 stance frames. And also change next 999 and 0 to next 1. RE: More HP possibilitys, how? - Inny - 10-26-2015 well changeing frames and stance reduction is no problem i guess. buuuuuuut Is there a way to restrict a char from using skills... aside from MP and lowHp...i mean Is there a known way so that a char can only use a skill a set amount of times? ... EDIT: I mean he starts with 500 (as all do) and can heal himself for 200(in secret) so his total hp for the player looks/feels like 700 BUT if he heals again it´ll be 900... or if he manages to do it again, even 1100.... and thats what i want to prvent. hmmm What if i put manacost on the walking /standing frames... just enough to cancle out the mp regen... would that work? RE: More HP possibilitys, how? - Rhino.Freak - 10-26-2015 Oh so you want it to be a executable move where he can heal himself. Well it's easy to make it a "1 time move" only. In the initial frames of the move, give him a bdy at a special y (say y:1000), after this frame have him opoint an everlasting state:18 itr in the same special y (y:1000). So what'll happen is if he tries to do the move again, he'll get hit by the itr and get interrupted. RE: More HP possibilitys, how? - A-Man - 10-26-2015 Before you consider putting the mp tags in the basic frames, put in mind that the regeneration rate changes all the time. It should be possible to set an "ammo" count to a move using complex ik8 itrs/bdy pairs with special heights (special bdys). You need to know the following
What you need to do is:
I wanted to say "I hope I made it clear", but.. I just can't =(. But this little trick might come handy for when your characters go over 500, if you're working on a mod that is. RE: More HP possibilitys, how? - Inny - 10-27-2015 Oh I got that... and its genius O_O it´s like an anglerfish antenna that when it tuches somethin reakts xD... well now i don´t know if i made myself clear xD I gotta try this but sadly i don´t have time to do so till ... i guess friday(I study applied physics and its eating my life)... BUT I definitely will. that´ll be Fun I´m lookin forward to it. |