YesNoOk
avatar

Problem with collision boxes (Read 606 times)

Started by Zambaku, January 20, 2009, 01:19:58 am
Share this topic:
Problem with collision boxes
#1  January 20, 2009, 01:19:58 am
  • avatar
  • **
I'm having problems getting collision boxes to work,I've managed to make 1 working attack on my character but for some reason the collision boxes in my other attacks dosn't seem to register.

I'm pretty new to these things so I don't know what info you guys need in order to help so just ask^^
[size=200]Want free stuff? Want a Rubik's Cube, videogame stuff and other cool things?[/size]Visit Cubelagoon!
Re: Problem with collision boxes
#2  January 20, 2009, 01:22:19 am
  • *****
reread the docs/kfm to get it
"I’m never gonna grab anything by its balls, especially life. especially if life shows up in the incarnation where it would have testicles. if life showed up and had balls, the last thing I would do is grab those balls" - kyle kinane
Re: Problem with collision boxes
#3  January 20, 2009, 01:43:30 am
  • ***
  • +1 to whoever added Godzilla to the main index.
Make sure the hitdef is active when you want it to connect.
i think we should call it an "engine" so we don't look like total idiots because otherwise we'd be arguing about a "game" and that would be somehow "dumber" than arguing about an "engine" on the "internet" for countless hours

Iced said:
I for one, do not enjoy round corners!  :bigcry:
But they hurt much less when we accidentally hit them!  :S
Re: Problem with collision boxes
#4  January 20, 2009, 01:48:23 am
  • avatar
  • **
Details please, I'm not that good x_x
[size=200]Want free stuff? Want a Rubik's Cube, videogame stuff and other cool things?[/size]Visit Cubelagoon!
Re: Problem with collision boxes
#5  January 20, 2009, 04:40:15 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
mugen\docs\tutorial. This would be an EXCELLENT starting place. Run with what it says from there.

Quote
Make sure the hitdef is active when you want it to connect.
If this doesn't make sense, you've got too far ahead of yourself. You need to know what you're doing before you try it. Part of that is understanding what does what.

A red clsn is known as a clsn1, this can hit the opponent
It can only hit the opponent if he has clsn2's which are blue
He cannot hit the opponent if the movetype of his state is not A
He cannot hit the opponent if the trigger for the hitdef occurs after the clsn1 has gone.


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: Problem with collision boxes
#6  January 20, 2009, 10:21:40 am
  • avatar
  • **
x_x

What do I edit in the codes?

None working attack code:
Code:
; Standing Medium Punch
; CNS difficulty: easy
[Statedef 210]
type    = S
movetype= A
physics = S
juggle  = 4
poweradd= 65
ctrl = 0
velset = 0,0
anim = 210

[State 210, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
[size=200]Want free stuff? Want a Rubik's Cube, videogame stuff and other cool things?[/size]Visit Cubelagoon!
Last Edit: January 20, 2009, 12:06:47 pm by Zambaku
Re: Problem with collision boxes
#7  January 20, 2009, 02:29:37 pm
  • **
Oh Every Attack Moves should have Hitdef
[mcode]Hitdef[/mcode]
 ;)
Thanks For Any Help!!!
Re: Problem with collision boxes
#8  January 20, 2009, 02:35:57 pm
  • avatar
  • **
Strange that it wasn't in the attack to begin with >_>

I added the line Hitdef into the attack but it gets stuck in a loop when I use it...Damn it's hard! >_<



Edit: Finaly, things are working! A million thanks to everyone that had patience enough to help me out! =D
[size=200]Want free stuff? Want a Rubik's Cube, videogame stuff and other cool things?[/size]Visit Cubelagoon!
Last Edit: January 20, 2009, 02:51:53 pm by Zambaku
Re: Problem with collision boxes
#9  January 20, 2009, 08:36:33 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Why should it be in the attack to begin with? Some people use other things. This is why you should be reading the DOCS as suggested. Read that tutorial. You've got it. Read it.


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: Problem with collision boxes
#10  January 20, 2009, 08:44:05 pm
  • *****
    • Mexico
I think he uses Elecbyte player template (cause it is not there to begin with).
If the "\docs\tutorial" is to "hard" or complicated, I suggest Cyanide's Narutorials. I started with those.
Re: Problem with collision boxes
#11  January 20, 2009, 08:49:16 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Your next step is to go into your fighter factory templates folder and DELETE THAT PIECE OF SHIT TEMPLATE.

You're going to get an error later. When you do, remember i told you so and delete the template so you never use it again. Kung Fu Man is a much much better set of files to start with.


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.