Sry for spamming this section with multiple threads.
Anyway I'm trying to make like tall grass which would be in layers with
20 pixels space between them.
With the perspective tag I can get the weapon, which spawns one (1)
layer of the grass. How could I duplicate the layer up and down?
bg data:
weapon which spawns the grass:
grass data:
So far:
when the battle battle starts
-an invisible weapon summons one (1) layer of grass
i need it to
-summon more layers, so it would be as many as possible with 20 pixel space between them (zwidth)
Anyway I'm trying to make like tall grass which would be in layers with
20 pixels space between them.
With the perspective tag I can get the weapon, which spawns one (1)
layer of the grass. How could I duplicate the layer up and down?
bg data:
DC-Code:
name: Safari width: 1200 zboundary: 365 505 shadow: bg\sys\safari\s.bmp shadowsize: 37 9 perspective: 666 layer: bg\sys\safari\forests.bmp transparency: 0 width: 800 x: 0 y: 128 layer_end layer: bg\sys\safari\grass1.bmp transparency: 1 width: 5200 x: 0 y: 320 layer_end layer: bg\sys\safari\s.bmp rect: 4706 x: 0 y: 356 width: 794 height: 172 layer_end |
weapon which spawns the grass:
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: 22 dvx: 0 dvy: 0 centerx: 29 centery: 56 itr: kind: 14 x: 21 y: 37 w: 16 h: 18 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> 22 lol pic: 999 state: 2004 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 37 centery: 79 hit_j: 99 opoint: kind: 1 x: -1199 y: 95 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> |
grass data:
DC-Code:
<bmp_begin> file(0-0): bg\sys\safari\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 far:
when the battle battle starts
-an invisible weapon summons one (1) layer of grass
i need it to
-summon more layers, so it would be as many as possible with 20 pixel space between them (zwidth)
psst. (Click to View)