How to stop only horses in Scene

正在查看此主题的用户

Wipeout

Recruit
There are a few places in the scene I'm working on where I don't want horses to be able to go past, but I want to allow infantry to enter.

Is there a way to make this happen?

Thanks.
 
Tried putting an invisible barrier object above the ground at rider height? No idea if that would work (or even if it's possible to place the barriers above ground), or if the world would explode if a rider collided with an object but their horse didn't.

Can't think of anything else that'd be appropriate for all situations.
 
Aethelred 说:
Tried putting an invisible barrier object above the ground at rider height? No idea if that would work (or even if it's possible to place the barriers above ground), or if the world would explode if a rider collided with an object but their horse didn't.

Can't think of anything else that'd be appropriate for all situations.
It would still be possible to dismount, slap your horse so it runs under, then get back on.

But this solution should work otherwise.
 
Aethelred 说:
Tried putting an invisible barrier object above the ground at rider height? No idea if that would work (or even if it's possible to place the barriers above ground), or if the world would explode if a rider collided with an object but their horse didn't.

Can't think of anything else that'd be appropriate for all situations.

Nope, that was my first thought as well.  I tested it out by putting a ladder and a barrier across an opening and both could still go through

calvalygoingthroughfenc.jpg

Apparently, a guy on a horse is the same height as someone on foot.
 
I think the solution might be within these stairs:

calvalygoingthroughfenc.jpg

There's something about the stairs that make is where the horse cant get up the first step but infantry pass by no problem.
 
Clutching at straws, but did you try putting it high enough that it only hits the rider's head?
 
FrisianDude 说:
Warcat92 说:
yeah, in WB horses can no longer climb stairs
Oddly; they can. As long as there's no one riding them. :lol:

Or if you reverse. But that's an exploit so shhhh... (plus it looks ridiculous)

Maybe you could rotate the stairs so they're flat? Or perhaps there is something in the code which activates this property.
 
  ("barrier_20m",sokf_invisible|sokf_type_barrier,"barrier_20m","bo_barrier_20m", []),
  ("castle_h_stairs_a",sokf_type_ladder,"castle_h_stairs_a","bo_castle_h_stairs_a", []),

("no_horse_barrier",sokf_invisible|sokf_type_barrier|sokf_type_ladder,"barrier_20m","bo_barrier_20m",[]),

Add this little combination to scene props, make it flat on the ground, parallel, not like how the barrier are usually used. Haven't tried this, so let me know :grin:

Doesn't work. Even when removing the double type setting that I completely missed. The best thing you could do is make a trigger that if an agent is near a certain scene object, stop them.
 
Or, as far as I know, AI barrier stops an horse, but not an man. I think. Try it, you should be able to walk trough it (Atleast in Warband).
 
FrisianDude 说:
Reversing no longer works, afaIk.

Aww, looks like you're right. That was my third favourite bug as well, after the invincibility rock and the super jump. Now all I have is headbanging and the crossbow crab-dance
 
Temuzu 说:
Or, as far as I know, AI barrier stops an horse, but not an man. I think. Try it, you should be able to walk trough it (Atleast in Warband).

Problem with that is I would like AI Infantry to be able to pass as well.
 
后退
顶部 底部