Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help for attack
#1
Hi the data of the char i want to do doesnt work cuz a move can you help me and give me a feedback please?


    DC-Code:
<frame> 0 standing
   pic: 0  state: 0  wait: 5  next: 1  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 55  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 1 standing
   pic: 1  state: 0  wait: 3  next: 2  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 33
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 54  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 2 standing
   pic: 2  state: 0  wait: 5  next: 3  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 33
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 53  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 3 standing
   pic: 3  state: 0  wait: 9  next: 4  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 33
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 53  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 4 standing
   pic: 2  state: 0  wait: 0  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 33
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 53  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 5 walking
   pic: 4  state: 1  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 78  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 33
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 54  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 1  x: 40  y: 16  w: 25  h: 65  
      catchingact: 120 120  caughtact: 130 130  
   itr_end:
   bdy:
      kind: 0  x: 28  y: 15  w: 27  h: 65
   bdy_end:
<frame_end>
 
<frame> 6 walking
   pic: 5  state: 1  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 33
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 54  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 1  x: 40  y: 16  w: 25  h: 65  
      catchingact: 120 120  caughtact: 130 130  
   itr_end:
   bdy:
      kind: 0  x: 28  y: 15  w: 27  h: 65
   bdy_end:
<frame_end>
 
<frame> 7 walking
   pic: 6  state: 1  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 33
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 54  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 1  x: 40  y: 16  w: 25  h: 65  
      catchingact: 120 120  caughtact: 130 130  
   itr_end:
   bdy:
      kind: 0  x: 28  y: 15  w: 27  h: 65
   bdy_end:
<frame_end>
 
<frame> 8 walking
   pic: 7  state: 1  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 78  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 240 hit_Fj: 270 hit_Uj: 260 hit_ja: 280
   bpoint:
      x: 38  y: 33
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 54  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 1  x: 40  y: 16  w: 25  h: 65  
      catchingact: 120 120  caughtact: 130 130  
   itr_end:
   bdy:
      kind: 0  x: 28  y: 15  w: 27  h: 65
   bdy_end:
<frame_end>
.....
 
<frame> 280 cannon
   pic: 142  state: 3  wait: 1  next: 281  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 mp: 25
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 281 cannon
   pic: 143  state: 3  wait: 1  next: 282  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\100.wav 
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 282 cannon
   pic: 144  state: 3  wait: 1  next: 283  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\067.wav 
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 283 cannon
   pic: 145  state: 3  wait: 1  next: 284  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\064.wav 
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 284 cannon
   pic: 146  state: 3  wait: 1  next: 285  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 285 cannon
   pic: 147  state: 3  wait: 3  next: 286  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 280  hit_j: 280
  sound: data\092.wav 
   opoint:
      kind: 1  x: 128  y: 42  action: 0  dvx: 0  dvy: 0  oid: 600  facing: 0
   opoint_end:
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 286 cannon
   pic: 147  state: 3  wait: 0  next: 287  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 280  hit_j: 280
  sound: data\070.wav 
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 287 cannon
   pic: 147  state: 3  wait: 0  next: 288  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 280  hit_j: 280 mp: -14
   opoint:
      kind: 1  x: 150  y: 42  action: 2  dvx: 0  dvy: 0  oid: 600  facing: 0
   opoint_end:
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 288 cannon
   pic: 144  state: 3  wait: 1  next: 289  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 79  hit_a: 0  hit_d: 280  hit_j: 280
  sound: data\092.wav 
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 289 cannon
   pic: 142  state: 3  wait: 1  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 44  y: 49  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>


Azriel edited this post 03-22-2014 10:34 PM because:
Please use the [ code=dc] [ /code] tags when posting code.
Reply
Thanks given by:
#2
Are you sure he doesn't do the move DJA (cannon) or does he just take very long before he uses cannon? Did you put hit_ja: 280 on frame 110(defend)?

What exactly doesn't work?
[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
If I launch him in the game it has a problem and doesnt work
Yes i did on frame 110
Reply
Thanks given by:
#4
So you're saying the game cannot load?
-> Does it say something like "Couldn't find bitmap dennis_0.bmp"?

Or are you saying that the Cannon doesn't shoot anything?
-> On frame 287, you used opoint oid: 600, action: 2. Check your data.txt, did you include a ball data as id: 600 type: 3?
[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:
#5
yes I did
If bat/TK.dat comes the game has a problem

I mean id.. bat/TK.dat
Reply
Thanks given by:
#6
Can you attach a download of the character here? I'll test it out.
[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:
#7
i know only how to upload single things in mediafire
how can I put them in a folder?
id: 600 type: 3 file: bat\TK_cannon2.dat
id: 324 type: 3 file: bat\TK_ball.dat
id: 324 type: 3 file: bat\TK_chase.dat
id: 11 type: 0 file: bat\TK.dat

id lines
https://www.mediafire.com/folder/v7bf9kjdbgida/bat
what the now it works but the char disappears
Reply
Thanks given by:
#8
Next time, please use "WinRAR" or "WinZip" to compress everything into one folder. I had a hard time downloading every individual thing.

I found the problems you have with your character.
1) BMP File Location is wrong
    DC-Code:
<bmp_begin>
file(0-11): bat\bat_cannon2.bmp w: 129  h: 82  row: 4  col: 2
weapon_hit_sound: data\020.wav
weapon_drop_sound: data\020.wav
weapon_broken_sound: data\020.wav
<bmp_end>

You put "bat_cannon2" instead of "TK_cannon2", and there is no such file. Please check the sprite location for all your files; TK_ball also has the same problem. That's why LF2 cannot load.

2) TK_ball and TK_chase have the same ID. If its the same ID, only the first one on data.txt will be used.

3) DvJ has no sprites. This is because you didn't include the "w: 79 h: 79 row: 10 col: 7" line. I also checked your TK_cannon.bmp sprites, and it doesn't follow a grid, so it'd create a lot of sprite problems. Here's a tutorial you'd need, download the grid.
[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: ThrillerBeat
#9
thanks
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)