Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
teleport to a ball
#4
thanks guys it gots quit complicated to me but finally i did something simillar to what i wanted (not sameas i wanted.. i did some simple tele with few things i added to it)

anyway i got some bug on the item i did for earth its type 2 like stone and box
but problem is i cant take it with any char :\ when i click attack i just attack it until it disappear another thing is its not broke like other items it just disappear when HP 0
and 1 last thing about that item is how do i make it not falling from the sky? i want to make it only appear when earth use his skill

    DC-Code:
<bmp_begin>
file(0-99): sprite\earth\earth_weapon.bmp  w: 79  h: 79  row: 10  col: 7
weapon_hp: 800
weapon_drop_hurt: 200
weapon_hit_sound: data\010.wav
weapon_drop_sound: data\010.wav
weapon_broken_sound: data\021.wav
<bmp_end>
 
<frame> 0 in_the_sky
   pic: 5  state: 2000  wait: 3  next: 1  dvx: 0  dvy: 0  centerx: 39  centery: 79
   itr:
      kind: 0  x: 6  y: 9  w: 44  h: 46  dvx: 5  dvy: -7  fall: 70  vrest: 17  bdefend: 30  injury: 60  
   itr_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>
 
<frame> 1 in_the_sky
   pic: 4  state: 2000  wait: 2  next: 2  dvx: 0  dvy: 0  centerx: 39  centery: 79
   itr:
      kind: 0  x: 6  y: 9  w: 44  h: 46  dvx: 5  dvy: -7  fall: 70  vrest: 17  bdefend: 30  injury: 60  
   itr_end:
   bdy:
      kind: 0  x: 6  y: 9  w: 44  h: 46
   bdy_end:
<frame_end>
 
<frame> 2 in_the_sky
   pic: 3  state: 2000  wait: 3  next: 3  dvx: 0  dvy: 0  centerx: 39  centery: 79
   itr:
      kind: 0  x: 6  y: 9  w: 44  h: 46  dvx: 5  dvy: -7  fall: 70  vrest: 17  bdefend: 30  injury: 60
   itr_end:
   bdy:
      kind: 0  x: 6  y: 9  w: 44  h: 46
   bdy_end:
<frame_end>
 
<frame> 3 in_the_sky
   pic: 2  state: 2000  wait: 2  next: 4  dvx: 0  dvy: 0  centerx: 39  centery: 79
   itr:
      kind: 0  x: 6  y: 9  w: 44  h: 46  dvx: 5  dvy: -7  fall: 70  vrest: 17  bdefend: 30  injury: 60
   itr_end:
   bdy:
      kind: 0  x: 6  y: 9  w: 44  h: 46
   bdy_end:
<frame_end>
 
<frame> 4 in_the_sky
   pic: 1  state: 2000  wait: 3  next: 5  dvx: 0  dvy: 0  centerx: 39  centery: 79
   itr:
      kind: 0  x: 6  y: 9  w: 44  h: 46  dvx: 5  dvy: -7  fall: 70  vrest: 17  bdefend: 30  injury: 60
   itr_end:
   bdy:
      kind: 0  x: 6  y: 9  w: 44  h: 46
   bdy_end:
<frame_end>
 
<frame> 5 in_the_sky
   pic: 0  state: 2000  wait: 2  next: 999  dvx: 0  dvy: 0  centerx: 39  centery: 79
   itr:
      kind: 0  x: 6  y: 9  w: 44  h: 46  dvx: 5  dvy: -7  fall: 70  vrest: 17  bdefend: 30  injury: 60
   itr_end:
   bdy:
      kind: 0  x: 6  y: 9  w: 44  h: 46
   bdy_end:
<frame_end>
 
<frame> 10 on_hand
   pic: 0  state: 2001  wait: 0  next: 0  dvx: 0  dvy: 0  centerx: 39  centery: 79
   wpoint:
      kind: 2  x: 42  y: 79  weaponact: 35  attacking: 0  cover: 0  dvx: 0  dvy: 0 
   wpoint_end:
<frame_end>
 
<frame> 20 on_ground
   pic: 0  state: 2004  wait: 0  next: 0  dvx: 0  dvy: 0  centerx: 39  centery: 79
   itr:
      kind: 14  x: 21  y: 37  w: 16  h: 18   vrest: 1
   itr_end:
 
   bdy:
      kind: 0  x: 11  y: 15  w: 36  h: 40
   bdy_end:
<frame_end>
 
<frame> 21 just_on_ground
   pic: 2  state: 2000  wait: 1  next: 999  dvx: 0  dvy: 0  centerx: 39  centery: 79
   itr:
      kind: 0  x: 6  y: 9  w: 44  h: 46  dvx: 5  dvy: -7  fall: 70  vrest: 17  bdefend: 30  injury: 60
   itr_end:
<frame_end>
 
<frame> 399 dummy
   pic: 0  state: 0  wait: 2  next: 999  dvx: 0  dvy: 0  centerx: 39  centery: 79
   bdy:
      kind: 0  x: 1  y: 19  w: 46  h: 15
   bdy_end:
<frame_end>
[Image: p45mycA.png]
Reply
Thanks given by:


Messages In This Thread
teleport to a ball - by Ariel - 06-15-2013, 01:08 PM
RE: teleport to a ball - by YinYin - 06-15-2013, 01:11 PM
RE: teleport to a ball - by InPhiKnight - 06-15-2013, 01:35 PM
some bug with an item - by Ariel - 06-15-2013, 04:04 PM
RE: some bug with an item - by YinYin - 06-15-2013, 04:50 PM
RE: some bug with an item - by Ariel - 06-15-2013, 05:12 PM
RE: teleport to a ball - by The Hari - 06-15-2013, 04:43 PM
RE: teleport to a ball - by The Hari - 06-15-2013, 07:21 PM
RE: teleport to a ball - by YinYin - 06-15-2013, 08:27 PM



Users browsing this thread: 1 Guest(s)