Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] how to make a double dvx at an attack?
#1
get to the point cus i'm in hurry with my char....
i want to make his ground crush hitting the opponent and cause 2 dv in different area but how?
clearly:
when my char do his ground crush the behind enemy will be activated dvx -10 and in the front enemy will be activated dvx 10

note: i'm not using any opoint in this move.
Reply
Thanks given by:
#2
rofl, make two itrs, one from -50 to 0 using a neg dvx, the other from 0 to 50 using a positive one :p (of course your center of the attack is not 0, but I think it shouldn't be ahrd for you to correct this :p)
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#3
And for future use, each frame can have 10 itr + bdy just in case you want some more special effect like that.
Reply
Thanks given by:
#4
(04-30-2009, 12:21 PM)MH-Razen Wrote:  rofl, make two itrs, one from -50 to 0 using a neg dvx, the other from 0 to 50 using a positive one :p (of course your center of the attack is not 0, but I think it shouldn't be ahrd for you to correct this :p)

but... what about firen's explosion? look at this data:
    DC-Code:
<frame> 109 explosion
   pic: 48  state: 3000  wait: 1  next: 110  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 110 explosion
   pic: 34  state: 18  wait: 1  next: 111  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 23  y: 36  w: 112  h: 110  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 125  zwidth: 37  
      effect: 22  
   itr_end:
<frame_end>
 
<frame> 111 explosion
   pic: 35  state: 18  wait: 1  next: 112  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 20  y: 16  w: 122  h: 135  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 125  zwidth: 37  
      effect: 22  
   itr_end:
<frame_end>
 
<frame> 112 explosion
   pic: 36  state: 18  wait: 1  next: 113  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 19  y: 18  w: 127  h: 131  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 125  zwidth: 37  
      effect: 22  
   itr_end:
<frame_end>
 
<frame> 113 explosion
   pic: 37  state: 18  wait: 1  next: 114  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 7  y: 16  w: 146  h: 132  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 125  zwidth: 37  
      effect: 22  
   itr_end:
<frame_end>
 
<frame> 114 explosion
   pic: 38  state: 18  wait: 1  next: 115  dvx: 0  dvy: 0  centerx: 78  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 13  y: 13  w: 137  h: 132  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 125  zwidth: 37  
      effect: 22  
   itr_end:
<frame_end>
 
<frame> 115 explosion
   pic: 39  state: 18  wait: 1  next: 116  dvx: 0  dvy: 0  centerx: 78  centery: 155  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 7  y: 14  w: 145  h: 117  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 125  zwidth: 37  
      effect: 22  
   itr_end:
<frame_end>
 
<frame> 116 explosion
   pic: 40  state: 18  wait: 1  next: 117  dvx: 0  dvy: 0  centerx: 78  centery: 157  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 15  y: 6  w: 128  h: 123  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 125  zwidth: 37  
      effect: 22  
   itr_end:
<frame_end>
 
<frame> 117 explosion
   pic: 41  state: 18  wait: 1  next: 118  dvx: 0  dvy: 0  centerx: 78  centery: 164  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 15  y: 6  w: 128  h: 123  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 125  zwidth: 37  
      effect: 22  
   itr_end:
<frame_end>
 
<frame> 118 explosion
   pic: 42  state: 18  wait: 1  next: 119  dvx: 0  dvy: 0  centerx: 78  centery: 171  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 119 explosion
   pic: 43  state: 18  wait: 1  next: 120  dvx: 0  dvy: 0  centerx: 78  centery: 177  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 120 explosion
   pic: 44  state: 18  wait: 1  next: 1000  dvx: 0  dvy: 0  centerx: 76  centery: 172  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

i've tried his explosion and it works perfectly... and it only has one itr...
Reply
Thanks given by:
#5
ever thought that the effect 22 may cause this?
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#6
sry... i don't know about that:(

ok lemme show the data
    DC-Code:
<frame> 307 Ground-Crush
   pic: 236  state: 3  wait: 4  next: 308  dvx: 0  dvy: 0  dvz: 0  centerx: 37  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 308 Ground-Crush
   pic: 237  state: 3  wait: 1  next: 309  dvx: 0  dvy: 0  dvz: 0  centerx: 37  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 309 Ground-Crush
   pic: 238  state: 3  wait: 1  next: 310  dvx: 0  dvy: 0  dvz: 0  centerx: 37  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 310 Ground-Crush
   pic: 239  state: 3  wait: 1  next: 311  dvx: 0  dvy: 0  centerx: 86  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 5  y: -10  w: -200  h: 100  dvx: -16 dvy: -20  fall: 70  vrest: 300  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
   itr:
      kind: 0  x: 5  y: -10  w: 200  h: 100  dvx: 16 dvy: -20  fall: 70  vrest: 300  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
<frame_end>
 
<frame> 311 Ground-Crush
   pic: 240  state: 3  wait: 1  next: 312  dvx: 0  dvy: 0  centerx: 83  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 5  y: -10  w: -200  h: 100  dvx: -16 dvy: -20  fall: 70  vrest: 300  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
   itr:
      kind: 0  x: 5  y: -10  w: 200  h: 100  dvx: -16 dvy: -20  fall: 70  vrest: 300  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
<frame_end>
 
<frame> 312 Ground-Crush
   pic: 241  state: 3  wait: 1  next: 313  dvx: 0  dvy: 0  centerx: 91  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 5  y: -10  w: -200  h: 100  dvx: -16 dvy: -20  fall: 70  vrest: 300  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
   itr:
      kind: 0  x: 5  y: -10  w: 200  h: 100  dvx: 16 dvy: -20  fall: 70  vrest: 300  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
<frame_end>
 
<frame> 313 Ground-Crush
   pic: 242  state: 3  wait: 1  next: 314  dvx: 0  dvy: 0  centerx: 91  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 5  y: -10  w: -200  h: 100  dvx: -16 dvy: -20  fall: 70  vrest: 300  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
   itr:
      kind: 0  x: 5  y: -10  w: 200  h: 100  dvx: 16 dvy: -20  fall: 70  vrest: 300  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
<frame_end>
 
<frame> 314 Ground-Crush
   pic: 243  state: 3  wait: 1  next: 315  dvx: 0  dvy: 0  centerx: 93  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 5  y: -10  w: -200  h: 100  dvx: -16 dvy: -20  fall: 70  vrest: 10  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
   itr:
      kind: 0  x: 5  y: -10  w: 200  h: 100  dvx: 16 dvy: -20  fall: 70  vrest: 10  bdefend: 16  injury: 50 zwidth: 26
   itr_end:
<frame_end>
 
<frame> 315 hiting
   pic: 244  state: 3  wait: 1  next: 999  dvx: 0  dvy: 0  centerx: 80  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 399 dummy
   pic: 0  state: 0  wait: 0  next: 0  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>


i've tried this but it doesn't work... really! wherever the enemy, when they're hitted they'll use dvx: 16
Reply
Thanks given by:
#7
uhhh, does the width actually work with a negative value?
why not edit your 'x' value instead?

oh, and check the dvx's of frame 311;)
Trust you're all well.
Reply
Thanks given by:
#8
simple reason:

I dont know how large the image is, but it'll definitly start at x: 0, so if your w goes to right and to left in the other itr, on itr works on the image, the other one in the air, so change it like this:

itr:
kind: 0 x: 0 y: -10 w: 100 h: 100 dvx: -16 dvy: -20 fall: 70 vrest: 300 bdefend: 16 injury: 50 zwidth: 26
itr_end:
itr:
kind: 0 x: 100 y: -10 w: 100 h: 100 dvx: 16 dvy: -20 fall: 70 vrest: 300 bdefend: 16 injury: 50 zwidth: 26
itr_end:

right now I set x: 100 as middle of the attack - to verify this I would need the image :p

edit: and listen to Magnamancy :p, he's 100% right, you couldnt reach another result then a bug like before ;)
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#9
i suppose negative widths dont work ...
use x: -195 w: 200 instead of x: 5 w: -200
Reply
Thanks given by:
#10
ok, screenies action!
Btw at frame 311 doesn't matter atm... cus the itr i tried are always at the 1st one:D
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)