Little Fighter Empire - Forums
[solved] stage help - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14)
+---- Thread: [solved] stage help (/showthread.php?tid=3610)

Pages: 1 2


[solved] stage help - NoneX - 09-13-2009

I want to make a object falling down in the stage mod, but I just see the shadow and nothing comes down =( ^^

weapon:
Code:
<bmp_begin>
file(1): stage\op1.bmp  w: 319  h: 118  row: 1  col: 1
weapon_hp: 4000
weapon_drop_hurt: 180
weapon_hit_sound: data\035.wav
weapon_drop_sound: data\037.wav
weapon_broken_sound: data\036.wav
<bmp_end>

<frame> 0 in_the_sky
   pic: 0  state: 2000  wait: 3  next: 1  dvx: 0  dvy: 0  centerx: 29  centery: 56
   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> 1 in_the_sky
   pic: 1  state: 2000  wait: 2  next: 2  dvx: 0  dvy: 0  centerx: 29  centery: 56
   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: 2  state: 2000  wait: 3  next: 3  dvx: 0  dvy: 0  centerx: 29  centery: 56
   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: 3  state: 2000  wait: 2  next: 4  dvx: 0  dvy: 0  centerx: 29  centery: 56
   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: 4  state: 2000  wait: 3  next: 5  dvx: 0  dvy: 0  centerx: 29  centery: 56
   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: 5  state: 2000  wait: 2  next: 999  dvx: 0  dvy: 0  centerx: 29  centery: 56
   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: 5  state: 2001  wait: 0  next: 0  dvx: 0  dvy: 0  centerx: 29  centery: 56
   wpoint:
      kind: 2  x: 29  y: 56  weaponact: 35  attacking: 0  cover: 0  dvx: 0  dvy: 0
   wpoint_end:
<frame_end>

<frame> 20 on_ground
   pic: 5  state: 2004  wait: 0  next: 0  dvx: 0  dvy: 0  centerx: 29  centery: 56
   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: 3  state: 2000  wait: 1  next: 999  dvx: 0  dvy: 0  centerx: 29  centery: 56
   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: 5  state: 0  wait: 2  next: 999  dvx: 0  dvy: 0  centerx: 29  centery: 56
   bdy:
      kind: 0  x: 1  y: 19  w: 46  h: 15
   bdy_end:
<frame_end>

stage
Code:
<stage> id: 0  #stage 1-1
        <phase> bound: 2200
                music: bgm\stage1.wma
                id: 123  x: 1200  ratio: 0.1  #text
        <phase_end>

        <phase> bound: 1300
                id: 30  hp: 50  times: 2  ratio: 1.0
                id: 31  hp: 50  times: 1
                id: 31  hp: 50  times: 1  ratio: .4
        <phase_end>

        <phase> bound: 1700
                id: 3000  hp: 50  times: 2
                id: 3000  hp: 50  times: 2  ratio: 1.0
        <phase_end>

        <phase> bound: 2200
                id: 123  x: 1100  #milk
                id: 122  x: 1100  #text
                id: 30  hp: 50  ratio: 1
                id: 30  hp: 50
                id: 31  hp: 50
                id: 31  hp: 50  ratio: .4
                id: 31  hp: 50  ratio: .2
        <phase_end>
<stage_end>

sry for my bad english ^^


RE: stage help - Lauli - 09-13-2009

You should ONLY use pic: 0 in every frame of the weapon so you can see it.
If that's not the problem, then I can't be bothered to look for anything else that might be wrong.


RE: stage help - TheNave - 09-13-2009

check if it's type: 2 in the data.txt, I guess that's the problem

and yeah, also do what lauli said


RE: stage help - Simoneon - 09-13-2009

<bmp_begin>
file(1): stage\op1.bmp w: 319 h: 118 row: 1 col: 1
weapon_hp: 4000
weapon_drop_hurt: 180
weapon_hit_sound: data\035.wav
weapon_drop_sound: data\037.wav
weapon_broken_sound: data\036.wav
<bmp_end>

Should be:

<bmp_begin>
file(0-1): stage\op1.bmp w: 319 h: 118 row: 1 col: 1
weapon_hp: 4000
weapon_drop_hurt: 180
weapon_hit_sound: data\035.wav
weapon_drop_sound: data\037.wav
weapon_broken_sound: data\036.wav
<bmp_end>


RE: stage help - TheNave - 09-13-2009

no. you can even write file(briuahsdflgheawpkjh): in there and it'd work


RE: stage help - NoneX - 09-13-2009

Then idk but it works when i put (0) in the data, but now i have another problem ^^

when the sprites looks to the left side all works fine but if it looks to the right I just see the shadow =(


RE: stage help - Silverthorn - 09-13-2009

is the bitmap 320x119 pixels or larger?


RE: stage help - NoneX - 09-14-2009

x: 309 y: 118

^^

and why would this a problem


RE: stage help - TheNave - 09-14-2009

just change it to 309, 118 then, it will work


RE: stage help - NoneX - 09-14-2009

sry for this noob question but what shoul i change to 309 118 ^^