Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't spawn hit_Fa: 7
#1
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>
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:
#2
use hit_Fa: 3 before you use 7
Reply
Thanks given by: MH-Razen
#3
tried and don't work ;/
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:
#4
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.
[sig placeholder until my new sig is finished]
should totally allow people to be all trolley on their birthday :D
Reply
Thanks given by:
#5
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.
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:
#6
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.
The answer to life, universe and everything (no, not 42) (Click to View)
Reply
Thanks given by:
#7
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>
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#8
@Blue Phoenix

Nope. Don't work still crash
--------------------------------------
Sorry for gramma but I'm from Poland xD
My new char KillerBee
Check it out! :D
Reply
Thanks given by:
#9
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.
Quote of the Day f***ing Year (Click to View)
Reply
Thanks given by:
#10
I start to believe this is caused by the wait: 0....
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)