Character Creation problems

Started by Overweapon: Scythe, November 07, 2007, 06:41:07 PM

Previous topic - Next topic

Overweapon: Scythe

#20
Thank you! Readjusting now! :-*

Now yet a final problem:
Throw Trouble

(I think this has something to do with the error code like this other person's character:
Zero-00's King K-Rool character

)

I'm also giving him advice as you kind people are to me.

Anyway, my character's throw forces her enemies to do THEIR throw
animations and are unable to move, and has her go behind them and
left open for a manual attack, but this is not quite what I had in plan... :sweatdrop:

A dream carried out on my own.

Cyanide

Use changeanim2 in the custom state. Make up your own animation for the throw to use.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Overweapon: Scythe

Fixxed the Monotinous effects back to as 9999 had told me thanks to
R[E]ika for showing me how to use the trigger = stateno = *statenumber
function. ;P

Quote from: Cyanide on November 16, 2007, 01:56:30 AM
Use changeanim2 in the custom state. Make up your own animation for the throw to use.

I'll put that in check, I'm currently making some newer projectile sprites to
add an overdrive.

Minor question again (sorry!)
How do I make a move require energy to execute?

A dream carried out on my own.

Bastard Mami

add a triggerall = power >= number in the cmd, then use a poweradd wiht a negative value in the statedef.

Overweapon: Scythe

This way?

[State 9990, 1]
type = Projectile
triggerall = power >= 9990
trigger1 = AnimElem = 1
poweradd = -90
;.......

state 9990 is my large Fire Bolt spell.

A dream carried out on my own.

Cyanide

No.

CMD was said, that's a piece of .cns code.

you put the poweradd bit underneath the statedef part in the .cns to remove the power you just required.

You put the power > bit in the cmd for the CHANGESTATE.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Overweapon: Scythe

Hmm, that may be a tough one to arrange, I'll be looking into this later :S

Anyway as for now, is there a way that I can have at least a sound play on:

1-any counter attack
2-first attack
3-perfect victory

2nd, what do I do on attempt of having a projectile moving at a zero-velocity (NOT moving)
disappear at the end of it's animation? I think that this MIGHT be a good start for my
character's scythe weapon usage; use it like a projectile, but not moving, and disappear after
she swings it.

A dream carried out on my own.

Cyanide

Well rather than a projectile for that, i'd use explod. removetime = -2 is remove when animation finishes.

Quote1-any counter attack
Yes, state -2, detect if p2 is in an attack state with p2movetype. Play the sound if he gets hit, you may need a variable to remember he's in an attack state or not and turn it off when he's I or H. Thats state -2 as well.

Quote2-first attack
Yes, just save P2's hit status to a variable the first time he gets hit so it only plays once. In fact, if you want to use these 2, create a helper so you don't waste variables on fiddly things like this, ie helper does the sounds and uses it's own variable set.

Quote3-perfect victory
Piece of cake, just check your life when you're in the winpose. If life = lifemax then display explod, play sound whatever you need.



In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Overweapon: Scythe

#28
Hmm... trying this...
[State 49990, 1]
type = Projectile
trigger1 = AnimElem = 1
projanim = 49991
projhitanim = 3751
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
offset = 1,-40
velocity = 3
attr = S, SP
damage   = 75
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0
explod. removetime = -2

...damn, failed. correction of my errors please? :'(


for the win:

; Win pose 1
; CNS difficulty: basic
[Statedef 181]
type = S
ctrl = 0
anim = 180
velset = 0,0

[State 181, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S180,0
volume = 200
channel = -1
;lowpriority = -1
freqmul = 1.0
loop = 0
pan = 0
;abspan =
;ignorehitpause =
;persistent =

[State 181, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

;test for perfect

If life = lifemax
[State 181, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S10000,0
volume = 0
channel = -1
;lowpriority = -1
freqmul = 1.0
loop = 0
pan = 0
;abspan =
;ignorehitpause =
;persistent =


;----------------

A dream carried out on my own.

Cyanide

Dude, pseudocode. Don't plug things like that into mugen. I'm not going to write trigger1 every bloody time i give someone a useful bit of info...

Remove the projectile and use a hitdef instead. Then create an EXPLOD, it's an sctrl, mugen\docs\sctrls.rtf have a look. Create it when you would have created the projectile.

the life = lifemax = a trigger. Lifemax is for those people who feel the need to increase their characters health, otherwise you'd be using life = 1000.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Overweapon: Scythe

bleh, forget about it. sorry I bothered and pissed you off about it. :'(
I'll just leave it at her throwing it instead, or for a lame sprite editing
(which makes me the epitome of a very poor, unintelligent, helpless
creator of a mugen character, a shameful sight of the other users here.)

Again, I'm sorry for the pestering trouble.  :bigcry:

A dream carried out on my own.

Cyanide

No, you're learning. This is fine, although i probably should have changed down a gear when posting the original as you're really just getting into this.

Ok simple terms. Don't use a projectile for the scythe effect. It's really not neccessary and you have to deal with stuff like projhitanim and projremoveanim and all that gobbledegook. It's also going to ignore any hitpause your character has (or vice versa) and will look a bit odd.

Use an explod like so

[state 49990]
type = explod
trigger1 = animelem = 1
anim = 49991
bindtime = -1
removetime = -2
ignorehitpause = 0
ID = 10   ;Not really neccessary but worth adding
pos = 1,-40

Then at the same time make a hitdef (you've got the hang of these right?) with the same damage and vels as your projectile, use

sparkno = S3751
sparkxy = -10,-40
for the hitspark, it'll wind up looking the same but the explod does what you tell it much better than the projectile will. It also won't vanish or provide infinite priority.

Once more, not dissing you in any way, keep trying. If you're commited you'll get there, at best, consider this teething troubles.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Overweapon: Scythe

Hmm, now looking at the affectteam thingy...
I was wondering if that is the friendly fire effect?
...in case I decide to make something like a cure (negative damage effect) later on...

not saying that I plan on it now, but I'm wondering if that IS a friendly fire thing?

A dream carried out on my own.

tetsuo9999

WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx

Overweapon: Scythe

#34
ROFL! I made one of my attacks change into a overdrive that
requires some energy to fire! :sugoi:
This is her move:

(she's on the very far left; the catgirl with the green twintails hair)

Alrighty, now for THAT category, how do I make a image of the
character appear behind or above her (preferibly the one I used
for her large avatar in the character select on this case)?

A dream carried out on my own.

DemonicDrPhil

i think there is a super portrait tutorial in the code archive
Latest Yoshi alpha ready for feedback Aug 15th check here for details...

Overweapon: Scythe

#36
Didn't find it... :'(

Anyway, for presistance of A-I's agression...
does the projpriority = (1 to 7) work the same as
hitpriority (1 to 7), as in:

priority = 4, Hit         ;Attack priority: 0 (least) to 7 (most), 4 default

EDIT!!!:
also about sprpriority = (1 to 7) for her to taunt a LOT?

A dream carried out on my own.

Cyanide

Insert explanation of priority now.

Ignoring the hit miss dodge crap.

0 would be the lowest priority, if you have both clsn1 and clsn2 on your attack when you hit someone elses fist this will come into effect. 0vs0 = both will hit, 0vs1, 0 is going to miss and 1 will hit, and so on. As priority by creators is 100% random, some dont' do it, some do and vary their values, others don't bother with the clsn2's hence infinite priority, there's no real standard. 1 has been put forward as using priority = 4,hit i'd suggest going with that.

Projpriority is different. If you have 2 projectiles with a P in the hitflag and clsn2 boxes that come into contact with each other. The one with projpriority = 1 will be destroyed by the one with projpriority = 2, however after destroying projpriority = 1, projpriority = 2 will become projpriority = 1. Each time it takes a hit from something with lower priority it's priority will drop 1 point. If hit by something with higher priority it will be destroyed.

sprpriority is not an AI effect. It's purely for making 1 sprite appear above another, stops flames showing up behind your hand instead of in front, that sort of thing.

If you want more agressive AI, there are 2 ways to do it. Set up a custom AI or make use of a workaround for mugen's default that gives it the opportunity of more commands to activate. Say you have 4 commands in total. If you set up another 3 for one attack (same name different command setup) it will have a higher chance to occur in mugens activate random commands AI.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Overweapon: Scythe

Okay, but now I have problems with the (overdrive) Super Move sparks,
and animations of a face behind or above the character. Starting off:

[State 9990, SuperPause]
type = SuperPause
trigger1 = AnimElem = 8
time = 30
anim = 1
sound = S46,103
pos = 0,-20
;move
darken = 200
p2defmul = 200
poweradd = -1000
lifeadd = 1000
unhittable = 1
;ignorehitpause =
;persistent =

is being used for the overdrive effect. This one has some hit-sparks appear
in front of the girl just before she shoots her large firebolt. I added a new
overdrive sparks animation of my own to her spriteset, the number is 29230.
I change that (anim = 1) to (anim = 29230), but it showed nothing around her.
Because of that, I simply just changed it back to (1).
Also, I'm still a bit confused of how to add a image of the character behind her
just before she fires the powerful attack. Help Please?
(Lifeadd did nothing, so please ignore this for now)

A dream carried out on my own.

Rōjenomu

correct me if im wrong (sorry to butt in, Cyanide)
but lifeadd needs an [state] on it's own to work
type superpause is the state your working in now
lifeadd needs his own state because it's a different type of sctrl
same with poweradd

mugen works in little steps at a time see.
each part of the move is seporated in different steps (states) which all form the move itself

Spoiler (click to show)

QuoteLord Canti Says:
i was playing FFVII and I accidently named Red XIII Cyanide D: