Old post (Click to View)
Hi, I'm trying to make a shield (same size like julian_col) with following attributes:
-Destroys every projectile
-When projectile destroyed, loses hp amount like a character
-Doesn't hit characters
-Can't be hit by characters
-Can only be destroyed by losing hp like a weapon
I tried many times to make it work, but somehow it never worked perfectly..
This is how I have it now:
Would be thankful for help.;)
-Destroys every projectile
-When projectile destroyed, loses hp amount like a character
-Doesn't hit characters
-Can't be hit by characters
-Can only be destroyed by losing hp like a weapon
I tried many times to make it work, but somehow it never worked perfectly..
This is how I have it now:
DC-Code:
<bmp_begin> file(0-1): sprite\sys\damon_shield.bmp w: 199 h: 404 row: 2 col: 1 file(2-5): sprite\sys\damon_shield2.bmp w: 159 h: 404 row: 4 col: 1 weapon_hp: 300 weapon_drop_hurt: 0 weapon_hit_sound: data\020.wav weapon_drop_sound: data\020.wav weapon_broken_sound: data\020.wav <bmp_end> <frame> 0 start pic: 0 state: 2004 wait: 3 next: 1 dvx: 550 dvy: 550 dvz: 550 centerx: 100 centery: 390 hit_a: 0 hit_d: 0 hit_j: 0 sound: data\031.wav bdy: kind: 0 x: 10 y: 0 w: 180 h: 405 zwidth: 37 bdy_end: <frame_end> <frame> 1 shield pic: 1 state: 2004 wait: 0 next: 2 dvx: 550 dvy: 550 dvz: 550 centerx: 100 centery: 390 hit_a: 0 hit_d: 0 hit_j: 0 sound: data\071.wav bdy: kind: 0 x: 10 y: 0 w: 180 h: 405 zwidth: 37 bdy_end: <frame_end> <frame> 2 shield pic: 1 state: 2004 wait: 0 next: 3 dvx: 550 dvy: 550 dvz: 550 centerx: 100 centery: 390 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 10 y: 0 w: 180 h: 405 zwidth: 37 bdy_end: <frame_end> <frame> 3 shield pic: 1 state: 2004 wait: 0 next: 2 dvx: 550 dvy: 550 dvz: 550 centerx: 100 centery: 390 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 10 y: 0 w: 180 h: 405 zwidth: 37 bdy_end: <frame_end> <frame> 4 end pic: 3 state: 15 wait: 0 next: 5 dvx: 0 dvy: 0 dvz: 0 centerx: 80 centery: 390 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 5 end pic: 4 state: 15 wait: 0 next: 6 dvx: 0 dvy: 0 dvz: 0 centerx: 80 centery: 390 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 6 end pic: 5 state: 15 wait: 0 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 80 centery: 390 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> |
Would be thankful for help.;)
/e: Or just please tell me how to make a weapon where you can control to which frame it goes when getting hit.
Thanks!
Sry for bad English^^
Click pls
Click pls