Getting enemies to open doors

Getting enemies to open doors

Re: Getting enemies to open doors Posted by lx_mcc on Wed Dec 8th 2004 at 5:33am
lx_mcc
6 posts
Posted 2004-12-08 5:33am
lx_mcc
member
6 posts 1 snarkmarks Registered: Dec 8th 2004
Title basically says it all.

I have func_door_rotating (made up from brushes) around my map and they work fine for the player, but none of the enemies are able to open them. They just stand with their arms clipping through the doors and wait for me to open them. I have nodes around too and they're fine with movement until they hit a closed door.
Re: Getting enemies to open doors Posted by lx_mcc on Wed Dec 8th 2004 at 10:37pm
lx_mcc
6 posts
Posted 2004-12-08 10:37pm
lx_mcc
member
6 posts 1 snarkmarks Registered: Dec 8th 2004
doesn't anybody have any idea how to do this?
Re: Getting enemies to open doors Posted by diablobasher on Wed Dec 8th 2004 at 10:57pm
diablobasher
143 posts
Posted 2004-12-08 10:57pm
143 posts 44 snarkmarks Registered: Oct 18th 2003 Occupation: Spastic, Bannisher of HALO! Location: England
I think there is a flag that is called "Monsters can use", i apologize if i sound patronizing, i do not mean to. Besides it may be different in the new Hammer, if it is, then ive no clue.
Re: Getting enemies to open doors Posted by lx_mcc on Wed Dec 8th 2004 at 11:54pm
lx_mcc
6 posts
Posted 2004-12-08 11:54pm
lx_mcc
member
6 posts 1 snarkmarks Registered: Dec 8th 2004
I believe the flag is 'npc cant use' but I'll double check that.

thanks for the reply anyhow
Re: Getting enemies to open doors Posted by Leperous on Thu Dec 9th 2004 at 12:40am
Leperous
3382 posts
Posted 2004-12-09 12:40am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
If there is a cunning way, chances are it's with an ai_ entity :/ Though you can use scripted_sequences to do it too, as with HL1...
Re: Getting enemies to open doors Posted by sloprano on Sat Jan 22nd 2005 at 10:06pm
sloprano
5 posts
Posted 2005-01-22 10:06pm
sloprano
member
5 posts 1 snarkmarks Registered: Jan 22nd 2005 Occupation: Student Location: Norway
I have a map where I want a cop to kick open a door with the "adoorkick" animation, but when the animation starts the cop just clips through, ignoring the door. I made the door with a func_door_rotating.

Know anything I should?
Re: Getting enemies to open doors Posted by Carcase on Mon Feb 21st 2005 at 10:02pm
Carcase
145 posts
Posted 2005-02-21 10:02pm
Carcase
member
145 posts 15 snarkmarks Registered: Nov 15th 2003 Location: Northern Virginia
perhaps you never told the door to do anything the moment he kicks it. u could use a phys_explosion or something like that. If its a rotating door, try setting up another entity like trigger_relay (logic_relay, one of the two)
Re: Getting enemies to open doors Posted by French Toast on Mon Feb 21st 2005 at 10:16pm
French Toast
3043 posts
Posted 2005-02-21 10:16pm
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
lx_mcc, I believe there was something like this before involving hostages, but it may apply.

Try compiling it without the doors.

Then put the doors back in.

For the other one it was CS:S so it would create some .nav thing, but it's worth a shot.
Re: Getting enemies to open doors Posted by RadiKal on Fri Feb 25th 2005 at 8:03pm
RadiKal
55 posts
Posted 2005-02-25 8:03pm
RadiKal
member
55 posts 265 snarkmarks Registered: Dec 24th 2004 Occupation: student Location: USA
Hmm... ok I know this topic has been dead for a while, but I've been trying to use bots on my map as well for testing purposes. Again, I've got doors and neither the hosties nor the bots can open them. I made sure there was nav mesh on both sides and went to each door and connected the nav mesh so they could walk through. If I open the doors for them, both the bots and hosties run through just fine, but if the door is closed..they run up and stand there. What I was trying to do is to put a trigger_multiple on both sides of the door with only the "NPC can use" box checked. Then for output I said OnStartTouch to trigger the door to open. Well it sounds good in theory but it didn't work... any new ideas?