NeoFPS comes with a number of item creation wizards to simplify the setup of common objects such as characters and weapons. These can be found in the Wizards section of the NeoFPS Hub, which is available through Unity's menus at Tools/NeoFPS/NeoFPS Hub. Each wizard (with the exception of the script creation wizard) allows you to create an object and/or save a template for use when creating your next weapon.
The following wizards are available to use now:
Modular Firearm Wizard
The modular firearm wizard runs through the setup of a modular firearm, from assigning a view model to picking the relevant firearm modules, and even adding advanced features such as weapon overheat, bullet penetration and sprint animations. The wizard does not set up an animator controller for the weapon, but if you have one available then you can attach it and hook up the parameters through the wizard.
Player Character Wizard
The player character wizard allows you to build a playable character prefab. This includes setting up health, inventory and more advanced features such as stamina. The end result can be added to a spawner, and spawned at runtime immediately after setup.
Melee Weapon Wizard
The melee weapon wizard runs you through the creation of a basic melee weapon prefab for use in NeoFPS. This includes setting up the weapon itself, how it appears in the inventory, and more advanced settings such as sprint animations. The wizard can also create a new animator controller for you based on the weapon's settings, allowing you to pick specific animation clips to use. Alternatively, you can hook up an existing animator controller so the correct parameters are used.
Thrown Weapon wizard
The melee weapon wizard runs you through the creation of a basic thrown weapon prefab for use in NeoFPS. This includes setting up the weapon itself, how it appears in the inventory, and more advanced settings such as sprint animations. The wizard can also create a new animator controller for you based on the weapon's settings, allowing you to pick specific animation clips to use. Alternatively, you can hook up an existing animator controller so the correct parameters are used.
The pickup wizard is used to create pickups / powerups that the player character can use. The available pickup types are:
- Wieldable items such as melee or thrown weapons.
- Modular firearm drops (these track the ammo in the weapon when it is dropped).
- Inventory item pickups.
- Multi-item inventory pickups.
- Health packs.
- Shield boosters.
Interactive Object Wizard
The interactive object wizard allows you to add NeoFPS' interaction system to objects to allow the player character to use them. This includes assigning geometry and physics, highlighting when looked at, as well as some preset interactions such as playing animations or audio. You can then use the events on the created prefabs' InteractiveObject component to trigger your own code or components.
Script Creation Wizard
The script creation wizard provides a number of template scripts for various NeoFPS features that you can use as a starting point. This includes motion graph elements, firearm modules, save system formatters, and input behaviours. To use the wizard:
- Select the script type from the dropdown.
- Give it a name and a namespace.
- Fill in any script specific properties that appear.
- Select output folders for the generated scripts. If these are not set, then the new scripts will be created in the root of the Assets folder, while any editor scripts will be created in Assets/Editor.
The following wizards are coming soon:
- Firearm AnimatorController Wizard will take a modular firearm prefab, and create and set up an AnimatorController based on the modules it has attached.