![]() |
Bots shoot at something inside a wall...
I've just finished waypointing cs_castlewof, a pretty cool castle map. There's an exhibition where various swords are displayed, including the light saber from Star Wars. In front of the niche with the lightsaber grip, there's a button, and if you push this button, the laser blade appears for a few seconds. Nice gimmick, but somehow the bots have problems with it. They don't push the button, and that's good, because I didn't want them to. However, they shoot at something behind the glass until they're out of ammo, and then they keep standing there with their knife...
This reminded me of cs_assault, where I saw bots hit the wall to the left of the door that leads to the hossie room (viewed from the warehouse side) with their knife forever. I suspect that there are some entities that somehow make bots attack them as a target - but since this target is (a) somewhere inside a wall and (b) indestructible, bots get stuck. I scanned the BSP for suspicious entities, and these are the ones I found near the location of that darned light saber: Code:
{ |
Re: Bots shoot at something inside a wall...
multi_manager and ambient_generic has health...
why would they need health... health isn't even listed for those in my hammer with the expert fgd.. [edit] and the bot only shoots at func_breakables and func_pushables [/edit] |
Re: Bots shoot at something inside a wall...
Yeah, I was also wondering about why these entities have health - maybe this causes the problem?
Well, probably the mapper f*cked up somehow? Maybe a bug in an older WC version he used? It's odd enough, that's for sure. The interesting question now is: Is there something in the bot code that could be changed in order to make bots ignore such strange entities? I'll try taking out the health values from these two entities and make a bot run past the button afterwards - maybe I can narrow down the problem a bit. [edit] Well, I d/l'ed Austin's great tool, made it crash immediately ( :D ), succeeded in the second attempt and took out health everywhere where I thought it didn't belong. (It turned out that sounds apparently need health, because the light saber sound disappeared entirely... 9_9 ) Then I made a bot run to some WPs nearby, and the bot ignored that stupid entity and behaved normally. The rest still worked ok, apart from the sound. I'm gonna try again to keep the sound AND fix the problem. So the problem can be solved quite easily this way... still, I wonder if the bot code could be changed in order to cope with such mapping errors? [/edit] |
Re: Bots shoot at something inside a wall...
check out this post http://forums.bots-united.com/showth...0412#post20412
|
Re: Bots shoot at something inside a wall...
No way! Don't say you fixed this as well?? I can't believe it... 8o
You wouldn't happen to have signed such a contract from a horned guy where you have to sign with your blood and get the absolute coding power in exchange?? :| |
Re: Bots shoot at something inside a wall...
what a creative mind! :D
|
Re: Bots shoot at something inside a wall...
@T Wrecks - for this button code fix You need to buy a big box of bear for this man. I tried his latest dll. I know what I'm talking. :D
|
Re: Bots shoot at something inside a wall...
*LOL* :D "A big box of bear"... well, first I gotta find some bears which are willing to get themselves locked into a box, haha...
Organizing a big box of beer is within my power, yes... and since poor sPlOrYgOn is living in the US, he must be in a desperate situation concerning good beer... :D But first I gotta test this new dll on some (formerly?) problematic maps. ;) |
Re: Bots shoot at something inside a wall...
Quote:
|
All times are GMT +2. The time now is 22:42. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.