> For the complete documentation index, see [llms.txt](https://fantacode.gitbook.io/melee-combat-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fantacode.gitbook.io/melee-combat-system/quick-start.md).

# 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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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
