RadiusDamage (which the grenades use to inflict damage) already checks
for visibility...standard HL grenades won't hurt things they can't
see.
-----------
> Have a quick question, just coded a new grenade type. I would like only
> the players
> In the FOV of the grenade to be affected by it, that is players behind a
> wall or obscured by
> Something are not affected.

> I have looked through items.cpp and have not found a decent example (or
> one at all)
> Would I need to add some traceline code to the MyTouch? Would actually
> like
> To trace from the grenade out to find players and affect then, instead
> of from
> The player to the grenade.

> Regards,
> Ron
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders

-----------
Cruise
www.casual-tempest.net
www.wytedragon.com
opera.redeemedsoft.com

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to