Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Low sanity" effect - make the collapse time longer
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#6
RE: "Low sanity" effect - make the collapse time longer

Or you can always just fake it. I've done that several times, but it's complicated scripting using carefully spaced timers and combinations of these scripts:

PlayGuiSound(string& asSoundFile, float afVolume); //plays sounds like the player gasping or collapsing ("player_bodyfall.snt" is the sound I believe you want for collapsing)

FadeImageTrailTo(float afAmount, float afSpeed); //blurs the screen

MovePlayerHeadPos(float afX, float afY, float afZ, float
afSpeed, float afSlowDownDist); //raises or lowers view of the camera

FadePlayerRollTo(float afX, float afSpeedMul, float
afMaxSpeed); //rotates camera

SetPlayerMoveSpeedMul(float afMul); //slows down or speeds up player's movement

FadeOut(float afTime); //blacks out screen

There's a lot more you can use to create the desired effect, you just have to play around with them.

(This post was last modified: 07-10-2012, 07:48 PM by Damascus.)
07-10-2012, 07:47 PM
Find


Messages In This Thread
RE: "Low sanity" effect - make the collapse time longer - by Damascus - 07-10-2012, 07:47 PM



Users browsing this thread: 1 Guest(s)