Please or Register to create posts and topics.

Implementing a "wake up" camera sequence

Page 1 of 4Next

Hey. Inexperienced mapper here! Working in Hammer, I'm curious to know how one could execute a sequence in which the player awakens, similar to the start of the game or waking up after falling into old aperture for the first time, where the camera begins looking up and then moves up to take the regular first-person view as if the character were awakening and getting up.
I'm mostly interested to hear what a good way to do this in Hammer is without necessarily trying to sort through and decompile maps from the game to find it. Any experts out there have advice on this?
Thanks, and I look forward to sharing whatever maps I build with the community in the future!

Here's the tutorial from Portal 1: https://developer.valvesoftware.com/wik ... ake-up_bed

It's the same general method, but the model might not be called blackout in Portal 2. So try to find that camera motion model and then try to follow the tutorial.

My Maps:
[spoiler][SP] Alternate[/spoiler]

Ah, thanks a lot! I couldn't find that page in the wiki before, the link is much appreciated.

What valve did was use a point_viewcontroller where the camera was parented to an attachment point in an animation which was played at a certain event.

The player is teleported to the map after the animation has finished (the player was in a black room previously) and the camera is then disabled and removed from the map.

If that sounds confusing.. here's these instances...

knockout.7z

Place these inside your portal 2/sdk_content/maps/(your instance folder name here) and place these inside your map as instances. Make sure to remove any info_player_start that is in your map to get this to work at startup of the map.

To trigger the animation / knockout sequence: create a logic_auto and create a new output; 'OnMapSpawn -> 'name of your knockout.vmf instance' -> instance:knockout_start;Trigger

If you want the player to not get up at the start of the map, all you need to do is create a teleport that teleports to the black room (which is knockout_spawn.vmf) and trigger the knockout instance as above.

?????????????????????????????TWP Releases | My Workshop

edit: Nevermind, I solved the issue

Chickenmobile, I wish I could make you double community contributor or something. You post awesome helpful stuff.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
msleeper wrote:
Chickenmobile, I wish I could make you double community contributor...

You totally could.

Nacimota wrote:
msleeper wrote:
Chickenmobile, I wish I could make you double community contributor...

You totally could.

DO IT!! I mean... Oh shucks :S

?????????????????????????????TWP Releases | My Workshop

You can also take a look at my portal 1 wakeup room instance:
Relaxation vault.

Okay I did it. Close enough.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Page 1 of 4Next