Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't spawn hit_Fa: 7
#31
this works - ive tested it myself
you can also use hit_Fa: 1 instead of 3 - makes it move differently on startup

Object:
    DC-Code:
<frame> 70 flying
   pic: 5  state: 3000  wait: 5  next: 71  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 3
<frame_end>
 
<frame> 71 flying
   pic: 5  state: 3000  wait: 1  next: 71  dvx: 0  dvy: 0  dvz: 0  centerx: 65  centery: 70  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 7
<frame_end>
Character stays the same:
    DC-Code:
...
 
<frame> 60 punch
   pic: 10  state: 3  wait: 1  next: 61  dvx: 1  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 2  x: 26  y: 58  w: 37  h: 23  vrest: 1       
   itr_end:
   bdy:
      kind: 0  x: 30  y: 18  w: 28  h: 60
   bdy_end:
   bdy:
      kind: 0  x: 23  y: 35  w: 37  h: 24
   bdy_end:
<frame_end>
 
<frame> 61 punch
   pic: 11  state: 3  wait: 2  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\007.wav 
   itr:
      kind: 0  x: 49  y: 33  w: 30  h: 16  dvx: 2  bdefend: 16  injury: 20  effect: 1 vrest: 10 
   itr_end:
   bdy:
      kind: 0  x: 39  y: 19  w: 21  h: 61
   bdy_end:
   bdy:
      kind: 0  x: 51  y: 34  w: 26  h: 16
   bdy_end:
   opoint:
      kind: 1  x: 49 y: 33 action: 70 dvx: 0 dvy: -10 oid: 233 facing: 0 
   opoint_end:
<frame_end>
 
...







(06-05-2010, 09:43 PM)Ramond Wrote:  Perhaps the sprite is somehow too deep in the ground when it's spawned and causes an error? Because hit_Fa 7 attacks usually stop at the ground.

Just a thought. Try increasing its centery or decreasing the y of the opoint by a lot
(06-05-2010, 08:37 PM)YinYin Wrote:  try spawning it a little higher
._.
Reply
Thanks given by: Alblaka
#32
@Hax0r
If the game crashes, check your data.txt. Maybe you spelled something wrong. Or you just used wrong object type.
The answer to life, universe and everything (no, not 42) (Click to View)
Reply
Thanks given by:
#33
unsolved, eh?
i win. FL saves the day!!! :D
    DC-Code:
<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>


theres a hit_Fa: 7 in the tail frame. >.>
i cant believe you idiots. remember this?
(03-31-2010, 09:09 AM)TheNave Wrote:  
    DC-Code:
<frame> 274 punch
   pic: 108  state: 3  wait: 4  next: 275  dvx: 10  dvy: 0  dvz: 0  centerx: 19  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 27  y: 50  weaponact: 30  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
 
    itr:
      kind: 0  x: 10  y: 48  w: 78  h: 26  dvx: 15  dvy: -5  fall: 70  vrest: 13  bdefend: 70  injury: 35  effect: 1
 
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
   bdy: #bandit
      kind: 0  x: -5000  y: 33000  w: 10000  h: 500
   bdy_end:
<frame_end>



the itr_end: is missing

I win. :) Nave saves the day
[Image: UB2.gif]
FrozenFiren|Devid|Sprites

News of the day 19th Sep 10: Someone's back on track
Reply
Thanks given by:
#34
(06-16-2010, 03:21 AM)forgetlatios Wrote:  theres a hit_Fa: 7 in the tail frame. >.>

you wouldve saved the day if you actually told him to remove it

Silverthorn edited this post 06-16-2010 09:07 AM because:
YinYin wins.
Reply
Thanks given by:
#35
lol i read the thread and thought he would understand that :P
[Image: UB2.gif]
FrozenFiren|Devid|Sprites

News of the day 19th Sep 10: Someone's back on track
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)