Portal 2

Portal 2

Human Cooperative Testing
24 Comments
Timmy Boy Jan 13 @ 12:34pm 
Human: Goes into the elevator and leaves.
Me: NOOO DONT LEAVE ME D:<
Map: Here, an elevator just for you.
Me: Oh, nice. Enters im comin' for u boi
MarvinG Mar 8, 2025 @ 12:00pm 
I found the reason why demos stop npcs from stuttering!
Through some testing I've found out that if cl_localnetworkbackdoor is set to 0 it has the same effect on npcs as recording a demo. cl_localnetworkbackdoor is a network optimization that sits between the client and the internal server. It works by limiting the number of packets the server sends to the client. From what I can tell it doesn't really matter if you turn it off since this optimization was almost certainly made to squeze as much performance as possible out of older systems.
Crzy Feb 17, 2025 @ 6:03pm 
The npc doesn't follow me through portals, for some reason.
grouchy Jan 30, 2025 @ 7:42pm 
i verbally abused him
chillgamesh Jan 28, 2025 @ 5:53pm 
fun little dude. when he stole my elevator i was like >:O ... It would help if we could direct the guy with a simple interaction or two? Something like press a key to start/stop following, maybe one to tell him to move from far away. I dunno how easy this would actually be to implement but currently you spend more time trying to position him than solving the test.
ENDER Jan 25, 2025 @ 12:18am 
Factum Solus 2
ENDER Jan 25, 2025 @ 12:16am 
i need more
Igrium Jan 23, 2025 @ 3:33pm 
I gotta say, it's a neat idea, but I ended up rage-quitting because it's impossible to get him to do what you want.
MoistSkittles  [author] Jan 23, 2025 @ 11:11am 
It fixes the walking/running animations but I have no idea why
BraveCaperCat Jan 20, 2025 @ 12:41pm 
Do you know why you have to record a demo to fix the NPC issues?
Da Tuck Jan 18, 2025 @ 11:35am 
i have fren :)
MoistSkittles  [author] Jan 14, 2025 @ 9:16pm 
Yeah, it was never going to be perfect. Most of the support for humanoids is removed in Portal 2, and this was made using only hammer logic, no vscript. I was drawn to it for the challenge and I love a good problem to workaround. What's important is that I had fun making it and it's completely playable, as well as being a one of a kind achievement I hope will inspire people to experiment more with humanoids in Portal 2.
Crimson Phoenix Jan 14, 2025 @ 4:51pm 
Cool idea, although it is really hard to complete the map because of how the NPC acts. I understand completely that it would be hard to code an NPC, but this thing is weird. It also has gone through doors and laser fields, which I don't know if that's supposed to happen, but it's kind of weird. Despite this, it is a well built map, and I'm sure it took you good time and thought. I just know that the NPC was meant for Half-Life rather than test solving. Thank you for the map. 8/10
M-A-R-K-74 Jan 13, 2025 @ 11:02pm 
Really funny, two lifts :steamhappy:
DrPeeper(@The Mover Cell) Jan 13, 2025 @ 9:05pm 
is there some way to actually control the guy?
sitkinator Jan 13, 2025 @ 8:40pm 
There is some chance NPC navigation could be somewhat smoother actually.

VScript from what I've seen is very powerful, so if someone skilled enough could sit down and figure out a basic navigation system for NPCs, it could really help with making stuff like this a smoother experience.
sitkinator Jan 13, 2025 @ 8:30pm 
This is impressive considering most people thought this stuff would be impossible after the generic_actor entity broke, although it does demonstrate how important info_nodes are to NPCs in Source since in Portal 2 they are disabled. While the NPC is functional, it does reek of Hammer jankiness and is hard to play with, although not much that can be done in that aspect.

I do hope this can bring in a new age of walking human NPCs for scripted sequences, maybe even original characters?
MoistSkittles  [author] Jan 13, 2025 @ 3:40pm 
If you're still within his range 2 seconds after he moved onto a button, he'll start following you again. Make sure you're backing away from him as soon as he's on a button, and that you're not getting too close to him if you don't want him to start following you again. Keep in mind he won't stay on the button in the room you meet him in
Muggy Nuggy Jan 13, 2025 @ 3:26pm 
This is a amazing idea you should make more maps like this one
Cooligan Jan 13, 2025 @ 2:24pm 
how do you get him to stay? He keeps moving off the buttons.
MoistSkittles  [author] Jan 13, 2025 @ 1:32pm 
Not sure what the problem you're having is, move away as soon as you've gotten him to walk over a button and he'll stay there
Cooligan Jan 13, 2025 @ 1:00pm 
this map does not work if the human keeps following me
Teo Jan 12, 2025 @ 6:45pm 
This was a blast! It felt like I was trying to wrangle a human-shaped cat.
Citg Jan 12, 2025 @ 4:55am 
SERIOUSLY impressive, love this guy