Enter Half-Life Re-imagined, our current competition!
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to Bear, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Valve Predictions 2017

What's the most likely thing Valve will release this year?

Nothing

18

A new game

3

More overpriced hardware

8

Source 2 SDK

11

An army of evil killer cyborgs

5

The hounds

8

Onliners

35 secs

James Luke

11 mins

Jessie

18 mins

Penguinboy

45 mins

Suparsonik

51 mins

Shepard62700FR

1 hours

Bruce

1 hours

Ghost129er

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

3 Door Logic

Map Vault > Example Maps

map screenshot

star star star star star
(1 votes)

[More Screenshots]

Avatar

By Tetsu0 (See more)
16th November, 2014

Half-Life
140.22KB - RMF
581 views
160 downloads
3 comments

Last edited: 16th November, 2014

download

This map provides a solution to the problem described here: http://twhl.info/journals.php?id=8465

Synopsis:

Three doors; A, B, and C are set to be usable, and togglable.
Door C can only be used if Door A is open and door B is closed.
Doors A and B can only be used if Door C is closed.

Solution:

By default, when the map loads, all outputs are off.
There is a trigger_auto that triggers a multisource that toggles the output states of relays.


Door A targets Door_C_Master
Door B targets Door_B_Inverter
Door_B_Inverter targets Door_C_Master
When door b is open(on), door b inverter forwards an "off" signal
Door C targets Door_C_inverter
Door_C_Inverter targets A_B_Master
When door c is open(on), door c inverter forwards an "off" signal

SO:

When door c is on, the A&B master is DISABLED so doors a and b cannot be used
when door A is open and B is closed, both signals going to the master are "on" (because the b signal is inverted)
In all other combinations of doors A and B, Door_C_Master is disabled, preventing it from opening.

Comments

avatar Captain Terror says: star star star star star 16th November 2014, 20:50 PM
Really, awesome work on this, it's something I would never have been able to figure out using relays/multisource. Thanks also for the nice explanation and diagram inclued with the download ;)
avatar Instant Mix says: 19th November 2014, 16:38 PM
Isn't this just computation & logic? Could it be expressed as a FSM and then translated to multisource from there?
avatar Tetsu0 says: 19th November 2014, 17:44 PM
FSM?
It boiled down to figuring out how to invert logic. I've never done it before.
You must be logged in to comment.