Frictional Games Forum (read-only)
Terminal Computers from Penumbra Black Plague - 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: Terminal Computers from Penumbra Black Plague (/thread-30328.html)



Terminal Computers from Penumbra Black Plague - SwingsDarkCreeps - 07-28-2015

I remembered phases from Penumbra Black Plague when the player could interact with "terminal computers" - "surfing" the desktop and entering into folders in order to introduce passwords for unlocking the doors. I wonder how can I make something like thatHuh...what do I need to do?(I'm curious about script as well);(I want to do this in my Amnesia CS)... hmm...if you guys can lend a hand to help with this I would be pleased and your reputation will grow as well because of meBig Grin.


RE: Terminal Computers from Penumbra Black Plague - Daemian - 07-28-2015

Wrong forum, you should post it here: https://www.frictionalgames.com/forum/forum-39.html

I think they trigger first a FadeOut followed by a TeleportPlayer.

Oh, wait you can move the mouse pointer and navigate right? I'm afraid in Amnesia that is not possible.
I thought you wanted to zoom in and interact with numbers.


RE: Terminal Computers from Penumbra Black Plague - Kreekakon - 07-28-2015

Moved to correct section.


RE: Terminal Computers from Penumbra Black Plague - Mudbill - 07-28-2015

Palistov actually managed to do something like this, but it still puzzles me how to this day. I can't find the video on his channel, but if I remember correctly, it was unlisted. I think I found the link on this forum quite some time ago.


RE: Terminal Computers from Penumbra Black Plague - FlawlessHappiness - 07-28-2015

I've been thinking about doing this by having the player in a room with a giant billboard as a screen.
The player would be forced to look forward. Very close to the point where he is looking are 4 areas.
Like this:
..||..
||x||
..||..
If the player looks up, the mouse will move up a little bit, and the player's look is forced back to the default position (Probably by teleporting, since it defaults the vision).
There, should also be an area in the middle, so that the player can click on stuff, if he wants to.


RE: Terminal Computers from Penumbra Black Plague - SwingsDarkCreeps - 07-30-2015

This object"level00_computer_terminal" -is not a interactable object , so I decided to use /SetEntityPlayerInteractCallback/ but using an area;
I made this!:

void OnStart()
{
SetEntityPlayerInteractCallback("AreaComputer", "ComputerFunction", true);//this is when Player interact with the specific Area which include the terminal computer function;

SetEntityPlayerInteractCallback("AreaIcon1", "InteractIcon1", true);//this is after the player was teleported to "position1" and attempting to interact(to click-but there is no cursor so he use the hand but no matterSmile)with icon1 from desktop;
}

void ComputerFunction(string &in asEntity)
{
TeleportPlayer("Position_1");
FadeOut(2.0f);
FadeIn(3.0f);
SetPlayerMoveSpeedMul(0.0f);
SetPlayerRunSpeedMul(0.0);
SetPlayerLookSpeedMul(0.3);
SetPlayerJumpDisabled(true);
SetPlayerCrouchDisabled(true);
}

void InteractIcon1(string &in asEntity)
{
TeleportPlayer("Position_2");
SetPlayerMoveSpeedMul(0.0f);
SetPlayerRunSpeedMul(0.0);
SetPlayerLookSpeedMul(0.3);
SetPlayerJumpDisabled(true);
SetPlayerCrouchDisabled(true);
}

It worksBig Grin;so practically I disabled (the Player's) Jump;
RunSpeed;
MoveSpeed;
Crouch.
and leaving just LookSpeedMul to a low value;Smile
ok, but this was quite easy.


RE: Terminal Computers from Penumbra Black Plague - SwingsDarkCreeps - 08-27-2015

I will put soon some updates at functional terminal computer