Frictional Games Forum (read-only)
[SCRIPT] Please help with insanity events - 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: [SCRIPT] Please help with insanity events (/thread-16261.html)



Please help with insanity events - Chronogyros - 06-18-2012

void SetInsanitySetEnabled(string& asSet, bool abX);
Determines which InsanitySets are enabled.
asSet - the set
abX - enabled or not


Does anyone know what possible insanity "sets" there are? I am wondering if I can trigger specific insanity events with this. For example: bugs crawling over the player's screen.


RE: Please help with insanity events - SilentHideButFine - 06-18-2012

(06-18-2012, 04:16 AM)Chronogyros Wrote: void SetInsanitySetEnabled(string& asSet, bool abX);
Determines which InsanitySets are enabled.
asSet - the set
abX - enabled or not


Does anyone know what possible insanity "sets" there are? I am wondering if I can trigger specific insanity events with this. For example: bugs crawling over the player's screen.
i normaly use ""GiveSanityDamage(float afAmount, bool abUseEffect);"

SetInsanitySetEnabled("Area?", true or false?);

not sure :S


RE: Please help with insanity events - Damascus - 06-18-2012

That's not the same thing. Insanity sets are for example when Daniel starts muttering to himself, bugs start crawling over the screen, or flies start buzzing around the player.

I've wanted to use this function too but haven't seen a comprehensive list of sets.


RE: Please help with insanity events - Chronogyros - 06-18-2012

(06-18-2012, 05:30 AM)Damascus Wrote: That's not the same thing. Insanity sets are for example when Daniel starts muttering to himself, bugs start crawling over the screen, or flies start buzzing around the player.

I've wanted to use this function too but haven't seen a comprehensive list of sets.
Yes, I've looked too, but I can't seem to find any lists either. Someone must know what the sets are. Huh


RE: Please help with insanity events - Dutton - 06-18-2012

(01-29-2012, 09:14 AM)Your Computer Wrote: I think SetInsanitySetEnabled() relates to misc/main_sanity_events.cfg.
http://www.frictionalgames.com/forum/thread-12935.html


RE: Please help with insanity events - Chronogyros - 06-18-2012

(06-18-2012, 07:18 AM)Dutton Wrote:
(01-29-2012, 09:14 AM)Your Computer Wrote: I think SetInsanitySetEnabled() relates to misc/main_sanity_events.cfg.
http://www.frictionalgames.com/forum/thread-12935.html
Ok looks like the only set is "default". Seems like if I wanted to have a different set, I'd have to make a full conversion mod with my own custom sets defined. Thanks for the tip.


RE: Please help with insanity events - FlawlessHappiness - 06-18-2012

Also when you are ingame and press F1 you can actually play different sanity effects.. There are also names of them.. Maybe try that..