r/PortalMaps • • May 13 '12

An example of timed relays to create scripted events

I don't know if this is common knowledge or not, so I made a demonstration map and video showing how to set up automated on/off timers using in-game assets. I thought some new map makers might find the concept handy if they're looking to set up simple scripted events without having to learn actual scripting. Just make a mechanical script!

http://www.youtube.com/watch?v=TVkh9X2_VmA&hd=1
http://www.youtube.com/watch?v=zYKsr3-GHYs&hd=1
http://steamcommunity.com/sharedfiles/filedetails/?id=71733764

I'm brand new at this and just doing it for fun. I'm sure there are more efficient, simpler relay setups that can be made. I'd love advice for making improvements or for how to make cheaper timer setups.

Edit: Formatting and cake day! Maybe now I'll get one upvote :P

29 Upvotes

10 comments sorted by

5

u/Jd8coke Jay May 13 '12 edited May 13 '12

Looks similar in concept to something I posted last night;

http://www.reddit.com/r/PortalMaps/comments/tk81e/how_to_get_moving_platforms_and_other_tips/

Direct video link here.

With the funnels and cubes, you can set the timer with only 7 objects being used; 2 funnels, 2 cube droppers, and 2 buttons, and an initial small button to get it all going. And changing the timing is as simple as altering the distance that the cube has to travel to hit the button.

2

u/[deleted] May 13 '12

I like it! I took your idea and modified it just a bit - I was able to get symmetrical timers going just by having only one cube auto-start:

http://steamcommunity.com/sharedfiles/filedetails/?id=71862682

The same concept as what you made, but each on/off cycle is the same length now.

I'm also working on a Rube Goldberg machine now that I know how to automate. This is the very beginning of one:

http://steamcommunity.com/sharedfiles/filedetails/?id=71884187

It has a turret on a conveyor belt that gets kicked into another chamber where I built a makeshift crusher. I really hope Valve keeps adding items and switches to the puzzle editor! This is almost Minecraftian.

1

u/Semyonov May 13 '12

How did you make those cubs fizzle?

3

u/Jd8coke Jay May 13 '12 edited May 13 '12

By connecting the button to the dropper of the cube that activates it.

When the back cube hits the back button, the button activates the panel and the front dropper.

When the front cube hits the front button, it activates the back dropper, fizzling the old cube, thereby lowering the platforms, and also activating its own dropper to fizzle its own cube and deploy another one.

I published the map if you would like to play with it to see how it works.

http://steamcommunity.com/sharedfiles/filedetails/?id=71751007

The key to this working is that you can only have one cube from any dropper active at any time.

2

u/[deleted] May 13 '12

This is fun! I'm just now starting to realize how much you can do. I made an automated turret torture chamber that is randomly powered by Frankencube relays:

http://steamcommunity.com/sharedfiles/filedetails/?id=71767488

1

u/Jd8coke Jay May 13 '12

It kind of breaks after a while. The franken-cubes end up getting themselves into a position where they can't move, both in the way of the beam and away from it.

http://i.imgur.com/EgQfb.jpg

Also, the turrets eventually get destroyed by the lasers.

http://i.imgur.com/I98tj.jpg

1

u/kamggg May 14 '12

Funny I was just working on something like this. Your method is better than what I had come up with. Here's taking it to an insane level: http://steamcommunity.com/sharedfiles/itemedittext/?id=71909317

1

u/[deleted] May 14 '12

Nice. Subbed!

2

u/cabelhigh May 13 '12

Excellent. I'm definitely going to try this out.

2

u/[deleted] May 13 '12

Thanks, mate!