Mr. Game & Watch Bucket - .CNS Coding help - Code Library - Blaze mugen forums
Tuesday, 2009-11-24, 1:36 Pm
Welcome Guest

Blaze M.U.G.E.N

Blaze mugen forums

[New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Blaze mugen forums » Code Library » .CNS Coding help » Mr. Game & Watch Bucket (Is it posible to do Mr. Game & Watch's Bucket Move?)
Mr. Game & Watch Bucket
Waluigi99Date: Friday, 2008-04-04, 7:07 Am | Message # 1
Training
Group: Users
Messages: 32
Reputation: 0
Status: Offline
It Catches 3 Projectiles in a bucket and it fills up a third each time and when its full he empty the full bucket on you as a another projectile, It Also Adds the damage of all the Projectiles together.

Waluigi
 
Sir_KillzalotDate: Friday, 2008-04-04, 12:49 Pm | Message # 2
MuGeN Expert
Group: Users
Messages: 349
Reputation: 12
Status: Offline
I do not know how to add up all the damages of the projectiles.

Nor do I have the knowledge how to tell the difference between a projectile/normal attack. Also, projectile attacks can sometimes be helpers causing more problem.

This type of attack might be possible and if not 100% possible most of it can be done. But it would take alot of coding and lots of trial and error.

 
Waluigi99Date: Sunday, 2008-05-11, 7:39 Pm | Message # 3
Training
Group: Users
Messages: 32
Reputation: 0
Status: Offline
How do you think I could do it as a charge Move. You have to hold it for 5 seconds and in fills up 1, 5 seconds for 2 bars and so on.
and how to make it so that when you stop it picks up ware it left off the next time you press the button? (please give code if you can)

Waluigi
 
Sir_KillzalotDate: Monday, 2008-05-12, 5:57 Pm | Message # 4
MuGeN Expert
Group: Users
Messages: 349
Reputation: 12
Status: Offline
just make a variable and use the varadd state to constantly add to the variable the longer you hold the button down. As soon as the variable (I will use x as an example) reaches whatever amount (example being like 1000) allow it to execute the attack ( for multiple levels just make it when reaches a higher amount (like 2000) activate second level attack).
 
Waluigi99Date: Monday, 2008-05-12, 7:05 Pm | Message # 5
Training
Group: Users
Messages: 32
Reputation: 0
Status: Offline
I don't know how to do that (sorry)

Waluigi
 
Sir_KillzalotDate: Tuesday, 2008-05-13, 3:22 Pm | Message # 6
MuGeN Expert
Group: Users
Messages: 349
Reputation: 12
Status: Offline
No problem. I will help you out with whatever you do not understand.

This is what varadd is...

[State (whatever state you are currently in), VarAdd]
type = VarAdd
trigger1 = time > 0 ;makes it so it will increase rapidly
v = 1 ;(any number between 0-59 using 1 as example) this is the varaible you are using
value = 1 (amount you want it to increase by using 1 as example) ;amount it increases by

and use this trigger to check the amount of the variable...

trigger1 = Var(1) => 100 ; may use >, <, = or a combination of them
trigger1 = Var(1) < 200 ;(this is used so attack doesn't activate during second level of attack))

May I ask if you want the charge to be mobile or fixed. (mobile meaning a charge that allows you to retain the charge after you are finished charging (like samus's charge beam) of fixed so the user cannot hold charge after moving (like Ike's neutral b move)

 
Waluigi99Date: Tuesday, 2008-05-13, 3:40 Pm | Message # 7
Training
Group: Users
Messages: 32
Reputation: 0
Status: Offline
like samus' charge beam
How do you make it so that when phase 1 is over it changes the sprite to the next sprite?
(the bucket has 2 bars and so on)

Added (2008-05-13, 3:40 Pm)
---------------------------------------------
Ware Do I Put the extra triggers?
trigger1 = Var(1) => 100
trigger1 = Var(1) < 200
(please give all code if you can)


Waluigi
 
Sir_KillzalotDate: Wednesday, 2008-05-14, 2:34 Pm | Message # 8
MuGeN Expert
Group: Users
Messages: 349
Reputation: 12
Status: Offline
Use a changeAnim state to show second and third level.

ex:

[State (whatever), ChangeAnim]
type = ChangeAnim
trigger1 != (whatever animation is)
trigger1 = var(whatever) >= 100 ;(can change to whatever value you want)
trigger1 = var(whatever) < 200 ;(can change to whatever value you want)
value = (whatever animation is)

This is also an example where those triggers come in (to identify what happens when you reach acertain level)

Also use this code to reset charge after you do the actual attack (not charge)...

[State (whatever), VarSet]
type = VarSet
trigger1 = time > 0 ;can change to whatever trigger to signal when the attack is over
v = (whatever)
value = 0

...and fianlly the actual charge attack itself (note will be different if it a projectile)...

[State (WHATEVER), 1]
type = HitDef
trigger1 = var(whatever) >= 100 ;(can change to whatever value you want)
trigger1 = var(whatever) < 200 ;(can change to whatever value you want)
(rest of code for hitdef)

use the two triggers I showed (change the values to your liking) to control which level of attack you are using.

 
Waluigi99Date: Wednesday, 2008-05-21, 5:25 Pm | Message # 9
Training
Group: Users
Messages: 32
Reputation: 0
Status: Offline
How come most of my moves don't hurt Master Hand?

Waluigi
 
Sir_KillzalotDate: Wednesday, 2008-05-21, 9:25 Pm | Message # 10
MuGeN Expert
Group: Users
Messages: 349
Reputation: 12
Status: Offline
It is probably the way of which master hand is coded. (or it is a problem with your character)

Message edited by Sir_Killzalot - Wednesday, 2008-05-21, 9:31 Pm
 
blazeincDate: Thursday, 2008-05-22, 11:20 Am | Message # 11
Admin
Group: Administrator
Messages: 377
Reputation: 13
Status: Offline
check how much life your master hand characters got and his defenecs. It should be somthing around 2000 or whatever. And the power of your character which is attacking it. They should be like life around 2000 and your characters attack should be around 50-200. Thats about right as a balance. If not then theres somthing wrong with your attacks or your master hand doesnt have any blue boxes (hit places).

|-| /\ |< |= R

 
Waluigi99Date: Thursday, 2008-05-22, 3:48 Pm | Message # 12
Training
Group: Users
Messages: 32
Reputation: 0
Status: Offline
Some of my moves hit and do damage. some don't and I want to know why.

Waluigi
 
blazeincDate: Thursday, 2008-05-22, 3:51 Pm | Message # 13
Admin
Group: Administrator
Messages: 377
Reputation: 13
Status: Offline
Check the hit def's

|-| /\ |< |= R

 
Waluigi99Date: Thursday, 2008-05-22, 4:37 Pm | Message # 14
Training
Group: Users
Messages: 32
Reputation: 0
Status: Offline
All of my moves hit every one else.
whats kind of moves don't hurt master hand

Waluigi
 
blazeincDate: Monday, 2008-05-26, 5:52 Am | Message # 15
Admin
Group: Administrator
Messages: 377
Reputation: 13
Status: Offline
i dont understand what you mean. The master hand is just like any other mugen character. If it was made properly it should be able to get hit from any other characters. If it dont then upload your character on the forums and i will have a look at how it was made and fix him.

|-| /\ |< |= R

 
Waluigi99Date: Wednesday, 2008-05-28, 8:53 Am | Message # 16
Training
Group: Users
Messages: 32
Reputation: 0
Status: Offline
ok

Waluigi
 
Blaze mugen forums » Code Library » .CNS Coding help » Mr. Game & Watch Bucket (Is it posible to do Mr. Game & Watch's Bucket Move?)
Page 1 of 11
Search:

Login form
E-mail:
Password:
Site friends
Site Admins
Blazeinc (A.K.A UrOz)
Our poll
which character series are the best for mugen
Total of answers: 1007
Created By UrOz | Blazeinc