Skip to content

How to setup enemy prefabs

KozlowskiXY edited this page Mar 28, 2024 · 3 revisions

Setup the Components similar to an existing instance of the enemy type. Camper, Hidden and Patroul Archetypes are basically identical in setup, only the enemy type script is different. Make sure all child objects (Gun, Sword, Healthbar) are present, even if you dont use them. Their renderer can be disabled if you don't want them, but some of the scripts rely on them. For some model versions special scripts have been added: Rig and IK Gameobjects with the components for them, Animation Script and Controller to add animations to the enemy, customisation script for model with different options. While there are some references to these in the base script, they are not mandatory.

Clone this wiki locally