top of page

Weapon Creator

All the components were created, like the weapons, to be modular and meant to be reusable without any additional code. All the components can be added to any weapon, and the editor allows the user to toggle which type of component that can be added to the weapon.

Components

These base classes handle how the weapon shoots and the conditions for reloading. It also decides for which weapons different components can be used. However, each instance of a weapon can be individually tweaked and edited to the user's preference in the editor.

Weapon classes

The editor provides functionality for modifying weapon and component base values, including their model, rotation, and position.

Users can easily add or remove weapons within the editor, and save changes for future modifications. The interface is designed to be intuitive, offering real-time updates to reflect adjustments as they are made. Additionally, the status bars on the right dynamically change color to indicate how a component impacts the weapon’s behavior

Editor

WCEditor1.gif
Spas-12.gif
Spas-121.gif
Weapons1 (1).png
pngwing.com (1).png

Try it out

Code

bottom of page