How to make custom shotgun shells

broken image

(ACTOR UberShotgun : SuperShotgun 20024) - Describes the actor that is going to be defined within the following code block.Let's analyse this code.ĭefining an actor See DECORATE format specifications for more information Now that big chunk of code describes the functions and states of a shotgun. USHG A 7 A_GunFlash // While on fire state it spawns the weapon's flash. Select: // This state is entered when you select this weapon. Ready: // This state is entered when you have this weapon selected.ĭeselect: // This state is entered when you deselect the current selected weapon.

broken image

Spawn: // This state is entered when you drop the weapon. A basic weapon in the decorate lump would look like this: