rkeown
Active member
I've spent the last few weeks designing and implementing a custom weapons configuration system, that allows you to define what attachments are available to what Shootable Weapon Items, whether or not that they can be Enabled/Disabled during the game running (i.e. Flash Lights, Laser Sights, Bi-pods, Combination Sights, etc.)
It also allows you to define Weapon Rails, what attachments can be assigned to available positions on weapons rails (i.e. Top, Left, Right, Bottom). Not all Rails have all Rail Positions Available.
So far, I've got working definitions for the following types of Weapon Attachments:
Fire Modes
Barrel Attachments:
Receiver Attachments (Magazines/Clips/Belts):
Hand Guard Rail (Rifles Only)
Upper Receiver Rail (Rifle Upper Receiver/Pistol Slides)
Lower Receiver Rail (Pistols Only)
So far, I've created 5 new Item Abilities
All of this is custom code, and I'll try to post some screenshots, soon!
It also allows you to define Weapon Rails, what attachments can be assigned to available positions on weapons rails (i.e. Top, Left, Right, Bottom). Not all Rails have all Rail Positions Available.
So far, I've got working definitions for the following types of Weapon Attachments:
Fire Modes
- Safe (Optional)
- Semi-Auto
- 2 Round Burst
- 3 Round Burst
- Full Auto
Barrel Attachments:
- Compensators
- Flash Hiders
- Muzzle Brakes
- Suppressors
Receiver Attachments (Magazines/Clips/Belts):
- Standard Ammo Capacity
- Extended Ammo Capacity
- Limited Ammo Capacity
Hand Guard Rail (Rifles Only)
- Top Position
- Backup Sight Attachments
- Weapon IR Sight
- Left Position
- Right Position
- Weapon Flash Light
- Weapon Laser Sight
- Bottom Position
- Weapon Bi-pod
Upper Receiver Rail (Rifle Upper Receiver/Pistol Slides)
- Top Position
- Weapon Sight Attachments
- Non-Magnified Sights
- Holographic Sights
- Red Dot Sights
- Magnified Sights/Scopes
- 1.5x
- 2x
- 3x
- 4x
- 6x
- 7x
- Combination Sights
- Magnified Holographic
- Magnified Red Dot
- Dual Magnification Scopes (3x/6x)
- Non-Magnified Sights
- Weapon Sight Attachments
- Left Position (Available)
- Right Position (Available)
- Combination Scope/Backup Sight (Angled Rail)
Lower Receiver Rail (Pistols Only)
- Bottom Position Only
- Weapon Flash Light
- Weapon Laser Sight
So far, I've created 5 new Item Abilities
- ToggleBipod
- ToggleCombinationSight
- ToggleFireMode
- ToggleFlashLight
- ToggleLaserSight
All of this is custom code, and I'll try to post some screenshots, soon!