# Quick Start

{% embed url="<https://youtu.be/Vktwzr1IJD8?si=5wBLvfQiiUWpO4Pn>" %}

## Create Player Character

To create the player, go to **Tools > Combat System > Create Player.** This will open up the FS System Setup Window.

<figure><img src="https://3464424545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuYXVsBPBq71gIDr5Gb7g%2Fuploads%2FWjzmKXzZGatVpOWt1d4a%2Fimage.png?alt=media&#x26;token=852c5c3d-4d5b-4c0b-a5d6-ae83925141a7" alt=""><figcaption></figcaption></figure>

From the FS System Setup window, make sure the **Locomotion System** and **Melee Combat System** are selected, and drag and drop your character model to the Character window. and click on Setup.

**Note:** If you have other FS systems installed, they'll be shown in the list of systems.

<figure><img src="https://3464424545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuYXVsBPBq71gIDr5Gb7g%2Fuploads%2Fhr4yt4VU4wsMAiRbYGzC%2Fimage.png?alt=media&#x26;token=21c2bfe4-7566-4a06-8d84-309972d83dc9" alt=""><figcaption></figcaption></figure>

## Create Enemy Character

To create the enemy character, go to **Tools > Combat System > Create Enemy**

<figure><img src="https://3464424545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuYXVsBPBq71gIDr5Gb7g%2Fuploads%2FlQXLv0OmcRKzEwRNZjXt%2Fimage.png?alt=media&#x26;token=0565f4cc-d788-4090-91cd-d78f6b3fc382" alt=""><figcaption></figcaption></figure>

Next, you should assign the model to the "**Character Model**" field and click the “**Create Character**” button.

<figure><img src="https://3464424545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuYXVsBPBq71gIDr5Gb7g%2Fuploads%2FWaQzxHttpX6kejDNxUnM%2Fimage.png?alt=media&#x26;token=69ed8bf9-7f26-4776-a373-8f47ecb62979" alt=""><figcaption></figcaption></figure>

## Melee Fighter Setup

This script handles the attacks for both the enemy and the player. You must assign the **Weapon** and **Death Animations**, while other fields can be filled according to your preference.

<div align="left"><figure><img src="https://3464424545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuYXVsBPBq71gIDr5Gb7g%2Fuploads%2FH96vdHYOBN7B9u9yos12%2FScreenshot%202024-08-15%20183138.png?alt=media&#x26;token=ec103d91-d21f-48ec-b232-c84bbdf3b36a" alt=""><figcaption></figcaption></figure></div>

## Navmesh Surface Setup

First, you need to create an empty object and add a **Navmesh Surface** component to it. Configure the necessary values, then click the "Bake" button

<div align="left"><figure><img src="https://3464424545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuYXVsBPBq71gIDr5Gb7g%2Fuploads%2FaTPAvv35CSRhQQ2RPZp8%2FScreenshot%202024-08-15%20183457.png?alt=media&#x26;token=12aadb06-7c73-4175-aa28-1308e78834ac" alt=""><figcaption></figcaption></figure></div>

For more information about **Navmesh Surface**, you can find additional details [here](https://docs.unity3d.com/560/Documentation/Manual/class-NavMeshSurface.html) \
\
Now you can start to play


---

# 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://fantacode.gitbook.io/melee-combat-system/quick-start.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.
