Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button that opens and closes doors
Kanthos Offline
Junior Member

Posts: 48
Threads: 7
Joined: Oct 2015
Reputation: 1
#1
Button that opens and closes doors

Hey guys.

I want to make a door that i can open and close with a button. I have a door, i have a button, but what comes next? Big Grin

The other thread could not help me out :/

Greets
10-03-2015, 10:45 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#2
RE: Button that opens and closes doors

Click on the button, go onto Entity - Connections

In ConnectedEntity put in the door entity's name, change it to something more simple for ease (like door_1), make sure the button's entity options have Button on it

Press Enter, now go onto the door

Do the same as step 1 but put in the button's name

That should be it! Big Grin
10-03-2015, 10:51 PM
Find
Kanthos Offline
Junior Member

Posts: 48
Threads: 7
Joined: Oct 2015
Reputation: 1
#3
RE: Button that opens and closes doors

Tried it, but nothing happend Sad

I´m using the swingdoor_tau_radiation and the deepsea_small_non_uw (button).

Thx!
So. It´s 2am Big Grin

I tried it with "normal" slidedoors and it works. But not for the swingdoors Sad

Greets
10-03-2015, 11:07 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#4
RE: Button that opens and closes doors

Oh, well vault doors are more complicated...

Can you take any screenshot's of what you are doing?
10-04-2015, 02:08 AM
Find
Kanthos Offline
Junior Member

Posts: 48
Threads: 7
Joined: Oct 2015
Reputation: 1
#5
RE: Button that opens and closes doors

Sry, it´s rly late. Maybe tomorrow :/

Any hints without pic?

Greets!
10-04-2015, 02:26 AM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#6
RE: Button that opens and closes doors

Vault's like the ones in Tau use a separate animation when a button is pressed, when you use something like a swing door, you just need to use the Connections area of the button and the door.

http://imgur.com/a/p1LDi

Read it from the bottom up, the instructions are upside-down! Blush
(This post was last modified: 10-04-2015, 08:59 AM by A.M Team.)
10-04-2015, 08:58 AM
Find
Kanthos Offline
Junior Member

Posts: 48
Threads: 7
Joined: Oct 2015
Reputation: 1
#7
RE: Button that opens and closes doors

Here´s a screenshot:
https://www.dropbox.com/sh/70xudpmijcknp...Ohi2a?dl=0

I did your instructions like a thousend times Sad It´s not working that way.

Greets!
10-04-2015, 01:49 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#8
RE: Button that opens and closes doors

again look at how frictional did it. Look for the door scripts in the .hps file for the Tau level and check if theres done any setups to the models inside the level editor.
10-04-2015, 01:56 PM
Find
Kanthos Offline
Junior Member

Posts: 48
Threads: 7
Joined: Oct 2015
Reputation: 1
#9
RE: Button that opens and closes doors

I did that, but couldn´t find anything in the script. Also i looked at the doors entitiy settings, which confused me even more, because the only things changed from standart were connectedlights.

I have to say i´m not long into this editor ^^ so, thanks for helping a noob out Smile

Greets
10-04-2015, 02:09 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#10
RE: Button that opens and closes doors

Find the names of the related entities in the level editor. Then search for them in your scripting software (fx codelite, notepad++, atom, etc). one of the search results should be the script used for the asset.
10-04-2015, 02:29 PM
Find




Users browsing this thread: 2 Guest(s)