Help with envshake

Started by Thagr8test, January 27, 2014, 05:00:23 AM

Previous topic - Next topic

Thagr8test

I want p1's air kick to send p2 to the ground and the screen to shake on impact but I dont know how to accomplish this code wise it only shakes on hit contact which is not what I'm going for all help and pointers welcome

Sheng Long

Doesn't KFM has envshake controllers on his Kung Fu Smash upper Hitdef? You could learn from that, or copy/paste or whatever. Though the result is the same. That move shakes the screen when he hits opponents, and when opponents hit the floor. So if you don't want to use both, you can use one or the other.

"You must defeat my flaming
dragon punch to stand a chance."

Websta

You can add these parameters to your hitdef:

fall.envshake.time
fall.envshake.freq
fall.envshake.ampl
fall.envshake.phase

Thagr8test