KatsBits Community

[RtCW] using ai_no_pass clip brush

kat · 1 · 8758

0 Members and 1 Guest are viewing this topic.

Offline kat

  • Administrator
  • Hero Member
  • *
    • Posts: 3145
    • KatsBits

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