Little Fighter Empire - Forums

Full Version: Is that possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Is it possible to make, that if a baseball hit a weapon, the baseball
transforms into something other.
Here is an example:

[Image: BB.jpg]
not possible
the baseball has no hiting frame
Hm.. since there isn´t any hitframe in a weapon, its quiet difficult
You could let it activate a invisible ball every 3 TU, when it´s hit by sth it deletes, the old ball per hitframe, and activates a new one..

€dit: hehe posted at the same time..
Good idea but then the ball will also come back if any weapon hit it.
I want him only to come back if he´s beaten by a stick.
=> Use new itr with y: 5000, and a bdy with y:5000 in the ball ONLY
easyer method:
just set down the weapon hp to 1 and change the broken.dat!

in weapon_5.dat:

Code:
<bmp_begin>
file(0-99): sprite\sys\weapon5.bmp  w: 48  h: 48  row: 10  col: 10
weapon_hp: 1
weapon_drop_hurt: 0
weapon_hit_sound: data\038.wav
weapon_drop_sound: data\038.wav
weapon_broken_sound: data\038.wav
<bmp_end>

in broken_weapon.dat:

Code:
<frame> 60 baseball1
   pic: 60  state: 9999  wait: 2  next: 61  dvx: 0  dvy: 0  centerx: 10  centery: 27  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 0  y: 0 action: 30 #rebounding) dvx: 0 dvy: 0  oid: XXX #objects id) facing: 0
   opoint_end:
<frame_end>

<frame> 61 baseball2
   pic: 61  state: 9999  wait: 2  next: 62  dvx: 0  dvy: 0  centerx: 10  centery: 23  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 62 baseball3
   pic: 62  state: 9999  wait: 2  next: 63  dvx: 0  dvy: 0  centerx: 16  centery: 22  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 63 baseball4
   pic: 63  state: 9999  wait: 2  next: 60  dvx: 0  dvy: 0  centerx: 17  centery: 28  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
that won´t work:

1. You could do this with all weapons/hits and not only with baseballbat
2. You have to change weapon_hurt to 0..

Mine would work..
(sat down the drop_hurt to 0)
so, believe meh, it works!
I can´t work with broken.dat because that will hurt your friends, too.
You can see that if you gives burning smoke an opoint to make
firens explode.
@HM
You didn´t read this:

1. You could do this with all weapons/hits and not only with baseballbat

He wants it only for the bat.. mine would work, as I said..
Pages: 1 2 3