Frictional Games Forum (read-only)
Play as an npc in amnesia the dark decent - 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: Play as an npc in amnesia the dark decent (/thread-20754.html)

Pages: 1 2 3 4


Play as an npc in amnesia the dark decent - Erik The Born - 03-15-2013

Hello, I dont really know where this thread should go but I think this section might do. I am wondering if i can play as an NPC in Amnesia? Example playing as a brute or grunt. (Yeah playing as the Guardian isnt really simple though lol). How would i do that? We just have to make the camera stuck to an npc and make it controllable hmm. and also make it able to attack. and hurt others. That might be harder since theres no death animation for them. But lets make them go up in acid after you hit them a couple of times. OR maybe just make them a ragdoll like a dead body.
Also we must have a third person mode. Pherhaps a way to toggle third person mode. and in first person mode you just delete the head so it wont be in the way.

Thanks for your help.

Smile


RE: Play as an npc in amnesia the dark decent - Mine Turtle - 03-15-2013

(03-15-2013, 08:09 AM)Erik The Born Wrote: Hello, I dont really know where this thread should go but I think this section might do. I am wondering if i can play as an NPC in Amnesia? Example playing as a brute or grunt. (Yeah playing as the Guardian isnt really simple though lol). How would i do that? We just have to make the camera stuck to an npc and make it controllable hmm. and also make it able to attack. and hurt others. That might be harder since theres no death animation for them. But lets make them go up in acid after you hit them a couple of times. OR maybe just make them a ragdoll like a dead body.
Also we must have a third person mode. Pherhaps a way to toggle third person mode. and in first person mode you just delete the head so it wont be in the way.

Thanks for your help.

Smile

We also have to make a model of Daniel, and animations for him, so that you can actually see who you're cutting up. Also; playing from a 3rd person perspective would make the camera bounce outside the map, instantaneously ruining the experience and atmosphere of the game.

No. This should not happen; mainly because it is absolutely useless, and only going to be satisfactory for the player for right around 5 minutes until you get bored of it.


RE: Play as an npc in amnesia the dark decent - Erik The Born - 03-15-2013

Its not useless. Whenever theres an enemy you always have to hide. But if you were one of them you could fight back. I was planning on making a custom story wich you play as rather as grunt or a brute. You can walk, run, and attack. Attacks can hurt but theres no death animation or actual health for the enemys. So thats custom added aswell. They enemys gets ragdolled after being attacks 2 times by brute, or 4 times by grunt. Getting bored? No. Atleast I wouldnt... But is there anyway of achieving this? i got a high feeling it does. Just need to know how.


RE: Play as an npc in amnesia the dark decent - WALP - 03-15-2013

(03-15-2013, 02:55 PM)Erik The Born Wrote: Its not useless. Whenever theres an enemy you always have to hide. But if you were one of them you could fight back. I was planning on making a custom story wich you play as rather as grunt or a brute. You can walk, run, and attack. Attacks can hurt but theres no death animation or actual health for the enemys. So thats custom added aswell. They enemys gets ragdolled after being attacks 2 times by brute, or 4 times by grunt. Getting bored? No. Atleast I wouldnt... But is there anyway of achieving this? i got a high feeling it does. Just need to know how.
please keep in mind you dont have acces to most of the code so you are very limited and will have to do some serious work-arounds for some of the things you want to do, if they are at all possible.
but good luck anyway :D


RE: Play as an npc in amnesia the dark decent - xxxxxxxxxxxxxxxx - 03-15-2013

Maybe you should ask the guys who are working on the Resident Evil mod for Amnesia. From what I've heard they've implemented a firearm of sorts that's actually causing damage to an enemy. They may have an idea or two for creating a melee system, too.


RE: Play as an npc in amnesia the dark decent - Erik The Born - 03-15-2013

Uhhmmm thnx but i dont really have any idea how to do this XD. I was hoping I could find a guy here who can make this possible.


RE: Play as an npc in amnesia the dark decent - ExpectedIdentifier - 03-15-2013

(03-15-2013, 05:35 PM)Erik The Born Wrote: Uhhmmm thnx but i dont really have any idea how to do this XD. I was hoping I could find a guy here who can make this possible.

It's only possible from a first person perspective as far as I'm aware. You can make it appear as though you are the monster by having areas where interacting with something, say a door, would play the monster attacking sound, and reducing the prop health. You could also do some effects like adding some blur and changing the FOV. Also having the monster noises playing at the player's location. You would not see any animations when the character attacked though. As for attacking other things, I don't think it's possible. I think the enemies do actually have health, although nothing in the game can actually effect it. It might be possible (but probably not) to make it so that when you click on a enemy, it would reduce it's health, and once the health was less than 1 you could call the SetEntityActive function and set it to false and play a particle effect at the monster who was "dying"'s location. If changing the enemy's health does not work you could also make int variables for each enemy you want to be kill-able. When you've clicked a certain amount of times, say 3, use an if statement to check if(GetLocalVarInt("HowManyTimesYouveClickedTheEnemy") == 3)
{
SetEntityActive("Enemy_01",false);
CreateParticleSystemAtEntity("Particle", "ps_particle_system", "Enemy_01", false);

}

The first bit is definitely possible, not sure about the killing the enemy to be honest as it has no PlayerInteractCallback to call a function.

Just FYI, I think doing this in Amnesia is pretty stupid (although it could be quite fun, but totally goes against the entire point of the game and would kill any atmosphere created.) Amnesia was meant for atmosphere and fear in my opinion, not killing things.


RE: Play as an npc in amnesia the dark decent - tonitoni1998 - 03-15-2013

this sounds like an idea, you had when feeling very creative, and without really thinking about it. sure you could do it somehow. this game was made somehow. but you dont sound like a guy who is very familar with scripting. i am sorry, but i guess the less of us can do that. it would be too much work to design a model of daniel, to animate it, to do all the scripting so that daniel will run away and hide intelligent. so it might be a nice idea, but i think its not really possible for people like us.


RE: Play as an npc in amnesia the dark decent - ingedoom - 03-15-2013

Well.. It sounded like you would want to be able to fight back... This can be done in a lots of ways. I would probably start in the monster file and reduce the damage it does on a hit, and also it's health.
This i quite easy..
Now for the players damage... Actually the left click button is called "Attack" so i think it should be possible to go into the game config file and from there increase the damage of the player. For example when you smash the stone wall and the window in the original game (when you do it by hand) you actually apply damage to it. I don't know much about the animations though, but if you want it to look realistic, for the love of god just choose another game.. But nice ideas though. Amnesia just isn't fit for them i'm sorry.


RE: Play as an npc in amnesia the dark decent - PutraenusAlivius - 03-16-2013

Sorry, but i have to say no. Amnesia is meant to in strike fear. Playing as an NPC or a Monster ruins it.