![]() |
podbot grenade throwing bug
I've found this bug is still not fixed...
in the VecCheckToss() function: Code:
if (vecMidPoint.z < vecSpot2.z) // VERY BIG FAT BUG ! |
Re: podbot grenade throwing bug
Good one Whistler :)
You'll tell me I should have checked the YaPB source... and you'd be right :D |
Re: podbot grenade throwing bug
it's not CF not checking that one, but valve, right ?
the negative root produces an NaN I think, so the following calculations will be invalid. PS: just looked it up and it's already fixed there. so maybe I did it, or a later SDK version from valve had fixed the bug. |
Re: podbot grenade throwing bug
hmm sthill noticing in RC 2.1 bots are throwing nades stangely (not mch, and usually wih suicidal effect)
|
Re: podbot grenade throwing bug
Quote:
I saw two guys walking in a same line and stuck at a point. when they see an enemy, they pull out nades at the same time, turned around and threw towards the wall. and then nades came back to them... |
Re: podbot grenade throwing bug
yea we need better grenade throwing algorithms :D
|
Re: podbot grenade throwing bug
here's my 2cents on g throwing based on playing the cs wc3 mod as orc:
1) if enemy is near u (easy to implement) if the enemy is near u ie in visible range up clos or a bit off here's what u do a) up close ....when up close ..face to face u gotta watch them .. if enemy seems to move left take it's current distance and add distnce wise what u think will be the time when the gren explodes it should land at enemy's feet...when it blows same for the right.... if enemy is coming towards u throw it at ur feet and start moving away from it...any direction that where u was standing is best :) if enemy is going away from u ....u'll have to calculate the distance backwards but the nade has to be thrown at an angle to achieve this since it'll move in an arc. b) far..bascially just aim at them or thier predicted position have to use similar startegy as when enemy is going away from u... 2) don't know where the enemy is.....i was thinking if it was possible that we could probably use the danger pos...to help..basically the most dangerous areas with alot of player n enemy collsions can be used as target positions for nades .....and camp spots also using walls for rebounds ----edit--- and u can talk to two mask (bot n metamod coding forum he has some posts) on grenade detection for the victim about what he's done....if he'll want to tell ;) |
Re: podbot grenade throwing bug
yes thats basicly how everyone throws nades..
the problem is with calculating how high to aim to make it reach the guy and it seem that when that is calculated it is way off.. so off that they end up throwing a nade in the wrong direction... |
Re: podbot grenade throwing bug
Quote:
|
Re: podbot grenade throwing bug
Quote:
it's an aiming issue.. more like a calculating aiming height issue or something like that.. |
All times are GMT +2. The time now is 03:25. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.