Frictional Games Forum (read-only)

Full Version: New .hps for new map?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am currently making a custom story, and in one part, I have it so the screen goes red, and it loads another map. So my question is, do I need a new .hps for a new map? And one more thing, is there any effects where you can make the player feint? Thanks!
Yeah, you need a new .hps file for a new map. If you drop the player's sanity to 0, the player will automatically fall to the ground.
You don't need another .hps for the other map if there is no scripts in it. I would use:
Quote:FadeSepiaColorTo(float afAmount, float afSpeed);
Makes the screen go dark red.
afAmount - intensity (default: 0)
afSpeed - time in seconds until full effect


And change the players head so he falls down.
(01-26-2012, 02:55 AM)flamez3 Wrote: [ -> ]You don't need another .hps for the other map if there is no scripts in it. I would use:
Quote:FadeSepiaColorTo(float afAmount, float afSpeed);
Makes the screen go dark red.
afAmount - intensity (default: 0)
afSpeed - time in seconds until full effect


And change the players head so he falls down.
How can I change the players head? Is there a script function for that?


You would use:

Quote:FadePlayerRollTo(float afX, float afSpeedMul, float afMaxSpeed);

Rotates the position of the camera on the player's body.

afX - angle of rotation of head, positive being counter-clockwise
afSpeedMul - speed (possibly acceleration) multiplier of the rotation (default 1, which is really slow)
afMaxSpeed - maximum speed of rotation


Taken from http://wiki.frictionalgames.com/hpl2/amn...ons#player : )