KatsBits Community

Game Editing => Video Channel => Topic started by: kat on February 14, 2014, 10:50:37 AM

Title: [RtCW] using ai_no_pass clip brush
Post by: kat on February 14, 2014, 10:50:37 AM

Scenario
AI needs to be 'guided' along a path with hitting 'invisible walls' as might be the case using MonsterClip - in certain circumstances an AI NPC needs to be able to access and/or traverse an area it would not otherwise need to do, perhaps to avoid the player or take cover whilst doing so.

Problem
The use of Monster or other type of clipbrush volume to block or dissuade NPC's from accessing a given area results in their hitting an invisible wall, block what might otherwise be legitimate access to an area (or area beyond), and can result in AI's walking or running on the spot (until the player intervenes).

Solution
Using "ai_no_pass" or "ai_no_pass_large" facilitates an area being clipped (highlighted as an area with a set of navigational characteristics) but not completely blocked; if an NPC needs to get to another area their passage won't be prevented although it might be dissuaded as a result of the clip volume.

Additional Resources
RtCW NPC basics (http://www.katsbits.com/tutorials/rtcw/npc-basics.php)