> For the complete documentation index, see [llms.txt](https://malbersanimations.gitbook.io/animal-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malbersanimations.gitbook.io/animal-controller/annex/integrations/invector-templates/invector-weapon-settings.md).

# Invector Weapon Settings

HAP 4.4.0 +

## Melee Weapons

To use properly the weapons all Melee Weapons should have the **MMelee** component attached to them.&#x20;

That is why all Melee Weapons prefabs from the Invector Controller are overwritten with the Integration package. They already have that component properly attached and configured.

&#x20;(So you don't have to do it)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FaIKHo2cthhVGcPApBgEh%2Fimage.png?alt=media\&token=e38decc2-c202-4194-8511-747f253752bc)

With a new Custom weapon you create, this is how you can properly set:

* Generate a Random Index. (Optional)
* Make sure **Holster** and Weapon **Type** is set up.
* On the Melee Tab. **Attacks** **= 2** and **Use Camera Side = True.** Set the reference for the Melee Trigger too.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FMqP9cThitIwBSMVrqij7%2Fimage.png?alt=media\&token=8ccb4f71-1f57-432c-93c2-1e746aace33a)

*

To connect the Invector Melee weapon and the MMelee weapon scripts together,you will need to have:

On the **VMelee Weapon** Events these Listeners from the **MMelee**:

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MJ9Xebe0Uv2SLPSEr1f%2F-MJ9cpNnnLehcX6UNgra%2Fimage.png?alt=media\&token=51a43fe5-bc02-46a2-9c0e-483af49c1209)

On the **MMelee** Events  this listener from the **VMelee Weapon:**

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MJ9Xebe0Uv2SLPSEr1f%2F-MJ9dqJo9vHkxyzOsCda%2Fimage.png?alt=media\&token=f98aa0a5-f6aa-472b-8730-68979f6c070e)

## Handgun (Pistol)

asd

## Bow
