Final fantasy type attacks..

Started by Iori Fue, January 22, 2008, 11:09:34 AM

Previous topic - Next topic

Iori Fue

im looking forward to making a final fantasy type character.. (shinryu like) how would i o about doing this?

Cybaster

Mind being more specific ?

What do you want to implement ? Damage numbers when you attack ? Active Time Battle ?

Byakko

How to make a character ? Easy : learn to make it.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

Iori Fue

i want to make active time battle.. numbers when i attack and maybe make an attack select screen thing lol  :sugoi:

Bastard Mami

i see.. do you plan it for a full game, or just one char that will be plugged in mguen normally?

Iori Fue

normal mugen.. and for the attack screen.. the other player can attack while your choosing thatd be fair  ;)

Bastard Mami

sounds interesting; so basically what will be done is.

your character will have a bar that will fill up with time, once it fills up your character can attack, when the attack hits, the damage is shown.

Iori Fue

yep! ill be able to figure out how to do the bar thing by myself maybe.. lol but i dont have a clue about the damage thing  :S :-\

Bastard Mami

funny,the damage seems to be the easiest of the bunch, you just need to set up 10 animations, for digits 0 to 9, then use some explod if your movehits, based on the amount of damage the oponent receives. but let's code one thing at a time and you should get  started and gofor the first thing.

Iori Fue


Iori Fue

hmmmmm
how do i code the time thing?? lol
ok i made a helper that creates an explod as a constant [-3] but idont know how to make my guy only able to attack when the time is up..

Cybaster

Maybe set a variable to 0 when the ATB bar is not full, and set it to 1 when you're ready to attack.
Then, rewrite the common.cns in your states, redirecting all the basic moves to stance if var=0. Do the same for all moves in the CNS.

Concerning number display, not so hard, but :
http://mugenguild.com/forumx/index.php?topic=43756.msg264665#msg264665
and http://mugenguild.com/forumx/index.php?topic=43756.msg264679#msg264679

Iori Fue

so itll make my character stay in his idle state? (thanks for the help)  :sugoi:

Bastard Mami

imho, i would make the active time a var, something like:

st-2
trigger1= varX < 100; amount of ticks for the bar to charge up
varX = varX+1

explod
xscale = width * varX/100.0

the explods, for a final fantasy like thing would be two. one for the borders of the AT bar, and the at bar itself, only the second explod would scale itself in X.

if the var thing is solved, we should proceed to the next step, which can be either the damage numbers or the way you want your character to play.
the cmd file would be very different, depending on how you want your character to behave.



Iori Fue

hmmmmm.. its getting easier by the second haha.. uhh i wont be able to post/make him for a little while (1-2 weeks) because of some stuff ive done.. and being a teenager getting kickd out of my house by my mum.. haha thanks for the help.. im glad you guys could mentor me for so much up to this point.. thanks again.. be back soon (i hope)

[djfue}}

Iori Fue

Quote from: R[E]ika on January 24, 2008, 05:43:57 PM
st-2
trigger1= varX < 100; amount of ticks for the bar to charge up
varX = varX+1

explod
xscale = width * varX/100.0

ok im back XD so does the "< 100" mean itll take 100 ticks to fill up?

Iori Fue

#16
EDIT.. fixed my last problem thing.. but now when i test my character the bar shows up instantly (nno scaling whatsoever)


Bastard Mami

and happynness ?

the <100 means it will stop filling up when it gets filled up.

post your current explod code and var counting code. currently i suggest using a fvar for counting instead of  an int var.

Iori Fue

[state -2, explod]
type = Explod
trigger1= var(1) < 100
anim = 10001
ID = 99000
pos = 80,230
postype = left
xscale = width * var(1)/100.0
ontop = 1


[state -2, explod]
type = Explod
trigger1 = 1
anim = 10000
ID = 99001
pos = 80,230
postype = left
scale = .85,1
ontop = 1


i odont know how to do the variable =\ in state -2 do i put a varset? with the var1 = var1 +1?