Psykai
Well-known member
Hello ^_^ I hope I'm posting this in the right place. I've recently dove into trying to learn this engine and currently working on one of my characters. I've been trying to get her to float/levitate when pressing Jump in the air using the tutorial found here: http://www.chronocrash.com/forum/index.php?topic=1189.0
I had some trouble getting it working though. I copied across the scripts and keyscripts to the appropriate places and made sure her character file loads them and also copied the follow1 animation setup across (simply changing the frame paths to her floating sprites) so that I could make sure it worked before tweaking any of the numbers, but in-game she would simply freeze in the air for a second and drop down. For some reason changing her Jump Type to 7 7 (like Iron Man in the preview) instead of the 3 3 I had her at worked and allowed her to float briefly and be controllable but she still dropped down after only a second or so (without me pressing Jump). I noticed Iron Man's Jump animation was really long compared to hers and I'm not sure why I thought it might be related but I extended hers to be roughtly the same length and that allowed her to float properly (only cancelling if I hit Jump again). In other words, most of my achievements with her so far have been total accidents ^_^"
EDIT: Forgot I'd also changed the @cmd floater 48 to 120 to make it work too but again that shouldn't have to be the case if 48 was working fine for Iron Man ^_^"
She still seems to randomly lower herself once after beginning to float (like she drops in height slightly, but only once) but doesn't fall out of the animation all together, so it's manageable, though I'd still like to figure out why it didn't work properly and how I might be able to fine tune it ^_^"
What I would like though is for her MP to drain as long as she is using this floating animation and I can't for the life of me find anything about that in the manual. I looked through everything relating to MP but couldn't find anything relating to having animations drain MP as long as they're being performed. I heard it might require scripting for something like that but I'm not sure where to look for them ^_^" If someone could point me in the right direction and maybe give a pointer on how to use the script (I have zero experience with them) that would be great.
Somewhat related to this is that for her Block, she creates a magic shield around her and it can be held down indefinitely. I would like for this to also drain MP as long as it is active.
Hope I provided enough info ^_^ Any help is appreciated.
I had some trouble getting it working though. I copied across the scripts and keyscripts to the appropriate places and made sure her character file loads them and also copied the follow1 animation setup across (simply changing the frame paths to her floating sprites) so that I could make sure it worked before tweaking any of the numbers, but in-game she would simply freeze in the air for a second and drop down. For some reason changing her Jump Type to 7 7 (like Iron Man in the preview) instead of the 3 3 I had her at worked and allowed her to float briefly and be controllable but she still dropped down after only a second or so (without me pressing Jump). I noticed Iron Man's Jump animation was really long compared to hers and I'm not sure why I thought it might be related but I extended hers to be roughtly the same length and that allowed her to float properly (only cancelling if I hit Jump again). In other words, most of my achievements with her so far have been total accidents ^_^"
EDIT: Forgot I'd also changed the @cmd floater 48 to 120 to make it work too but again that shouldn't have to be the case if 48 was working fine for Iron Man ^_^"
She still seems to randomly lower herself once after beginning to float (like she drops in height slightly, but only once) but doesn't fall out of the animation all together, so it's manageable, though I'd still like to figure out why it didn't work properly and how I might be able to fine tune it ^_^"
What I would like though is for her MP to drain as long as she is using this floating animation and I can't for the life of me find anything about that in the manual. I looked through everything relating to MP but couldn't find anything relating to having animations drain MP as long as they're being performed. I heard it might require scripting for something like that but I'm not sure where to look for them ^_^" If someone could point me in the right direction and maybe give a pointer on how to use the script (I have zero experience with them) that would be great.
Somewhat related to this is that for her Block, she creates a magic shield around her and it can be held down indefinitely. I would like for this to also drain MP as long as it is active.
Hope I provided enough info ^_^ Any help is appreciated.