07-28-2008, 05:29 PM
07-28-2008, 05:39 PM
not possible
the baseball has no hiting frame
the baseball has no hiting frame
07-28-2008, 05:41 PM
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..
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..
07-28-2008, 05:48 PM
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.
I want him only to come back if he´s beaten by a stick.
07-28-2008, 05:53 PM
=> Use new itr with y: 5000, and a bdy with y:5000 in the ball ONLY
07-28-2008, 06:10 PM
easyer method:
just set down the weapon hp to 1 and change the broken.dat!
in weapon_5.dat:
in broken_weapon.dat:
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>
07-28-2008, 06:15 PM
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..
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..
07-28-2008, 06:20 PM
(sat down the drop_hurt to 0)
so, believe meh, it works!
so, believe meh, it works!
07-28-2008, 06:25 PM
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.
You can see that if you gives burning smoke an opoint to make
firens explode.
07-28-2008, 06:32 PM
@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..
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..