Getting bots to shoot buttons.

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Magnus
Posts: 529
Joined: Wed Feb 16, 2005 6:38 pm

Getting bots to shoot buttons.

Post by Magnus »

Hey all! I tryed to look this one up in a forum search but out of 168 relevent topics my question wasn't directly addressed.

So here is my question.

You know how in Q3A in the map "The Very End Of You" with xaero if you or a bot lands on the pad with the bfg the bots will shoot at the target button causeing you to be squashed?

Well I want to create an area like that. An area that if a bot is in an area or standing on the right spot other bots will shoot at a button that will set off several hidden GL.

I know it has to be fairly simple. Probably some kind of trigger type brush that when a bot or player steps in or on it the bots in that area are inclined to fire at the trap triggering button.

If someone would explain how to do this I could finally finish a fairly good looking and fun set of DM and CTF maps for everyone to enjoy. (I hope that is...lol)

Thanks!
Uh, well....good luck with that. :shrug:

[img]http://i57.photobucket.com/albums/g228/Magnus3204/forumheader.jpg[/img]
Fjoggs
Posts: 2555
Joined: Fri May 03, 2002 7:00 am

Post by Fjoggs »

bot_roam with a ridicolously high value over a trigger_multiple?
Magnus
Posts: 529
Joined: Wed Feb 16, 2005 6:38 pm

Post by Magnus »

Thanks Fjoggs.

That may be it, but wouldn't that just cause the bots to want to go to the button instead of shoot it?

I turned the q3tourney6 .bsp into a .map and had a look at it.

It looks like they have it set up so the top moving part of the platform where the BFG is has been defined as a door with the crusher spawnflag selected and the target button in the sky is the trigger for the door.
It is triggered when shot of course, but I still can't find anythig that seems to be what would cause a bot to shoot at the trigger button when another bot is on the BFG platform.
I may need to take a better look and check out the info for each brush and entity.

I'm sure there has to be some kind of set up with a trigger brush connected to "somethng" that when a bot or player is on or in the trigger brush this "something" causes the bots to want to shoot at a specified trigger button that will cause a trap to be set off.

I know how it should work I just don't know what this "something" is.
Uh, well....good luck with that. :shrug:

[img]http://i57.photobucket.com/albums/g228/Magnus3204/forumheader.jpg[/img]
Todtsteltzer
Posts: 93
Joined: Thu Nov 28, 2002 8:00 am

Post by Todtsteltzer »

AFAIK the behaviour of the bots in q3tourney6 is a hack that just works in this map.
IIRC there was a thread about this theme in the early days of q3w.

Btw. you're right, bot_roam will attract the bots to go to a special spot but won't let them shoot at this spot.
Fjoggs
Posts: 2555
Joined: Fri May 03, 2002 7:00 am

Post by Fjoggs »

Well, I meant as in using a trigger_multiple to activate the trigger, not a button. Kinda ruins the point though.
Magnus
Posts: 529
Joined: Wed Feb 16, 2005 6:38 pm

Post by Magnus »

Todtsteltzer wrote:AFAIK the behaviour of the bots in q3tourney6 is a hack that just works in this map.
IIRC there was a thread about this theme in the early days of q3w.
I see. Well that puts a damper on things. Perhaps I can find out something about the hack or find the hack it's self somewhere.

Kind of reminds me of the dissapointment when I found out that id was never going to correct that shutdown problem with Distant Screams mpterra2 in Q3:TA.

BTW, did anyone ever remap or mod that map so that it would work properly?

Perhaps I'll just put a trigger brush down and connect it to a relay and a few delays with 6,7,and 8 second waits and connect those to the GL shooters so that if a bot or player stands there too long they get waisted.

Anyway thanks to both of you for you help on this one.
Uh, well....good luck with that. :shrug:

[img]http://i57.photobucket.com/albums/g228/Magnus3204/forumheader.jpg[/img]
Post Reply