Guns are ranged weapons widely used in combat to launch projectiles. This Gun community component allows you to finish the basic settings of your gun. The gun is a piece of equipment that can be stored and managed in the inventory.
This component includes:
|Determines the amount of attack value that a gun adds. Ranges from 1 to 999999. Default: 46.
|Magazine Initial Amount
|The initial ammo count, which can exceed the magazine capacity. Ranges from 1 to 1500. Default: 35.
|The capacity of the magazine. Ranges from 1 to 1500. Default: 35.
|Determines whether a gun is reloadable. Enabled by default.
|Determines which hand the gun's handle is held in
|The gun offset from the bone point's position
|The gun offset from the bone point's rotation
|The amount of time in seconds it takes for a gun to fire off a shot again. Ranges from 0.2 to 5. Default: 0.2.
|The sound of a gun being shot
|The sound of a gun being reloaded
A Gun component can only be added to one tool.
If you attach the legacy Gun community component released before August 11, 2023 to gun models, these guns can still be used in-game but will not become equipment that can be stored and managed in the game's inventory.
This Component must be used with UI_Reload if
Magazine Reloadable is enabled.