Frictional Games Forum (read-only)

Full Version: Door Swing, Insanity zone and weird walking
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Look at this video and please if you can then tell me how to do the effect in 3:00 - 3:05




and a bit after that he walk on his side(leaning to the side) if you can tell me how to do that...
thanks a lot .
These are used:

FadePlayerRollTo(float afX, float afSpeedMul, float afMaxSpeed);
MovePlayerHeadPos(float afX, float afY, float afZ, float afSpeed, float afSlowDownDist);

FadePlayerAspectMulTo(float afX, float afSpeed); (maybe used)

FadePlayerFOVMulTo(float afX, float afSpeed);


edit. Wops wrong information, those are just for the flipping out effects.

These are for that door:

AddPropForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem);
GiveSanityDamage(float afAmount, bool abUseEffect);
CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);

And remember to use:
PreloadParticleSystem(string& asPSFile);