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
New .hps for new map?
TheDanny942 Offline
Junior Member

Posts: 20
Threads: 7
Joined: Dec 2011
Reputation: 0
#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
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#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
Website Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#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
TheDanny942 Offline
Junior Member

Posts: 20
Threads: 7
Joined: Dec 2011
Reputation: 0
#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
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#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




Users browsing this thread: 1 Guest(s)