Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New .hps for new map?
Author Message
TheDanny942 Offline
Junior Member

Posts: 20
Joined: Dec 2011
Reputation: 0
Post: #1
New .hps for new map?
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!
01-26-2012 02:40 AM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,236
Joined: Jul 2011
Reputation: 216
Post: #2
RE: New .hps for new map?
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.

Tutorials: From Noob to Pro
01-26-2012 02:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #3
RE: New .hps for new map?
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
Find all posts by this user Quote this message in a reply
TheDanny942 Offline
Junior Member

Posts: 20
Joined: Dec 2011
Reputation: 0
Post: #4
RE: New .hps for new map?
(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?
01-26-2012 02:57 AM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #5
RE: New .hps for new map?
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 : )

(This post was last modified: 01-26-2012 05:10 AM by flamez3.)
01-26-2012 05:08 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)