Little Fighter Empire - Forums
Can't spawn hit_Fa: 7 - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+--- Thread: Can't spawn hit_Fa: 7 (/showthread.php?tid=5100)

Pages: 1 2 3 4


Can't spawn hit_Fa: 7 - Hax0r - 06-05-2010

Hi Guys!

You know i making char KillerBee.
And i have problem, i make him ball that use hit_Fa: 7.
But i cant opoint it. ;/

Here code:

    DC-Code:
<bmp_begin>
file(0-20): sprite\kb\miod.bmp  w: 130  h: 140  row: 5  col: 3
weapon_hit_sound: data\033.wav
<bmp_end>
 
<frame> 0 flying
   pic: 5  state: 3000  wait: 5  next: 1  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 1 flying
   pic: 5  state: 3000  wait: 5  next: 2  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 2 flying
   pic: 5  state: 3000  wait: 5  next: 3  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 3 flying
   pic: 5  state: 3000  wait: 1  next: 3  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
 
<frame> 40 flying
   pic: 999  state: 3000  wait: 0  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 60 flying
   pic: 5  state: 3000  wait: 0  next: 61  dvx: 550  dvy: 550  dvz: 550  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 61 flying
   pic: 5  state: 3000  wait: 0  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
   opoint:
      kind: 1  x: 45 y: 70 action: 60 dvx: 0 dvy: 0 oid: 231 facing: 0
   opoint_end:
<frame_end>
 
<frame> 70 flying
   pic: 999  state: 3000  wait: 2  next: 71  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 45 y: 73 action: 0 dvx: 0 dvy: 0 oid: 233 facing: 0
   opoint_end:
<frame_end>
 
<frame> 71 flying
   pic: 999  state: 3000  wait: 0  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 73 flying
   pic: 999  state: 3000  wait: 0  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 3
<frame_end>



RE: Can't spawn hit_Fa: 7 - YinYin - 06-05-2010

use hit_Fa: 3 before you use 7


RE: Can't spawn hit_Fa: 7 - Hax0r - 06-05-2010

tried and don't work ;/


RE: Can't spawn hit_Fa: 7 - The Lost Global Mod - 06-05-2010

please post the code after you have changed something. Might be that you have misstyped something.
Otherwise we can't help you at the full extend.


RE: Can't spawn hit_Fa: 7 - Hax0r - 06-05-2010

opoint in my char: (233 is that thing)

opoint:
kind: 1 x: 49 y: 33 action: 70 dvx: 0 dvy: -10 oid: 233 facing: 0
opoint_end:

    DC-Code:
<bmp_begin>
file(0-20): sprite\kb\miod.bmp  w: 130  h: 140  row: 5  col: 3
weapon_hit_sound: data\033.wav
<bmp_end>
 
<frame> 0 flying
   pic: 5  state: 3000  wait: 5  next: 1  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 1 flying
   pic: 5  state: 3000  wait: 5  next: 2  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 2 flying
   pic: 5  state: 3000  wait: 5  next: 3  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 3 flying
   pic: 5  state: 3000  wait: 1  next: 3  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
 
<frame> 40 flying
   pic: 999  state: 3000  wait: 0  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 60 flying
   pic: 5  state: 3000  wait: 0  next: 61  dvx: 550  dvy: 550  dvz: 550  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
 
<frame> 61 flying
   pic: 5  state: 3000  wait: 0  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
   opoint:
      kind: 1  x: 45 y: 70 action: 60 dvx: 0 dvy: 0 oid: 231 facing: 0
   opoint_end:
<frame_end>
 
<frame> 70 flying
   pic: 999  state: 3000  wait: 2  next: 71  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 71 flying
   pic: 999  state: 3000  wait: 0  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 45 y: 73 action: 0 dvx: 0 dvy: 0 oid: 233 facing: 0
   opoint_end:
<frame_end>
 
<frame> 73 flying
   pic: 999  state: 3000  wait: 0  next: 0  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 3
<frame_end>


If i use this opoint game crash.


RE: Can't spawn hit_Fa: 7 - SirisRhazael - 06-05-2010

You want to spawn it when the ball is hit/rebounded?
If it's a full code, it lacks hit frames. Rebounding too.
Hit frames: ALWAYS 10,20. Rebounding: 30.


RE: Can't spawn hit_Fa: 7 - Silverthorn - 06-05-2010

replace frame 71 with this one and see if it works:

    DC-Code:
<frame> 71 flying
   pic: 999  state: 3000  wait: 0  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 3
<frame_end>



RE: Can't spawn hit_Fa: 7 - Hax0r - 06-05-2010

@Blue Phoenix

Nope. Don't work still crash


RE: Can't spawn hit_Fa: 7 - Ramond - 06-05-2010

Try to set frame 0 to hit_Fa: 3 to see if it would generally work. Oh and make the opoint from the char have action: 0

...why do you actually have it set up this complicated? You only need one frame with hit_Fa 3 which leads to frame 0.


RE: Can't spawn hit_Fa: 7 - Silverthorn - 06-05-2010

I start to believe this is caused by the wait: 0....