Frictional Games Forum (read-only)
Insanity Area CS Setup - 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 Area CS Setup (/thread-17620.html)



Insanity Area CS Setup - Theforgot3n1 - 08-09-2012

Hello.
So I'm using the insanity areas on my maps. The problem is however that I can't modify the redist > misc > main_sanity_events.cfg, without doing a FC.
I tried putting main_sanity_events.cfg into my CS folder, and then into misc > main_sanity_events.cfg, but that didn't do anything it seems like.
The question: Can I somehow arrange my own main_sanity_events.cfg for a CS?

Anyone with knowledge on this? I've been looking around a bit about insanity areas but surprisingly few are paying attention to it's use. Especially for FC:s and such.


RE: Insanity Area CS Setup - Adny - 08-09-2012

I think you can use the function:

SetInsanitySetEnabled(string& asSet, bool abX);


Use the name of the sanity event inside the .cfg file as the string (i.e. "Bugs_Single", "Particles_Flies_Long1", etc).

For the record, I've never tried/tested this, but I think it will work.

Hope that helped.


RE: Insanity Area CS Setup - Theforgot3n1 - 08-10-2012

Oh I see. Will try that out. Marking as solved for now. Thanks! xD