items question

Gurtag

Active member
hello ppl, wanted to ask if there is a way to make a item death animation without scripting, if not, is there way of killing it or make it desapear without grabing it? the thing is i summonframe an item from an obstacle´s idle anim, the idea is to grab the item and kill the obstacle in the proces, till that is fine but when the obstacle plays it death or fall anim wich dont have summonframe it spawns the item one more time, i want to prevent that but have no succeded, tryed with summonkill 1 and 2 but no luck, any ideas?
 
Hmmm... sounds like you're trying to make something more than just item's death without scripting

Are you making obstacle which acts like item container and but at same time can also be picked up like an item, or weapon?
 
kind of yes, it is supose to be a prey/healing shirene like in mksm, had to do it that way in order to fake a death anim for the item,  anyway solve it, had the obstacle spawn the item on the level too  ::)


also is there a way to make diferent GET anims specific for each kind of item? like get1 for health, get2 for time and so on?
 
Hmmm... looks like it's different than what I had in mind before  ::)

is there a way to make diferent GET anims specific for each kind of item? like get1 for health, get2 for time and so on?

The only way I know is to use script to replicate the get mechanic. This script will then choose which animation to play based on the item
 
thanks a lot for the help guys, will definitely get in to lerning script at some point but first want to set up the bulck of the mod like visuals and basic stuf i am more familiar with right now, anyway i thought in a work around for set up diferent get anims, if i manage to make it work will post the results in case someone find it useful.
sorry if i am bit anoying but would like to ask a few more things.

how do you determine the colision box for obstacles? no matter how big the bbox i set up for the obstacle the player sprite allways end overlaping it some

blockratio says 1 = Entity recives .25 of intended damage when blocking, is there a way of seting it above that .25 with out changing enemy attacks damage?

is it posible to change mp bar size with out changing amount of mp?
 
how do you determine the colision box for obstacles?

Setting bbox for obstacles is very easy since it only use one animation IOW only need to define bbox once.
However for other stuff such as:

no matter how big the bbox i set up for the obstacle the player sprite allways end overlaping it some

That sounds like you need to define platform instead. Unlike bbox, platform defines blocked area around the obstacle.

is it posible to change mp bar size with out changing amount of mp?

Yes, if you use this command:

mpbarsize {w} {h} {noborder} {type} {orientation} {border} {shadow} {graph} {backfill}

with type set to 1, mpbar will be percent based
 
thanks a lot, mp bar is much more visible and easier to keep track of, have not experimented with platform, will do it now, thanks for the help Bloodbane
 
Back
Top Bottom