Frictional Games Forum (read-only)
Questions - 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: Questions (/thread-25442.html)

Pages: 1 2 3 4 5


RE: Unlocking door Error... - Amnesiaplayer - 06-07-2014

oohh i forgot that! (i copied from a comment in a youtube video) Tongue thanks!

uhm.. thanks but i got a problem... again i did everything on the post of that person that Explains how to do it... but if i use my key the door is unlocked but i CAN'T acces... and if i Uncheck the box (locked) i can go throug the door.. so i teleport to an other place ( yes it's an Door gate hub..)
i did everything..

EDIT:
thanks! but i found it! i just droppped a NORMAL door... and named that door1 and that other Hubdoor named something other,.. and isn't locked so i can use my key for the normal door Big Grin and then to the open Hub Big Grin (srry for bad english)
thanks!


(picking key) *steve comes* - Amnesiaplayer - 06-07-2014

is it possible...
when pickin up a key Steve will come ?!
i think it is possible... can someone give me link :S where they tell how to do it... srry but i'm a noob in this forum...


RE: (picking key) *steve comes* - DnALANGE - 06-07-2014

Uh...
Before we go into this..
Steve i guess is an enemy..
Here is the script for:
PHP Code:
OnStart()
{
SetEntityPlayerInteractCallback("YOURKEYNAMEHERE""ShowSteve"false);


//Here is the exctual script.
PHP Code:
void ShowSteve(string &in asEntity)
{
SetEntityActive("THEENEMYNAMEHERE"true);
ShowEnemyPlayerPosition("THEENEMYNAMEHERE");//This will set the enemy to attack the player whereever the player is.


I guess this is something you want..


RE: (picking key) *steve comes* - Romulator - 06-07-2014

Steve is the grunt apparently.


RE: Unlocking door Error... - DnALANGE - 06-07-2014

As we tell a "Hubdoor" is a
PHP Code:
SetLevelDoorLocked("level_orb_room_door_1"false); 
//This is a LEVEL DOOR.
Witch means that a
PHP Code:
SetSwingDoorLocked("Swingdoor"truefalse); 
is NOT the same as a LEVEL door.
A Swingdoor you can open and close.. a Level door you can NOT.
Keep that in mind.


RE: (picking key) *steve comes* - DnALANGE - 06-07-2014

I guess so as well Rom*.


RE: Unlocking door Error... - Amnesiaplayer - 06-07-2014

ow... Thanks! i will Remind this! i hope.!!!!
thankyouBig Grin


RE: (picking key) *steve comes* - Amnesiaplayer - 06-07-2014

Yes! i mean that|! if i pick the key steve will come out the Closet! so he will attack me Big Grin so i have to put this in my HPS and the names... okey i try!

Thanks man! it worked!!!
now i know must things about that jumpscare things. Big Grin i guess..


Where ?! - Amnesiaplayer - 06-07-2014

Where must i type void OnLeav() ?!
on 01.hp or 02.hps ?


OnLeave() where to locate - Amnesiaplayer - 06-07-2014

i have2 map (for now) and one HPS file and i see you can use 1 Hps file with the exact same name as the Map name... so i made an second hps file but it says Error ?! if i go to the other map (in gameplay) it says something with the ...???OnLEave() blabla ?
can someone help me ?