KatsBits Community

Game Editing => Video Channel => Topic started by: kat on February 14, 2014, 08:18:22 AM

Title: [RtCW] hiding behind bushes using ai_no_sight
Post by: kat on February 14, 2014, 08:18:22 AM

Scenario
Models are not 'solid' so whilst AI might not necessarily be able to shoot through them (a crate or other 'solid' object), they might actually be able to see through. In instances where the AI needs to 'ignore' the players and their location whilst at the same time the player is able to observe what the AI are doing, using the "ai_no_sight" clip brush helps.

Problem
Player needs to be able to observe the movement of AI from behind a hedge model - UV mapped with an alpha channeled TGA so the player can manoeuvr themselves to see through the bushes - without the AI noticing the player due to their proximity settings; which might 'detect' rather than 'see' the player as a result of line-of-sight observation.

Solution
Placing a brush volume covering the model and/or area the player needs to access and move around within allows them to see AI through the bushes without accidentally or inadvertently activating/triggering the AI too early.

Additional Reading
RtCW NPC basics (http://www.katsbits.com/tutorials/rtcw/npc-basics.php)
Title: Re: [RtCW] hiding behind bushes using ai_no_sight
Post by: ratty redemption on February 16, 2014, 12:23:14 AM
cool.