Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Portal 2 - Flipped and Colored Cubes

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,320
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 16, 2011

Plowed through the last several books of the Codex Alera by Jim Butcher since my last map. Good Stuff.

This is part of a test map I made to play with logic_measure_movement. Sadly, collision physics aren't updated. I came across a script on ThinkingWithPortals that might do that, but I need to find it again.

The first room is rather buggy. The reflecto cube randomly switches between the measured position and its physics collision position. I should offset the button or laser to make it line up easier.

The second room was fun and frustrating. I intentionally broke my map a couple times by putting double quotes in i/o parameters to try to change the color, but found the Color input works despite not being in the fgd (ent_info command ftw).

I originally wanted the buttons to cycle through colors everytime the cube's color was changed. However, I had (and still have) no idea how to keep track of both the button and cube colors, pass & compare them, and fire the right outputs. I could simply enable/disable buttons, but I need to find out if their leftover physics collisions still trigger outputs (the model will hide, but the physics remains). 3-point rotations might work.

So, currently, the cube's color is flagged with booleans (branches) and each button checks for their corresponding color flag. That check sets another branch which fires the desired outputs.

The rings are finicky. If they aren't visible at the start, they turn on but don't show. You then have to turn them off and on again to get them back. Furthermore, if you use a linked portal, the rings flicker until you enter their portal area.

I wanted to have a prop_linked_portal_door spin around in the first chamber, but whenever I set a parent, the door would teleport itself somewhere out of the map (checked by manually opening its partner). I officially hate prop_linked_portal_doors, they are too unwieldy. I'll have to see if putting them in the same space as a world brush will park them where I want.

Perhaps I should try scripting. Everything I've done so far has been with entities in Hammer.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Entrophoria)

  • Can you explain to me how you changed the color of the cubes? I didn't entirely understand your explanation in the description. Thank you.

  • @BOB74j I used a trigger_multiple set to respond to cubes and used OnStartTouch:cube:Color:255 0 128. It doesn't show up as a valid i/o, but if you use ent_info prop_weighted_cube in the console, it shows as a valid input. FGD tweak should fix that.

  • @Entrophoria That worked. Thank you!

  • @BOB74j You're welcome.

    I'm curious to see what you do with it.

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • That Is SOOOOOOOOOOOO Cool! O o O

  • Those sphere thingies are so SHINY!!! O.o o.O That is cool!

  • That is so cool!

  • Amazing once again

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more