Frictional Games Forum (read-only)
Disabling insanity script?! - 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: Disabling insanity script?! (/thread-14295.html)



Disabling insanity script?! - pizzaclutch - 03-27-2012

Hey guys.
I just started making my first custom story.

I am no pro at the scripting syntax nor do I realize the extent of what exactly I can do with the scripts.
I can figure it out.. but I am wondering if there is a way to disable insanity effects within my custom story.
I wonder this because I want my story to be exceptionally dark, with very minimal lighting; I do not want to have the player becoming insane and dropping to a crawl because of this fact.

I also wonder if it is possible to edit the intensity / brightness and / or radius of the light provided by a lantern. For my proposed idea of the map, I feel as if the lantern provides TOO much light for my liking.

Any thoughts? Thanks!






RE: Disabling insanity script?! - Your Computer - 03-27-2012

SetSanityDrainDisabled, though this would still allow sanity loss by looking at monsters and by dealing sanity damage. If you make a full conversion, you can control at what amount of light sanity is lost in, how fast the player loses sanity, etc.


If you post in the wrong section, DO NOT duplicate the topic in the correct section. There's a REPORT feature of the forums: use that instead to report your own topic.


RE: Disabling insanity script?! - pizzaclutch - 03-27-2012

Awesome, thanks!

and, alright, will do if it happens again. lol.



RE: Disabling insanity script?! - Adrianis - 03-28-2012

(03-27-2012, 10:55 PM)Your Computer Wrote: SetSanityDrainDisabled, though this would still allow sanity loss by looking at monsters and by dealing sanity damage. If you make a full conversion, you can control at what amount of light sanity is lost in, how fast the player loses sanity, etc.
Is it possible in a full conversion to change the blue glow lighting when the player is standing in darkness?



RE: Disabling insanity script?! - SilentStriker - 03-28-2012

(03-28-2012, 02:29 PM)Adrianis Wrote:
(03-27-2012, 10:55 PM)Your Computer Wrote: SetSanityDrainDisabled, though this would still allow sanity loss by looking at monsters and by dealing sanity damage. If you make a full conversion, you can control at what amount of light sanity is lost in, how fast the player loses sanity, etc.
Is it possible in a full conversion to change the blue glow lighting when the player is standing in darkness?
I think it's possible to disable that





RE: Disabling insanity script?! - Your Computer - 03-28-2012

(03-28-2012, 02:29 PM)Adrianis Wrote: Is it possible in a full conversion to change the blue glow lighting when the player is standing in darkness?

Player_Darkness::AmbientLightColor might be what you're looking for.