Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My skill won't damage opponent
#1
This is pretty much the first oid skill I coded myself. I used another skill as template.
Thought when I use it ingame it shows up but doesn't do any damage.




<frame> 110 CHIDORI SWORD
pic: 19 state: 3005 wait: 2 next: 111 dvx: 0 dvy: 0 dvz: 0 centerx: 190 centery: 84 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0
<frame_end>

<frame> 111 CHIDORI SWORD
pic: 20 state: 3005 wait: 2 next: 112 dvx: 0 dvy: 0 dvz: 0 centerx: 190 centery: 169 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0
itr:
kind: 0 x: 18 y: 21 w: 13 h: 42 dvx: 2 dvy: 0 fall: 20 vrest: 10 bdefend: 30 injury: 5 effect: 1
itr_end:
<frame_end>

<frame> 112 CHIDORI SWORD
pic: 21 state: 3005 wait: 2 next: 113 dvx: 0 dvy: 0 dvz: 0 centerx: 190 centery: 84 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0
itr:
kind: 0 x: 30 y: 1 w: 35 h: 21 dvx: 2 dvy: 0 fall: 20 vrest: 10 bdefend: 30 injury: 5 effect: 1
itr_end:
<frame_end>

<frame> 113 CHIDORI SWORD
pic: 22 state: 3005 wait: 2 next: 114 dvx: 0 dvy: 0 dvz: 0 centerx: 190 centery: 149 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0
itr:
kind: 0 x: 61 y: 10 w: 12 h: 44 dvx: 0 dvy: 5 fall: 20 vrest: 10 bdefend: 30 injury: 10 effect: 1
itr_end:
itr:
kind: 0 x: 61 y: 150009 w: 12 h: 44 dvx: 0 dvy: 5 fall: 20 vrest: 10 bdefend: 30 injury: 10 effect: 1
itr_end:
<frame_end>

<frame> 114 CHIDORI SWORD
pic: 23 state: 3005 wait: 2 next: 115 dvx: 0 dvy: 0 dvz: 0 centerx: 190 centery: 39 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0
<frame_end>

<frame> 115 CHIDORI SWORD
pic: 24 state: 3005 wait: 2 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 190 centery: 84 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0
<frame_end>
Reply
Thanks given by:
#2
Use the [code=dc] tag.

The itr size looks awfully small compared to the centerx/y, the itr would only hit at the very top left corner. Try increasing the w and h values drastically.
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by:
#3
Adding to what STM said...

(05-28-2014, 11:32 PM)xShui Wrote:  
    DC-Code:
<frame> 113 CHIDORI SWORD
   pic: 22  state: 3005  wait: 2  next: 114  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 149  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
   itr:
      kind: 0  x: 61  y: 10  w: 12  h: 44 dvx: 0 dvy: 5 fall: 20  vrest: 10  bdefend: 30  injury: 10 effect: 1 
   itr_end:
   itr:
      kind: 0  x: 61  y: 150009  w: 12  h: 44 dvx: 0 dvy: 5 fall: 20  vrest: 10  bdefend: 30  injury: 10 effect: 1 
   itr_end:
<frame_end>
This second itr looks definitely like it's intended for some special bdy. Not going to hit anybody with that unless you already modified all other characters.

If you are unsure how the x/y/w/h-value are created, check out this page.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#4
Ok. It works now but only on straight line.

https://www.youtube.com/watch?v=f90hgil-uE4

    DC-Code:
<frame> 110 CHIDORI SWORD
   pic: 19  state: 3005  wait: 2  next: 111  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 84  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
<frame_end>
<frame> 111 CHIDORI SWORD
   pic: 20  state: 3005  wait: 2  next: 112  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 169  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
   itr:
      kind: 0  x: 18  y: 84  w: 320 h: 400 dvx: 2 dvy: -6 fall: 20  vrest: 10  bdefend: 30  injury: 25 effect: 1 
   itr_end:
<frame_end>
<frame> 112 CHIDORI SWORD
   pic: 21  state: 3005  wait: 2  next: 113  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 84  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
   itr:
      kind: 0  x: 30  y: 84  w: 320  h: 340 dvx: 2 dvy: 0 fall: 20  vrest: 10  bdefend: 30  injury: 35 effect: 1 
   itr_end:
<frame_end>
<frame> 113 CHIDORI SWORD
   pic: 22  state: 3005  wait: 2  next: 114  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
   itr:
      kind: 0  x: 61  y: 84  w: 320  h: 300 dvx: 0 dvy: -5 fall: 20  vrest: 10  bdefend: 30  injury: 25 effect: 1 
   itr_end:
<frame_end>
<frame> 114 CHIDORI SWORD
   pic: 23  state: 3005  wait: 2  next: 115  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 39  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
   itr:
      kind: 0  x: 18  y: 84  w: 320 h: 200 dvx: 2 dvy: -2 fall: 20  vrest: 10  bdefend: 30  injury: 30 effect: 1 
   itr_end:
<frame_end>
<frame> 115 CHIDORI SWORD
   pic: 24  state: 3005  wait: 2  next: 116  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 189 hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
   itr:
      kind: 0  x: 18  y: 84  w: 320 h: 350 dvx: 2 dvy: -2 fall: 100   vrest: 10  bdefend: 30  injury: 25 effect: 0
   itr_end:
<frame_end>
<frame> 116 CHIDORI SWORD
   pic: 24  state: 3005  wait: 2  next: 117  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 169 hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
   itr:
      kind: 0  x: 18  y: 84  w: 320 h: 350 dvx: 2 dvy: 5 fall: 100  vrest: 10  bdefend: 30  injury: 30 effect: 0
   itr_end:
<frame_end>
<frame> 117 CHIDORI SWORD
   pic: 24  state: 3005  wait: 2  next: 1000  dvx: 0 dvy: 0  dvz: 0  centerx: 190  centery: 209 hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 0
   itr:
      kind: 0  x: 18  y: 84  w: 320 h: 400 dvx: 2 dvy: 5 fall: 100  vrest: 10  bdefend: 35  injury: 25 effect: 1
   itr_end:
<frame_end>

Reply
Thanks given by:
#5
Add zwidth


edit: too good to let this one slip: [Image: 9LwAsHd.png]
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: xShui
#6
(05-29-2014, 11:32 AM)Blue Phoenix Wrote:  Add zwidth

Tyvm! This did the trick.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)