Skip to content
GoldSloth edited this page Jan 22, 2022 · 1 revision

Here's a sample for an underbarrel gun, the default keybind to select the underbarrel is K. Underbarrels are attachments that can shoot bullets.

Name UnderBarrelTest
ShortName flanMWForegrip
Icon Foregrip

AttachmentType grip
Silencer false

MeleeDamageMultiplier 1.0
DamageMultiplier 1.0
SpreadMultiplier 0.9
RecoilMultiplier 0.9
BulletSpeedMultiplier 1.0
ReloadTimeMultiplier 1.0

ZoomLevel 1.0
FOVZoomLevel 1.0
ZoomOverlay None

Model mw.Foregrip
Texture Foregrip

SecondaryMode true
SecondaryAmmo mk4Rocket
SecondaryDamage 10
SecondarySpread 4
SecondaryBulletSpeed 5
SecondaryShootDelay 2
SecondaryReloadTime 20
SecondaryNumBullets 1
LoadSecondaryIntoGun 20
SecondaryFireMode FULLAUTO

SecondaryShootSound RPGShoot
SecondaryReloadSound RPGShoot
Clone this wiki locally