Frictional Games Forum (read-only)
How to make a 'friendly' monster in Amnesia? - 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: How to make a 'friendly' monster in Amnesia? (/thread-20477.html)



How to make a 'friendly' monster in Amnesia? - Arklancer - 02-24-2013

I've been wondering if there's a way to make a monster where it doesn't attack you nor do you lose any sanity looking at it.

I know disabling the triggers and going into the user variables will make it not attack you but is there a way to look at it without losing sanity?


RE: How to make a 'friendly' monster in Amnesia? - Arklancer - 02-24-2013

(02-24-2013, 04:16 PM)Robosprog Wrote: Only in a full/isolated full conversion. And that would require editing game.cfg and stuff.

What specifically is a full/isolated full conversion?


RE: How to make a 'friendly' monster in Amnesia? - OriginalUsername - 02-24-2013

There is a script though: SetEnemyDisableTriggers(string& asName, bool abX);
That way it won't attack you, but you'll still lose sanity. The only way to do that is editing it in the model editor. I don't know how, you should just look up a tutorial or something


RE: How to make a 'friendly' monster in Amnesia? - Arklancer - 02-24-2013

(02-24-2013, 07:15 PM)Smoke Wrote: There is a script though: SetEnemyDisableTriggers(string& asName, bool abX);
That way it won't attack you, but you'll still lose sanity. The only way to do that is editing it in the model editor. I don't know why, you should just look up a tutorial or something

I checked in the model editor and i haven't seen anything dealing with disabling sanity.


RE: How to make a 'friendly' monster in Amnesia? - Knusper. - 02-24-2013

here I had the same question:
http://www.frictionalgames.com/forum/thread-20463.html

example:

void latern(string &in asName, int alCount)
{
RemoveItem("lantern_1");
SetEntityActive("servant_grunt_1", true);
SetEnemyDisableTriggers("servant_grunt_1", true); //monster off
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "Idle");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2", 0, "Idle");
}


you have to set path nodes for the monster!!!

but thats only the way to make the enemy not to attac you...


RE: How to make a 'friendly' monster in Amnesia? - Your Computer - 02-24-2013

(02-24-2013, 09:31 PM)Knusper. Wrote: here I had the same question:

It's not the same question. Editing game.cfg is the only way to prevent sanity loss from monsters (but the screen effect will remain).


RE: How to make a 'friendly' monster in Amnesia? - NaxEla - 02-24-2013

Also, keep in mind that what Your Computer said will affect ALL the enemies, not just one.


RE: How to make a 'friendly' monster in Amnesia? - Arklancer - 02-24-2013

(02-24-2013, 09:36 PM)NaxEla Wrote: Also, keep in mind that what Your Computer said will affect ALL the enemies, not just one.

Where precisely in the cfg file do I need to go to get rid of sanity when looking at a monster?