Actually this brings into mind something I'd been wondering about. The
idea of "semi obscured" visibility. For example, suppose this is a
flash gren you're doing. If there is a relatively dense { type brush in
the way that represents shrubbery, should/could this block the
visibility a bit? Chain link fences don't block visibility, but shrubs
do. I was thinking of this for monsters too. Monsters should not be
able to see you if you're in a bush (as it were).
Yacketta, Ronald wrote:
> 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
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders