Welcome, Guest. Please login or register.

What openbor you prefer: Double dragon,battletoads or final fight !? by lirexpatrio
[December 07, 2012, 07:15:27 pm]


what are your favorite games OpenBOR?! by lirexpatrio
[December 07, 2012, 07:09:46 pm]


Post Some Awesome Videos by maxman
[December 07, 2012, 05:51:39 pm]


Can @cmd playmusic "aaaa" 1 also increse music sound ? by BeasTie
[December 07, 2012, 05:24:38 pm]


Streets of Rage: Silent Storm by mtrain
[December 07, 2012, 03:45:05 pm]


Site will be down for maintenance on 12/8/2012 thru 12/10/2012 by Damon Caskey
[December 07, 2012, 07:42:42 am]


Cancelled SOR 3d Remake by riccochet
[December 07, 2012, 03:58:33 am]


Dungeon Fighter: B.O.R. by msmalik681
[December 07, 2012, 03:24:27 am]


[TUTORIAL] How to create 4 Games of OpenBOR in 1 CD (650 MB) by magggas
[December 06, 2012, 09:46:25 pm]


custknife by Bloodbane
[December 06, 2012, 09:34:09 pm]


blockfx help by B.Kardi
[December 06, 2012, 04:09:14 pm]


street of age 4 hd by corradlo
[December 06, 2012, 01:41:36 pm]


ClaFan - Classic Fantasy ver 1.17 by soniczxblade
[December 06, 2012, 05:01:20 am]


Bug Archive by Bloodbane
[December 06, 2012, 02:00:44 am]


"Bio-Doom" and "Gears of Doom" by BulletBob
[December 05, 2012, 10:07:21 pm]


Contra Locked 'N' Loaded v2 by Bloodbane
[December 05, 2012, 09:39:43 pm]


Downloadable OpenBoR Manual by BeasTie
[December 05, 2012, 08:31:24 pm]


Having trouble testing changes by B.Kardi
[December 05, 2012, 03:05:53 pm]


DragonBall Absalon by msmalik681
[December 05, 2012, 02:52:13 pm]


[Hi-Res] Swamp by Vibrant
[December 05, 2012, 10:47:14 am]


  • Dot Guests: 8
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.



Author Topic: blockfx help  (Read 212 times)

0 Members and 1 Guest are viewing this topic.

Offline B.Kardi

  • Jr. Member
  • **
  • Posts: 15
blockfx help
« on: December 05, 2012, 09:16:11 pm »
Hey guys,

So i activated the block button in place of using a special and am currently fine tuning it by adding in the blockflash and blockfx properties. I was able to get the blockflash animation to start playing correctly on a successful block but for some reason the blockfx command is not working.

I double checked that the path was correct by changing "blockfx {path}" to "sound {path}" and sure enough when i press and hold the block button the sound plays on loop until i release it, but when I change it back to "blockfx" it doesn't make the sound on a successful block. I am not sure what I am doing wrong. If anyone can help that would be great!

Thanks guys!

Offline utunnels

  • Developer
  • Hero Member
  • *****
  • Posts: 2713
Re: blockfx help
« Reply #1 on: December 05, 2012, 09:25:31 pm »
Post your txt so it will be easier to find the problem.

Offline B.Kardi

  • Jr. Member
  • **
  • Posts: 15
Re: blockfx help
« Reply #2 on: December 05, 2012, 10:02:45 pm »
#Adding some blocking in here
anim block
   loop 1
   blockfx    data/sounds/guard.wav 
   bbox      61 33 42 58   
   blockflash   DBFlash
   delay   18
   offset   101 101
   frame   data/chars/ninjared/spec4.gif
   offset   101 105
   frame   data/chars/ninjared/spec5.gif
   offset   99 108
   frame   data/chars/ninjared/spec6.gif

Offline utunnels

  • Developer
  • Hero Member
  • *****
  • Posts: 2713
Re: blockfx help
« Reply #3 on: December 05, 2012, 11:07:28 pm »
Blockfx and blockflash should be attack commands.

That means you should put them in the attacker's attack instead.

anim attack1
   range   10 70
   loop   0
   delay   7
   offset   37 177
   bbox   27 82 31 95
   frame   data/chars/k/punch1.gif
   attack   57 81 43 15 12
        blockflash   DBFlash
        blockfx    data/sounds/guard.wav
   frame   data/chars/k/punch2.gif
   frame   data/chars/k/punch3.gif
   attack   0 0 0 0 0
   frame   data/chars/k/punch4.gif
   frame   data/chars/k/punch5.gif
   frame   data/chars/k/punch6.gif

Offline B.Kardi

  • Jr. Member
  • **
  • Posts: 15
Re: blockfx help
« Reply #4 on: December 06, 2012, 04:09:14 pm »
Ok gotcha, it worked! Thanks for the help!

 



 0%




SimplePortal 2.3.3 © 2008-2010, SimplePortal