[Solved] Falling

Avatar
KFredje
55 Posts
Posted Jun 05, 2012
Hi,

In the single player story you fall down to the really bottom of Aperture Lab. When you hit the ground a new map loads and it is like you're standing up. How can I achieve this?

Advertisement
Registered users don’t see ads! Register now!
Avatar
Brainstone
401 Posts
Posted Jun 05, 2012
Replied 6 minutes later
a point_viewcontrol is what you are searching.
I decompiled said map shortly before and I am currently using point viewcontrols in my map.

To be exactly, the point viewcontroller is parented to an attachment point(vehicle_driver_eye) of a prop_dynamic with a model called "blackout", which plays a certain animation called "exit1".

It would be easier if I just sent you said vmf, wait a minute...

EDIT: Do you want it from the start of the map or later on?

EDIT2: I have created an instance for you. Place it in your map and then give it the input: Instance:blackout-start;Trigger
You can modulate $layingStillTime and $FadeTime.
And if you don't want the wakeup scene at the start, but at the middle of the level, edit the instance by removing info_player_start and give the same input.

Attachments
WakeupScene.zip
0.00 MB 20 downloads
Avatar
KFredje
55 Posts
Posted Jun 05, 2012
Replied 25 minutes later
Wow, tnx a lot, I'll gonna try it :smile:

Edit: I'm probably doing this so wrong...

I made a func_instance, and named it Start. I added a trigger_once and added there the Instance:blackout-start;Trigger. But it appears I'm just spawning in the ground...what am I doing wrong? :smile:

Avatar
Brainstone
401 Posts
Posted Jun 05, 2012
Replied 1 hour later
My bad, the relay isn't named blackout-start, but knockout-start.
You can make use of Hammer's auto-correct: Create a trigger once, then give it the output: OnStartTouch-->Start(Or another name if you have named the instance differently).
Now click on the little arrow beneath the "My output" field. The right thing should pop up automatically.
Avatar
KFredje
55 Posts
Posted Jun 05, 2012
Replied 38 minutes later
Still not working hmm :sad:

This is what I have: A logic_auto that "OnMapSpawn" your instance "instance:knockout_start;Trigger" triggers. The thing is, I automatically spawn on the 0,0,0 X,Y,Z coordinates. I don't know what I can do more.

Avatar
Paradoxic R3mix
87 Posts
Posted Jun 05, 2012
Replied 42 minutes later
I hope i'm not intruding, but I think you need to include an Info_player_start inside of your map. The player-like model is actually an info_teleport_destination, but I may be wrong, I haven't tested it out yet, but I will soon. :lol:

EDIT: Nevermind, disregard what I said. :S

Avatar
Brainstone
401 Posts
Posted Jun 05, 2012
Replied 1 hour later
I have just tested it out and found out the following: Point_viewcontrollers don't work when they are in instances.

Solution: Select the instance, go to the Hammer menu bar: Instancing->collapse->selection.
Then search for the right relay and copy its name. (It should be "AutoInstance1-knockout_start" if you have no other instance collapsed in your map yet.)
No give the logic_auto or whatever entity the following output:
OnWhateverEvent-->AutoInstance1-knockout_start-->Trigger

And you`re done, I've tested it.
Then you can also delete that green player entity in the middle of the instance. It is useless.

Avatar
ChickenMobile
2,460 Posts
Posted Jun 06, 2012
Replied 18 hours later
If that ain't working, try the one prepared earlier: mapping-help/implementing-a-wake-up-camera-sequence-t6268.html
Advertisement
Registered users don’t see ads! Register now!
Avatar
KFredje
55 Posts
Posted Jun 06, 2012
Replied 5 hours later
I got it working after a little change to the trigger disabling the timer which wasn't done so you kept respawning. Tnx a lot for the help :smile:

My new map will be soon released :smile: