# New AI System

## Introducing our new AI system

&#x20;This new AI system brings dynamic behavior to NPCs of all types — enemies, civilians, zombies, and more.

## Demostration scenes

The AI systems have demonstration scenes, by analyzing the examples you can see how to use each part of the system to create your NPC.&#x20;

<figure><img src="/files/GqReCJes83cj2pvLw244" alt=""><figcaption></figcaption></figure>

## Ready-made AI Models

JU TPS comes with ready-to-use AI Models, combining the previously mentioned modular behavior components into a single script to create AI models with specific behaviors and actions.

<figure><img src="/files/tJXpZdgG2l50BiVUdefq" alt=""><figcaption></figcaption></figure>

## Modular Behaviours Scripts

Example scripts for creating custom AIs

| Behavior                 | Description                                   |
| ------------------------ | --------------------------------------------- |
| Attack                   | Engage and deal damage to the target.         |
| Damage Detection         | Detect when receiving damage.                 |
| Escape                   | Move away from threats or danger.             |
| Field of View            | Detect targets within vision range and angle. |
| Follow Point             | Follow and chase a specific target.           |
| Follow Waypoints         | Move along predefined waypoints in order.     |
| Hear Sensor              | Detect sounds within a defined radius.        |
| Move Random Inside Area  | Move randomly within a defined area.          |
| Walk Random Around Point | Wander randomly around a specific point.      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://julhiecio.gitbook.io/ju-tps-documentation/game-development/new-ai-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
