Posts: 540
Threads: 59
Joined: Jan 2009
Hi!
i've never before made a weapon and it works well (and looks good)
but when i is destoyed it just disappears without the broken images, so the
question is how do i put the broken thing to my weapon?
plz answear so i can do more weapons
Thanks given by:
Posts: 90
Threads: 11
Joined: Nov 2008
create the broken weapon sprites(?)
Thanks given by:
Posts: 540
Threads: 59
Joined: Jan 2009
@sinow or who moved this thread:
this should be in hex 1.9c or sth because it's in 1.9c i'm working (2.0 is cool for playing,but bad for modding)
and can't i just do something in the broken_weapon.dat to make this work?
and actually i haven't done the broken sprites yet because i just wanted to know how to do this
Thanks given by:
Posts: 1,073
Threads: 38
Joined: Mar 2008
you can make the weapon keep opointing a t0 bdy which has ik8 and a bdy at the same spot, and have wait: 2 -> go to broken weapon sprites (or opoint the sprites).
make the dvx of the ik8 go to a frame that deletes itself.
Azriel~
Thanks given by:
Posts: 4,878
Threads: 162
Joined: Mar 2008
Imagine it the following way. The exe checks for the id of the weapon. If the weapon now has 0hp, the weapon will be deleted from the game and instead being replaced by some broken-weapon-sprites. But who tells the exe which ones are the right sprites? Well, the exe has some sort of list saved in it. Every pre-defined weapon has a certain frame assigned to it in broken_weapon.dat. Means, that new ids are not in the list and thus the exe don't knows which broken-sprites should be displayed.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
Thanks given by:
Posts: 1,708
Threads: 34
Joined: Mar 2008
I don't know if this has been said already, but you can make the weapon hold... a weapon.
If the actual weapon breaks and disappears it lets the other weapon fall. If the other weapon touches the ground you can somehow make the broken thingy.
Theoretically it works, but I once tried it and it was quite buggy...
Wait, why did I make this post then?
Thanks given by: