Login / Register
Categories Systems

Mech Combat Kit

Core Movement and Perspective Systems

The Mech Combat Kit is a development framework designed for Unity to facilitate the creation of mech-based projects ranging from fast-paced arcade titles to complex simulations. Developed by the creator of the Space Combat Kit, this package provides the core logic required for piloting large-scale machinery, managing weapon systems, and handling structural damage.

Central to the kit is a Rigidbody-based controller that manages movement across various terrains. To ensure visual fidelity during movement, the kit includes a built-in foot IK system that allows the mech’s legs to adapt naturally to bumps, ramps, and uneven surfaces. For verticality and advanced maneuvering, jetpack functionality is integrated directly into the physics controller. Movement and combat are experienced through a flexible camera system. This system supports both immersive cockpit views with look-around capabilities and third-person perspectives that include collision handling and camera shakes. A dedicated death camera is also included to handle the transition when a unit is destroyed.

Modular Weaponry and Loadouts

The framework includes a diverse arsenal of weapon types, such as projectile guns, laser weapons, flamethrowers, and swarm missiles. These are managed via a comprehensive loadout system, allowing players to configure their mechs with specific equipment and save those configurations into slots. These saved loadouts can be spawned directly into the game world during gameplay.

During active combat, the kit supports weapon grouping and the ability to rebind these groups on the fly. To manage the technical overhead of high-intensity combat, a pooling system is utilized to efficiently handle the instantiation and deactivation of projectiles, explosions, and various visual effects.

Tactical HUD and Performance-Driven Radar

Information management is handled through a radar system built for efficiency. It supports 2D minimaps and 3D target boxes that identify entities in the world. Developers can customize these elements by adding specific icons for different target types. The targeting logic allows for specific selection criteria, including cycles for the nearest target, the next available target, or those directly in front of the player.

Limb-Based Damage and Resource Constraints

Combat depth is achieved through a granular health and damage system. Rather than relying on a single health pool, the kit enables individual limb damage. This damage is reflected on the HUD for both the player and their target, providing visual feedback on structural integrity. Critically, limb damage can be configured to affect the control of the mech, forcing players to adapt to diminished capabilities as they take fire. The system also supports energy shields and provides a workflow to make any environmental object damageable or explodable.

To prevent unchecked combat, the kit incorporates a resource system that tracks fuel for jetpacks, ammunition counts, and heat levels. Heat production is a critical mechanic; if a mech generates too much heat through weapon fire or movement, it can lead to the total destruction of the unit. These systems allow for the creation of gameplay loops focused on resource management and strategic retreats.

AI Behavior and World Interaction

For single-player or cooperative environments, the kit includes an AI system. This allows developers to populate scenes with enemy mechs that follow patrol routes, attack players, and defend specific bases. These interactions are supported by an objective system that displays current goals on the UI and provides waypoints to guide the player through the world.

The framework also accommodates transitions between different scales of gameplay. An enter/exit system allows a character to pilot a mech and return to on-foot exploration, and it is designed to be compatible with various third-party character controllers. When units are defeated, a ragdoll system—including a specialized wizard for non-humanoid configurations—handles the transition to physics-based wreckage.

Practical Implementation

The Mech Combat Kit functions as a structural foundation for developers who need to skip the initial setup of physics, HUD logic, and weapon systems. Its modular nature, specifically the Vehicle/Module system, allows for functionality to be swapped out during loadout or active gameplay, making it suitable for projects that require deep customization or RPG-style upgrades. By using the provided ragdoll wizard and limb-damage workflows, developers can establish a consistent damage model across both player and enemy units early in the production cycle.

Preview Images


Mech Combat Kit Prev Match 3 Jelly Garden Kit
Mech Combat Kit Next Modular Multiplayer FPS Engine (Mirror) (MMFPSE)

Leave a Reply