Frictional Games Forum (read-only)
[SCRIPT] Disable Enemy 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: [SCRIPT] Disable Enemy effects? (/thread-43561.html)



Disable Enemy effects? - goodcap - 03-29-2016

I am using the movable gent and when you look at him you get the effect when you look at an enemy. How do i disable that effect? Disable Triggers and Hallucination are the only options I can pick from.


RE: Disable Enemy effects? - Mudbill - 03-29-2016

I think you must edit the game.cfg file for a full conversion mod to do that. Isn't it possible to make the gent an NPC rather than an enemy?


RE: Disable Enemy effects? - Spelos - 03-29-2016

To turn off the sanity drain, use:
PHP Code:
SetSanityDrainDisabled(true); 

But really... I would oppose to Mudbill, because since 1.3 we have:
PHP Code:
SetEnemySanityDecreaseActive("enemyName"false); 
That is most likely what you're looking for.


RE: Disable Enemy effects? - Mudbill - 03-30-2016

As long as that one removes the blur effect while looking at the enemy, then it's good to go!

Despite being the one to list every one of the 1.3 functions on the engine scripts, I hardly remember them.