[Help] func_tanktrain-related issues

  • If you're asking a question make sure to set the thread type to be a question!

Cylosis

L1: Registered
Jul 15, 2012
5
1
First off, apologies if this is in the wrong section, there wasn't really much direction as to where to put threads that abuse you guys as a help hotline, so I stuck it among people like myself.

I've spared the details and context of the issue I've run into and thrown all of the problem bits into a small example map. Here I've ripped the control panel off of the original map and placed it on a platform.
D0D8D1A1A63ABE637219ADB0784BF18731DC0BF5

Here it is up close. The up arrow is to raise the staircase, the down one is to lower it.
2BFD56DEFE6C1FFD8D722BF71E87CCF937E986E3

Raises up just fine.
EDDECDB786870A3DC171AD057C498D079225147D

However, when the down arrow is pressed, the staircase does not retract into the ground. This is because I have no idea how to make it do that.
4651672D19DAB683F070AAEA651BFBCF387C76AD

A9409D1CABA6CB2D05591013D334FC868D18AA82

I really wanted to figure this out on my own, but after numerous attempts I had to ask around for help. I had heard that the folks here at TF2maps were more than competent in the area of mapping and might be able to give me a hand.

I've zipped everything here

If whoever reads this would take a moment and see if there's anything to be done, that would be A+
You can add me here if you need.

(Also, the two buttons to the side of the arrows are tied to two trigger_hurt entities on the regular map. The goal of them is to activate the area long enough to kill everyone, but then deactivate so it can be repeated. I have no idea how to make this work, either.)
 
T

The Asylum

got it working. To the Up button add this:

OnDamaged
divider_wall
StartForward

to the down button add this:

OnDamages
divider_wall
StartBackwards

This'll make it go both ways instead of being stuck at the top or bottom

Also for the trigger_hurt thing

Make two logic_relays, one for red and one for blu, redside_relay and bluside_relay

For the red button, delete whats there and add this:

OnDamaged
redside_relay
FireUser1

OnDamaged
redside_relay
Disable

OnDamaged
redside_kill
Disable
delay of ~10 seconds

OnDamages
redside_relay
Enable
delay of ~10 seconds

Now on redside_relay, add this:

OnUser1
redside_kill
Enable

do the same with the blu side

that'll stop people from spamming the kill button over and over again
 

Cylosis

L1: Registered
Jul 15, 2012
5
1
got it working. To the Up button add this:

OnDamaged
divider_wall
StartForward

to the down button add this:

OnDamages
divider_wall
StartBackwards

This'll make it go both ways instead of being stuck at the top or bottom

Also for the trigger_hurt thing

Make two logic_relays, one for red and one for blu, redside_relay and bluside_relay

For the red button, delete whats there and add this:

OnDamaged
redside_relay
FireUser1

OnDamaged
redside_relay
Disable

OnDamaged
redside_kill
Disable
delay of ~10 seconds

OnDamages
redside_relay
Enable
delay of ~10 seconds

Now on redside_relay, add this:

OnUser1
redside_kill
Enable

do the same with the blu side

that'll stop people from spamming the kill button over and over again
I'll go and punch this in right away, thanks!


EDIT: Works flawlessly. I cannot thank you enough for this.
 
Last edited: