Solved: New attack box question

msmalik681

OpenBOR Developer
Staff member

I am reviewing all my moves damage and thought I would update to the new attack boxes just got some questions.  Do attack box settings carry over so if I have 2 attack boxes with all the same settings just different size do i just need to change size x and y for the next attack box also for the new bboxes?  and if I want to end a attack box do i just set position x/y and size x/y to zero or is it just one or the other?


http://www.chronocrash.com/forum/index.php?topic=3077.msg41566#msg41566


I figured this out through trial and error and I have to say I MUCH preferred the old style attack boxes especially when making a animation with multiple attack boxes and I do not like the fact that when you set "attack.reaction.fall.force 1" you will also have to set "attack.reaction.fall.velocity.y" and "attack.reaction.fall.velocity.x" or they will immediately drop to the floor there should be a default value that resembles a normal knock down.


I will continue to use the new commands as I support the engine to move forward.
 
Oh ok no problem just to check is there any way these can be declared in 1 line like:



Code:
frame blah/blah.png
bbox.position.x 10 bbox.position.y 10 bbox.size.x 50 bbox.size.y 50
frame blah/blah.png


or



Code:
frame blah/blah.png
bbox.position.x 10, bbox.position.y 10, bbox.size.x 50, bbox.size.y 50
frame blah/blah.png
 
msmalik681 said:
Oh ok no problem just to check is there any way these can be declared in 1 line like:



Code:
frame blah/blah.png
bbox.position.x 10 bbox.position.y 10 bbox.size.x 50 bbox.size.y 50
frame blah/blah.png


or



Code:
frame blah/blah.png
bbox.position.x 10, bbox.position.y 10, bbox.size.x 50, bbox.size.y 50
frame blah/blah.png

No. Each attribute is another line.
 
quick question about the attack type command
Code:
attack.damage.type - Sets attack type. Same as {#} in attack{#}

does this cover attacks like shock and burn and will it accept 1 for just normal attack
 
Back
Top Bottom