Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] problem with weapon
#1
[Image: 65411944.jpg]
[Image: 31873949.gif]
weapon not on ground .....

    DC-Code:
<bmp_begin>
file(0-11): data\Kija\star3.bmp  w: 81  h: 82  row: 4  col: 3
weapon_hp: 1000
weapon_drop_hurt: 70
weapon_hit_sound: data\027.wav
weapon_drop_sound: data\026.wav
weapon_broken_sound: data\026.wav
<bmp_end>
 
<weapon_strength_list>
   entry: 1 normal 
     dvx: 2  fall: 70  vrest: 20 bdefend: 60  dvy: 20  injury: 15 effect: 3
   entry: 2 jump   
     dvx: 7  fall: 70  vrest: 20  bdefend: 60  dvy: 20   injury: 15  effect: 3
   entry: 3 run    
     dvx: 10  fall: 70  vrest: 20  bdefend: 60  dvy: 20   injury: 15  effect: 3
   entry: 4 dash   
     dvx: 12  fall: 70  vrest: 20  bdefend: 60  dvy: 20  injury: 15  effect: 3
<weapon_strength_list_end>
 
<frame> 40 throwing
   pic: 1  state: 3006  wait: 1  next: 41  dvx: 0  dvy: 0  centerx: 40 centery: 41
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 6  dvy: 0  fall: 45 bdefend: 30  vrest: 30  injury: 25  effect: 3
   itr_end:
<frame_end>
 
<frame> 41 throwing
   pic: 2  state: 3006  wait: 1  next: 42 dvx: 0  dvy: 0  centerx: 40 centery: 41
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 6  dvy: 0  fall: 45 bdefend: 30  vrest: 30  injury: 25  effect: 3
   itr_end:
<frame_end>
 
<frame> 42 throwing
   pic: 3  state: 3006  wait: 1  next: 43  dvx: 0  dvy: 0  centerx: 40 centery: 41
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 6  dvy: 0  fall: 45 bdefend: 30  vrest: 30  injury: 25  effect: 3
   itr_end:
<frame_end>
 
<frame> 43 throwing
   pic: 8  state: 3006  wait: 1  next: 44  dvx: 0  dvy: 0  centerx: 40 centery: 41
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 6  dvy: 0  fall: 45 bdefend: 30  vrest: 30  injury: 25  effect: 3
   itr_end:
<frame_end>
 
<frame> 44 throwing
   pic: 9  state: 3006  wait: 1  next: 40  dvx: 0  dvy: 0  centerx: 40 centery: 41
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 6  dvy: 0  fall: 45 bdefend: 30  vrest: 30  injury: 25  effect: 3
   itr_end:
<frame_end>
 
<frame> 60 on_ground
   pic: 4  state: 3005  wait: 2  next: 61  dvx: 550  dvy: 550 centerx: 40 centery: 41
   sound: data\026.wav
<frame_end>
 
<frame> 61 on_ground
   pic: 5  state: 3005  wait: 2  next: 62  dvx: 550  dvy: 550  dvz: 550 centerx: 40 centery: 41
<frame_end>
 
<frame> 62 on_ground
   pic: 6  state: 3005  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550 centerx: 40 centery: 41
<frame_end>
 
<frame> 70 just_on_ground
   pic: 4  state: 3005  wait: 2  next: 61  dvx: 550  dvy: 550 dvz: 550 centerx: 40 centery: 41
   sound: data\026.wav
<frame_end>
 
<frame> 399 dummy
   pic: 500  state: 0  wait: 0  next: 0  dvx: 0  dvy: 0  centerx: 40 centery: 41
<frame_end>
Reply
Thanks given by:
#2
    DC-Code:
bdy:
      kind: 0  x: 22  y: 27  w: 55  h: 27
   bdy_end:

Just I think, you may add the bdy to the throwing frames.

EDIT:
OK, try that
    DC-Code:
itr:
      kind: 0  x: 22  y: 27  w: 55  h: 55  dvx: 6  dvy: 0  fall: 45 bdefend: 30  vrest: 30  injury: 25  effect: 3
   itr_end:

I am quite sure you h value is not big enough to reach to ground.
(I don't know is it the bdy is neccesary, plz tell me if you know. )
Reply
Thanks given by:
#3
i tried it and it not work
Reply
Thanks given by:
#4
Try changing the centery in the on ground frame.
Reply
Thanks given by: kieutuan
#5
no one Wrote:Try changing the centery in the on ground frame.

Uhgreed.
From what I can see with my genius eyes, the centerx/y should not be somewhere about 0 for each.

EDIT: Oh darn it.
Reply
Thanks given by:
#6
actually it should be somewhere around 80 in the ground frames^^
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)