Little Fighter Empire - Forums
Is that possible? - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Advanced Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=13)
+---- Thread: Is that possible? (/showthread.php?tid=729)

Pages: 1 2 3


Is that possible? - Jurassic - 07-28-2008

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]


RE: Is that possible? - Ascor - 07-28-2008

not possible
the baseball has no hiting frame


RE: Is that possible? - ~Dome~ - 07-28-2008

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..


RE: Is that possible? - Jurassic - 07-28-2008

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.


RE: Is that possible? - ~Dome~ - 07-28-2008

=> Use new itr with y: 5000, and a bdy with y:5000 in the ball ONLY


RE: Is that possible? - Hypermodder - 07-28-2008

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>



RE: Is that possible? - ~Dome~ - 07-28-2008

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..


RE: Is that possible? - Hypermodder - 07-28-2008

(sat down the drop_hurt to 0)
so, believe meh, it works!


RE: Is that possible? - Jurassic - 07-28-2008

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.


RE: Is that possible? - ~Dome~ - 07-28-2008

@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..