Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Whirlwind that moves with character
#1
Hi everybody I'm new here! Is it possible to create a whirlwind that moves with the character that created it and hurts everybody it touches? The character should also be able to jump out of the whirlwind and jump back in to gain control of it again.
Reply
Thanks given by:
#2
pretty much possible, your character needs a special bdy in every frame he has
(special bdys are bdys with a huge y-value so nothing can actually reach it)
f.e.
    DC-Code:
bdy:
     kind: 0 x: 10 y: 3000 w: 50 h: 69
bdy_end:


for the whirlwind you copy theone from freeze and add a ik8 (itr kind 8 ) to it on the same y-value as your special bdy
    DC-Code:
itr:
      kind: 8  x: 5  y: 3053  w: 65  h: 54  zwidth: 37  dvx: XXX
itr_end:


on the dvx you write the next framenumber the whirlwind should go (just like what the "next" says)


and actually that's it, should work I think
Reply
Thanks given by: Drahcir
#3
I did this, but now the whirlwind doesn't freeze or hurt enemies, it just throws them in the air.
Reply
Thanks given by:
#4
then you should also add this itr to it
    DC-Code:
itr:
      kind: 16  x: 15  y: 21  w: 128  h: 170  dvx: -12  dvy: -18  fall: 70  vrest: 100  bdefend: 16  injury: 75  zwidth: 30  
   itr_end:
Reply
Thanks given by: x90z75ek
#5
Thanks, it works now.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)