best way to make a ledge that bots can't jump up

WolfKit

L3: Member
Jun 26, 2012
128
83
So, in the test of a5 of buffalocreek, I found that bots can jump up 64 hu ledges (albeit clumsily) ruining the intent of the climb to the hatch in my map.
I could easily put a thin nav_avoid along the edge to prevent them from jumping up, but it would also prevent them from dropping down, which I would prefer them able to.
I could also add a nav_prefer, which would make them take the route up I want them to, but would also keep them from dropping down.
Does anyone know an elegant way of keeping them from jumping up but letting them drop down other than making it taller?
 

Schnedwob

L1: Registered
Jul 15, 2012
10
3
Put a thin playerclip there, big enough to block their jump from below, but not so big as to prevent them from walking over it from above.
 
T

The Asylum

If you want Human players to be able to jump up over the ledge, make a respawn room visualizer at the edge of the cliff, set to Red team. That'll let human players (red) climb over the cliff, and block the bots (blue) from doing the same
 

WolfKit

L3: Member
Jun 26, 2012
128
83
Wouldn't a respawnroomvisualizer stop bots from firing through it though?
 

GPuzzle

L9: Fashionable Member
Feb 27, 2012
638
414
Nah, you can fire at the spawn when the doors are open, can't you?
 

Schnedwob

L1: Registered
Jul 15, 2012
10
3
I think it would, so let's combine the ideas: a playerclip on the ledge and a BLU respawnroomvisualiser on the ground beneath it. That way it's too tall for bots to jump up but the players have a little extra boost.

Nah, you can fire at the spawn when the doors are open, can't you?

A player can, but a bot won't.
 
Last edited:

Dr. Spud

Grossly Incandescent
aa
Mar 23, 2009
880
854
I don't see why you're opposed to making it taller; it's the easy solution.

But if you want, you should be able to edit the nav mesh so that the jump piece is only connected to the two floors in one direction (when you connect two pieces of nav mesh, A to B and B to A are separate). Failing that, removing the jump piece and connecting the upper floor to the lower floor in the downward direction should also work.
 

henke37

aa
Sep 23, 2011
2,075
515
Yeah, manually editing the nav mesh sounds like the best idea. This way has no strange sideeffects and clearly documents the intent to the bots.