01-02-2010, 05:18 PM
Hey I accidentally deleted the old topic about objects in front of the
chars in a bg. So now I need help with getting the object in ground level
and to x: 0 so it fills the whole bg
yeah and this is in perspective exe
bg data:
weapon which spawns the object:
object data (it's like grass):
so what i'm trying to do is tall grass which is in front of the chars
any help?
chars in a bg. So now I need help with getting the object in ground level
and to x: 0 so it fills the whole bg
yeah and this is in perspective exe
bg data:
DC-Code:
name: *cencored* width: 1400 zboundary: 365 505 shadow: bg\sys\lf\s.bmp shadowsize: 37 9 perspective: 666 layer: bg\sys\lf\forests.bmp transparency: 0 width: 800 x: 0 y: 128 layer_end layer: bg\sys\lf\forestt.bmp transparency: 10 width: 2900 x: 0 y: 199 loop: 253 layer_end layer: bg\sys\lf\s.bmp rect: 4706 x: 0 y: 356 width: 794 height: 172 layer_end |
weapon which spawns the object:
DC-Code:
<bmp_begin> file(0-99): sprite\sys\weapon1.bmp w: 58 h: 58 row: 10 col: 10 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: 999 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: 999 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: 999 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: 999 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: 999 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: 999 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: 999 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: 999 state: 2004 wait: 0 next: 150 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: 999 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> 150 lol pic: 999 state: 3 wait: 1 next: 239 dvx: 3 dvy: 0 dvz: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 80 y: 46 action: 20 dvx: 0 dvy: 0 oid: 667 facing: 0 opoint_end: <frame_end> <frame> 399 dummy pic: 999 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> |
object data (it's like grass):
DC-Code:
<bmp_begin> file(0-0): bg\sys\lf\grass1.bmp w: 5200 h: 40 row: 1 col: 1 <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 bdefend: 30 itr_end: <frame_end> <frame> 1 in_the_sky pic: 0 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 bdefend: 30 itr_end: <frame_end> <frame> 2 in_the_sky pic: 0 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: bdefend: 30 itr_end: <frame_end> <frame> 3 in_the_sky pic: 0 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 itr_end: <frame_end> <frame> 4 in_the_sky pic: 0 state: 2004 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 itr_end: <frame_end> <frame> 5 in_the_sky pic: 0 state: 2004 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 itr_end: <frame_end> <frame> 10 on_hand pic: 0 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: 0 state: 2004 wait: 0 next: 0 dvx: 0 dvy: 0 centerx: 29 centery: 56 itr: kind: 14 x: 21 y: 37 w: 0 h: 0 itr_end: <frame_end> <frame> 21 just_on_ground pic: 0 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 itr_end: <frame_end> <frame> 399 dummy pic: 0 state: 0 wait: 2 next: 999 dvx: 0 dvy: 0 centerx: 29 centery: 56 <frame_end> |
so what i'm trying to do is tall grass which is in front of the chars
any help?
psst. (Click to View)