Solved question about MP charging.

Question that is answered or resolved.

DD Tokki

Well-known member
MP.PNG

When MP is charged, it charges in a stopping and rising pattern. I would like to know how to charge it in a slowly rising pattern.
 
MP charge is hardcoded. It applies the model's chargerate value (default 2) roughly twice per real world second. If you want to use different timing, you will need to script your own MP charge.

DC
 
MP charge is hardcoded. It applies the model's chargerate value (default 2) roughly twice per real world second. If you want to use different timing, you will need to script your own MP charge.

DC
I can do the drawings and other parts to some extent, but the script is immature and I desperately need help.😣
 
man, I don't know very much, I hope to help you!👇

anim freespecial29
@script
void self = getlocalvar("self");
int mp1 = getentityproperty(self,"mp");
void plyr = getentityproperty(self, "playerindex");

if(frame >= 8 && playerkeys(plyr, 0, "attack3"))
{
updateframe(self, 6);
}
@end_script
loop 0
delay 7
OffSet 9 115
sound data/sounds/xclark05.wav
Frame data\chars\tia\1_190-12.gif
OffSet 19 111
Frame data\chars\tia\1_190-13.gif
OffSet 34 99
@cmd mpgain 1 #Set the charging speed here
@cmd spawnbind "pwlv2" 9 0 1
Frame data\chars\tia\1_190-14.gif
Frame data\chars\tia\1_190-15.gif
Frame data\chars\tia\1_190-14.gif
Frame data\chars\tia\1_190-15.gif
delay 4
@cmd mpgain 1
@cmd spawnbind "pwlv2" 9 0 1
Frame data\chars\tia\1_190-14.gif
Frame data\chars\tia\1_190-15.gif
OffSet 28 100
Frame data\chars\tia\1_190-16.gif
 
Last edited:
man, I don't know very much, I hope to help you!👇

anim freespecial29
@script
void self = getlocalvar("self");
int mp1 = getentityproperty(self,"mp");
void plyr = getentityproperty(self, "playerindex");

if(frame >= 8 && playerkeys(plyr, 0, "attack3"))
{
updateframe(self, 6);
}
@end_script
loop 0
delay 7
OffSet 9 115
sound data/sounds/xclark05.wav
Frame data\chars\tia\1_190-12.gif
OffSet 19 111
Frame data\chars\tia\1_190-13.gif
OffSet 34 99
@cmd mpgain 1 #Set the charging speed here
@cmd spawnbind "pwlv2" 9 0 1
Frame data\chars\tia\1_190-14.gif
Frame data\chars\tia\1_190-15.gif
Frame data\chars\tia\1_190-14.gif
Frame data\chars\tia\1_190-15.gif
delay 4
@cmd mpgain 1
@cmd spawnbind "pwlv2" 9 0 1
Frame data\chars\tia\1_190-14.gif
Frame data\chars\tia\1_190-15.gif
OffSet 28 100
Frame data\chars\tia\1_190-16.gif
What effect does applying this script have?
 
Back
Top Bottom