Frictional Games Forum (read-only)
Friendly Grunt (or other monsters) - 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: Friendly Grunt (or other monsters) (/thread-24003.html)



Friendly Grunt (or other monsters) - KiraImmortal - 12-01-2013

Do someone know, how to disable insanity drop on an enemy (when you look at it you will see the screen the way how you normally do), to make it friendly to the player (it will not attack even if it sees me)?

In my upcoming full conversion mod you can play as a grunt, and i want the others grunts to ignore me. Thanks for any useful ideas!


RE: Friendly Grunt (or other monsters) - ingedoom - 12-01-2013

The first thing you wanna do is checking "DisableTriggers" inside LevelEditor
Second thing you wanna do is go into ModelEditor and open the grunt.ent, here go to settings -> user defined variables. A lot of parameters should appear and here you want to get rid of some of the grunt music, by leaving the boxes empty.
Remember not to overwrite the original grunt.ent save a custom one.

replace the grunt you put in the leveleditor with the custom one which should be saved inside you custom story folder along with all the .dds, .mat, and .msh files, and don't forget animations.

Good luck


RE: Friendly Grunt (or other monsters) - DnALANGE - 12-01-2013

SetEnemySanityDecreaseActive("YOURMONSTER", false);
-
READ THIS :
Works only with the NEW patch!
-
Download here : [url]http://www.frictionalgames.com/forum/thread-23378.html[/url]
+
What ingedoom said :
"DisableTriggers" inside LevelEditor


RE: Friendly Grunt (or other monsters) - KiraImmortal - 12-01-2013

thanks for the reply! is there any other way to disable sanity without the new patch (i have it of course, but i'm working on a modification for machine for pigs with it)? i've played the mod Cycles, in that one there were many enemies that didn't have sanity drain effect and i'm sure i didn't have the new patch installed and it worked without it. well maybe i should check it again.


RE: Friendly Grunt (or other monsters) - DnALANGE - 12-02-2013

(12-01-2013, 10:57 PM)KiraImmortal Wrote: thanks for the reply! is there any other way to disable sanity without the new patch (i have it of course, but i'm working on a modification for machine for pigs with it)? i've played the mod Cycles, in that one there were many enemies that didn't have sanity drain effect and i'm sure i didn't have the new patch installed and it worked without it. well maybe i should check it again.

As far as I know those weren't ENEMY'S...
I think they were set to NPC.
I am not sure, havent played that mod.
For you question as far as i know.
NO, there isn't any other way of doing that.
Only with the new funtions Patrik has added it is as i said above.
If i am wrong here in apoligize :O


RE: Friendly Grunt (or other monsters) - WALP - 12-02-2013

Cycles was using its own .exe though, and I have strong suspicion it was the same one as the new patch but renamed.


RE: Friendly Grunt (or other monsters) - KiraImmortal - 12-02-2013

ok, thanks! Big Grin