Frictional Games Forum (read-only)
Insanity effects - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Insanity effects (/thread-9788.html)



Insanity effects - Homicide13 - 08-16-2011

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.


RE: Insanity effects - DRedshot - 08-16-2011

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.