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