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

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Insanity effects
Author Message
Homicide13 Offline
Senior Member

Posts: 323
Joined: Nov 2010
Reputation: 14
Post: #1
Insanity effects

How exactly are insanity effect triggered? Do they occur randomly when your sanity is low enough, or do they have to be triggered by script/the insanity area etc.

08-16-2011 01:49 AM
Find all posts by this user Quote this message in a reply
DRedshot Offline
Senior Member

Posts: 374
Joined: Jun 2011
Reputation: 11
Post: #2
RE: Insanity effects

here's how it works. When your sanity is low (below 30 i think) daniel starts to get really hard to control, and he starts breathing heavy... When it gets to 0, he falls to the ground, and that ringing noise plays (I'm sure you are already aware of the above) - These are the only two effects which are activated automatically.

In Level Editor -> areas -> insanity you can place a box. when you collide with this box, an insanity effect will play, depending on the settings.

In your .hps file you can use 'StartRandomInsanityEvent' - as the name implies, the effect is completely random, and could be cochroaches on screen, red screen, or daniel saying something random. Since you probably don't want a completely random effect, the best way to do it is to simulate the effect with other script functions.

08-16-2011 02:04 AM
Find all posts by this user Quote this message in a reply
Post Reply 

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