YesNoOk
avatar

Fighter Factory throw creator (Read 1405 times)

Started by clus, October 22, 2007, 05:52:55 am
Share this topic:
Fighter Factory throw creator
#1  October 22, 2007, 05:52:55 am
  • avatar
  • *
I just downloaded a recent version of fighter factory, and it has this throw creator thing. May be the other one had it too, but im trying to put my throwing move together and when i test it out in mugen, the opponent just stands there when i walk up to her to execute the move. I've been trying to figure it out all day long, anybody have any suggestions?
Re: Fighter Factory throw creator
#2  October 22, 2007, 10:46:51 am
  • ******
Did you use a type = targetstate ? Does it have a correct trigger ? Did you put an hitdef to even have a target at all ?
We just can't help if you don't post your code.
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.
Re: Fighter Factory throw creator
#3  October 22, 2007, 08:09:09 pm
  • avatar
  • *


Where it says [State 810,  Bind 1] I put the opponent in the position of (-5,-2) to be grabbed on the throw attempt.
Re: Fighter Factory throw creator
#4  October 22, 2007, 08:30:54 pm
  • ******
  • [E]
    • Mexico
i hope the stateend bit still continues, can one take a look at state 821?
Re: Fighter Factory throw creator
#5  October 22, 2007, 09:11:22 pm
  • ******
You don't have any hitdef.
For targetbind / TargetLifeAdd / [anything related to target] to work, you need to have a target.
To have a target, you need a successful hit.
For throws, you first code a hitdef. Look it up in the docs, it's better than just using the default from Fighter Factory, since throws need specific things. (note that the lines p2stateno and related in the hitdef block are getting obsolete and a "type = targetstate" like what you did is usually preferred)
Then, you can code a TargetState triggered by "NumTarget". And when you're sure the target is in the correct state, you can safely use targetbind/targetlifeadd.
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.
Re: Fighter Factory throw creator
#6  October 22, 2007, 09:32:12 pm
  • avatar
  • *
im going to take a snapshot of the rest of the the list.
Re: Fighter Factory throw creator
#7  October 22, 2007, 09:44:46 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You can in fact copy paste the text into your post and use the [ code ] tags.

Another problem, ignoring your throw hitdef not being there, is your trigger

animelem = 1 is only true for 1 tick. Your opponent will be bound for that tick and then be dropped. If your custom state is coded right, he'll also fall out of his custom state.

Make use of targetbinds "time" parameter if you're going to use that trigger.


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.
Last Edit: October 22, 2007, 09:59:13 pm by Cyanide
Re: Fighter Factory throw creator
#8  October 22, 2007, 10:02:02 pm
  • ******
Quote
animelem = 1 is only true for 1 tick.
Depends on how long the elem 1 of his anim lasts, but I'm nitpicking.
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.
Re: Fighter Factory throw creator
#9  October 22, 2007, 10:27:32 pm
  • avatar
  • *







Last Edit: October 22, 2007, 10:36:45 pm by clus
Re: Fighter Factory throw creator
#10  October 22, 2007, 10:40:44 pm
  • avatar
  • *
This is what the throw creator put in my cns file. Its State 800 through 821 and I know its still kind of hard to see, but if you look on the second box where it says [State 810, Bind 1] thats where i begin the throw. If I need to, where do I add the type = hitdef?
Re: Fighter Factory throw creator
#11  October 22, 2007, 11:12:21 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Quote
Depends on how long the elem 1 of his anim lasts, but I'm nitpicking.
Well if it lasts one tick, then yes animelem = 1 will be true for the whole frame. If it lasts 5 ticks my statement holds true. From the Docs.

Quote
trigger1 = AnimElem = 2
    True on the first game-tick that the player's animation
    is on element 2. Is equivalent to saying:
      trigger1 = AnimElem = 2, = 0

I see nothing HUGELY wrong with that although it's got lots of little small problems.

Got a red hitbox on anim 800? Have you created a changestate in the .cmd for this attack?


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.
Re: Fighter Factory throw creator
#12  October 22, 2007, 11:20:49 pm
  • avatar
  • *
WOW, thanks. I just added one to the begin action 800, and it did the attack, thanks again.
Re: Fighter Factory throw creator
#13  October 23, 2007, 01:05:54 am
  • ******
Quote
From the Docs
Oh, animelem = 2 is only the first tick of... damn, never noticed :embarassed2:
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.