Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] criminal help (again)
#1
i made a template criminal:

Code:
file(280-284): sprite\sys\criminal4.bmp  w: 79  h: 79  row: 5  col: 1

Code:
<frame> 100 template
   pic: 280  state: 0  wait: 10  next: 100  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 1101  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 101 template
sound: data\066.wav
   pic: 281  state: 0  wait: 1  next: 102  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 102 template
   pic: 282  state: 0  wait: 3  next: 103  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 103 template
   pic: 283  state: 0  wait: 3  next: 104  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 104 template
   pic: 284  state: 0  wait: 3  next: 105  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 105 template
   pic: 284  state: 8000  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

however, in the stage mode, there is no sprite of the criminal (before you free him)
Reply
Thanks given by:
#2
Make sure, that the picture before
Code:
file(280-284): sprite\sys\criminal4.bmp  w: 79  h: 79  row: 5  col: 1
really has 280 pics.
Other than that, I dunno what could be wrong.
Reply
Thanks given by: lpoi
#3
file(280-284):

the numbers you note there are not important for the computer - the product from row and cols is.

Probably you only have the criinal.bmp in there - this has 80 sprites (0-79) - so your new image starts at 80 - whatever you note in the file(...) thing :p
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by: lpoi
#4
The last criminal frame needs to be "next: 1000", and I think you need change the state of frames.
<center>[Image: 38018291.gif]</center>
Reply
Thanks given by:
#5
Quote:The last criminal frame needs to be "next: 1000", and I think you need change the state of frames.
1st, the next is the last frame doesn't matter
2nd, everything's allright with the state
3rd, it's a sprite problem only...

and Razen solved it already
Reply
Thanks given by:
#6
oh - talking about the state: as far as I remember the transform into id 0 is caused with problems - so maybe change the id of template and the state to another one :p
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#7
(09-24-2009, 03:50 PM)MH-Razen Wrote:  file(280-284):

the numbers you note there are not important for the computer - the product from row and cols is.

Probably you only have the criinal.bmp in there - this has 80 sprites (0-79) - so your new image starts at 80 - whatever you note in the file(...) thing :p

there is other criminal bmp.

edit: figure out the prob. the last image product of row and col is affectin the next image. i did not product it correctly. thx for the "inspiration" by sayin "products of row and cols"

(09-24-2009, 04:18 PM)MH-Razen Wrote:  oh - talking about the state: as far as I remember the transform into id 0 is caused with problems - so maybe change the id of template and the state to another one :p
even though the sprite is not there, it still transform to template in stage mode. is it really affected? will try that one though
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)