PowerClash!

Started by jailuis, November 23, 2009, 02:47:44 AM

Previous topic - Next topic

jailuis

Ok, I want to create a game where PowerCrash is in like in DBZ BT(1,2,3)...If someone plz can help me with that i would really  appreciate it...some of the codes I need..well not the code, the StateController, i need could be helpful too

Byakko

WTF is power crash
First, know exactly what it is you want to do. Describe what power crash does.
By the way, nobody is going to just give you the damn code with a snap of your fingers. We can help you set it up yourself, but we won't do it for you.
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.

Legendary DeMoNk@I

Quote from: jailuis on November 23, 2009, 02:47:44 AM
Ok, I want to create a game where PowerCrash is in like in DBZ BT(1,2,3)...If someone plz can help me with that i would really  appreciate it...some of the codes I need..well not the code, the StateController, i need could be helpful too


Im assuming you mean a state thats like the effect you see in old Samurai showdown game. You clash sword attacks then you have to hit the
button rapidly to win over the other apponent?......A-La DBZ super energy power struggle tug of war?

In order for the expert coders here to help ya more effeciently you have to be more specific. Food for thought ;)

jailuis

yeah...that is...and BTW I didnt ask for a Code..I asked for the state controllers I may use..I KNOW nobody want to create a hudge code and someone steal it!

Duo Solo

Quote from: Byakko on November 23, 2009, 03:28:31 AM
WTF is power crash
First, know exactly what it is you want to do. Describe what power crash does.
By the way, nobody is going to just give you the damn code with a snap of your fingers. We can help you set it up yourself, but we won't do it for you.
LOL, Byakko you are just too funny.

jailuis

ok, im gonna be more especifiq...

What I want to DO:

Its like on dbz when you shoot 2 KameHameHA at same time they clash and a minigame start, you need to press a button repeatly and the one that pushes the most wins...ok thats basicly what i want to do..

What I want YOU to tell me:

StateControllers that I may use to acomplish that...im not asking for a code...im asking for a way to do it..

Byakko

Count how many times you press the button using a varset / varadd, and see if you got more than the opponent.
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.

jailuis

ok but how do I get the powers to clash??

Byakko

Use type = MagicButton with the parameter what = powercrash.
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.

jailuis

-.-" that wasnt even funny...but what can I do if I DONT KNOW! i may use HitOverride Maybe..but maybe I dont, maybe I should create another state when NumHelperID is on a X distance...but I dont KNOW..IM SORRY, MY BAD..anything else that I missed?

Byakko

You're missing the fact that it's not just one state controller and that it's pretty much impossible to do on a normal Mugen because you need everyone to be compatible. You have to know that the enemy is doing this or that move, you have too know the distance between the two fireballs, you have to make a changestate for your helper while the opponent has detected it too and is doing the same, and then you can count how many times you hit the button, and you'll still have to know how many times the enemy did it.
That's why I said that the simplest way too do it is the magic button.
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.

jailuis

Im doing it for a project...I DONT CARE if its not compatible with anyone...at least ONE of my chars (ma main one) may have it...I dont care if others chars do it...I want MINE to do it..


Byakko

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.

jailuis

thats a simple state..but look...if I got 2 helpers, the ones that are going to crash...lets say they are 2 kiballs.. ok what do I need to do for them to clash? its hitoverride needed? do I need somehow to use the trigger NumHelperID....is there a way to dont use variables..(i dont know how to use them pretty good..if you got a tutorial it would be helful)

Byakko

TYPE = CHANGESTATE.
Hitoverride is also a possibility, yes, but in the end it's the same. One case detects when each attack hits, and the other detects when each attack gets hit. It's the same if booth hit at the same time.
Quote.is there a way to dont use variables
No. Not if you want to count how many times you press the button to check if you did so more than the opponent.
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.

jailuis

Thx I guess....I still dont gettit but I'll try to figure it out...(still confused about the need of variables)

BTW someone in here had a tutorial about sword clashes...it could help..do u know who was??

Byakko

A variable is a box in which you store a number to look at later.
Everytime you press the button, you add 1 to the value stored in the variable. Then when the clash ends,you look at how many times you pressed the button.
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.

jailuis

I gettit more or less.....but in order to achieve what I want I would need something like this?:

[State 1018, end]
type = ChangeState
trigger1 = p2stateno(x)
value = xxxx(state to change)
ctrl = 0 (1 or 0??)

New State:
Here I will have the variables and both players in a state...then when both helpers are in 0,0 in distance start the press Button...when one player reach the variable to 10 for example, p2 helper will be destroyed and my helper will contiue on his way...its that more or less??????


Byakko

The helper changes state when it hits the other fireball.
Quotectrl = 0 (1 or 0??)
Do you know what ctrl does... ? You don't want the helper to be able to, like, walk when you press forward. You only need to detect when you press the button.
Quotewhen one player reach the variable to 10 for example, p2 helper will be destroyed and my helper will contiue on his way
Yeah, but you can't tell the other helper to be destroyed. The other player needs to know when he has to destroy his helper.

The helper attacks, then comes into contact with the opponent's helper ; both helpers go into their own state where they clash and count the number of time you press the button ; when it's over, both look at how many times you pressed the button and compare (you'll already need to work to set up a system that will allow you to check the opponent's helper's variable, that's only possible in a full game). The one that wins go to the final part of the attack when it keeps going on, the other destroys itself.
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.

jailuis

and with projectiles is it possible or at least eassier?? cause if u want I can show u the sistem in game...but the way to do it its what i cant find :S