News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Replace depreciated values?

Started by Zyriliss, September 12, 2015, 03:33:27 AM

Previous topic - Next topic

Zyriliss

   So I'm trying to iron out the last few immediate kinks in a character.. but I've been hearing about a lot about triggers and values that have been labeled "depreciated" and stated that they may break soon?  So I went about trying to change/remove as many of these values as I could and managed to successfully remove all but one of them..

HitVelSet...   It's used in common1.. and in the cns files that I've altered.  But without it there is no push back at all on block.  So I was wondering if there was another option I could use in place of it.
Delving within the depths of a castle full of evil.. or at least lost or even trapped within one.. That's where you'll find me.

jaede_

a hitvelset can be changed with:

[State HitVelSet]
Type = Velset
trigger1 = .... ;up to what you're intending to replace
x = GetHitVar(xvel)
y = GetHitVar(yvel)

Though I'm not 100% sure if this will account for most get-hits.... Such as those which induce no vertical speed, but oh well. Hope it can help or that someone else can rectify if this is correct
you can find me on discord as jaede_ but be forewarned I do not talk about MUGEN nor my creations or anyone else's much these days.

Zyriliss

His getting hits were fine..  It was the push back when he blocked that was being effected by this change.   This is what I was looking for, thank you.
Delving within the depths of a castle full of evil.. or at least lost or even trapped within one.. That's where you'll find me.