Oh my gosh, never image that it has this convenient function, thank you bro!ah you can use the anim CHARGE for that:
CHARGE {players}
- Optional.
- Despite its name, this animation is not related to CHARGEATTACK at all.
- This animation is executed by holding special and jump together. As long the buttons are held, the animation will play continuously.
- While playing, player's MP will be recovered at specified rate. The recharge rate is specified with 'chargerate' (see Entity's Header data above).
npcan this change to other buttons?
Okay, let it go.npBut for this, you would need to use script.
@oldyz Thanks for the suggestion! I will find that Night slashers 23A and try to learn about its buttons sequence. Ahh editing taunt animation and transform it to the MP charge is also a great idea, I understand your mean but how should I add the MP charge effect in the animation?@darkneo, how do you wish to do the KI charge? if you want to use jump plus attack, here is how...
to change the buttons, And or figure out how to change them, Night slashers 23A has a a button sequence that charges "jasmine's" MP, and another buttons squence that does an Aurora attack using attack plus jump.
if you manage to edit this functionalities for the sequence to do the attack Aurora and the Attack And Jump to do the MP charge, you will be closer to your answer.
Play around and see if you can manage to make your own button combos, or if you want to sue a single button, try editing the taunt ani,ation itself and transform it to the MP charge
the mp charge effect is done by script,@oldyz Thanks for the suggestion! I will find that Night slashers 23A and try to learn about its buttons sequence. Ahh editing taunt animation and transform it to the MP charge is also a great idea, I understand your mean but how should I add the MP charge effect in the animation?
@script
void self = getlocalvar("self");
void vAniPos = getentityproperty(self, "animpos");
void target = findtarget(self);
void eAniID = getentityproperty(target, "animationID");
float x1 = getentityproperty(target, "x");
float x2 = getentityproperty(self, "x");
float z1 = getentityproperty(target, "z");
float z2 = getentityproperty(self, "z");
if(frame == 0){
if(eAniID == 5 || eAniID == 6){
if(z1-z2<20 && z1-z2>-20 && x1-x2>-80 && x1-x2<80){
if(playerkeys(getentityproperty(self, "playerindex"), 0, "movedown")){
changeentityproperty(self, "animation", openborconstant("ANI_FREESPECIAL11"));
}
}
if(z1-z2<20 && z1-z2>-20 && x1-x2>-100 && x1-x2<100){
if(playerkeys(getentityproperty(self, "playerindex"), 0, "moveup")){
changeentityproperty(self, "animation", openborconstant("ANI_FREESPECIAL14"));
}
}
}
}
@end_script
@oldyz I have downloaded the Night Slashers 23A and tried the game, first I need to say the new version is excellent because it has so many action animations and I love them. I use the Sublime text to help check Jasmine's freespecial and yes she has one can charge the mpfull. So now I can decide my own buttons sequence and the charging animation mix together. Thank for your great support and wish you has a good day!the mp charge effect is done by script,
if the animation has something like :
@cmd supercharge (cant recall the exact name), this means that Jasmine´s animation is calling on a script included in player.c
if instead you see something like this:
Code:@script void self = getlocalvar("self"); void vAniPos = getentityproperty(self, "animpos"); void target = findtarget(self); void eAniID = getentityproperty(target, "animationID"); float x1 = getentityproperty(target, "x"); float x2 = getentityproperty(self, "x"); float z1 = getentityproperty(target, "z"); float z2 = getentityproperty(self, "z"); if(frame == 0){ if(eAniID == 5 || eAniID == 6){ if(z1-z2<20 && z1-z2>-20 && x1-x2>-80 && x1-x2<80){ if(playerkeys(getentityproperty(self, "playerindex"), 0, "movedown")){ changeentityproperty(self, "animation", openborconstant("ANI_FREESPECIAL11")); } } if(z1-z2<20 && z1-z2>-20 && x1-x2>-100 && x1-x2<100){ if(playerkeys(getentityproperty(self, "playerindex"), 0, "moveup")){ changeentityproperty(self, "animation", openborconstant("ANI_FREESPECIAL14")); } } } } @end_script
it means that the increase was made using inline script
Inline scripts can be made into @cmd and viceversa, and its best practice to use @cmd's
at least in my case i find it easier to make experiments using inline codes.
a warning , it seems that you are going to have to seek the animations i mentioned, because for some reason i seem to have made almost no notes for jasmine -
usually any changes i made are marked with #new 2021 #new 2022 or #new 2023
maybe the chronocrash modders tool will be of great aid for figuring out which anaimations are the mp charge and the other one,
(this machine dislikes the tool, so i still rely on notes and checking animations using an image gallery program)
anyway, i mentioned jasmine because she has the more supersayan like animation charge and attack