SS1984 - Modules - TypesDefine Details

code/__DEFINES/gun.dm

ATTACHMENT_SLOT_MUZZLEMuzzle slot identifier
ATTACHMENT_SLOT_RAILRail slot identifier
ATTACHMENT_SLOT_UNDERUnder slot identifier
ATTACHMENT_SLOT_SIBYLSibyl slot identifier
GUN_SINGLE_MODESingle shot firemode
GUN_BURST_MODEBurst fire mode
GUN_AUTO_MODEFull auto friemode
CALIBER_9MMUsed in most standart SMG and pistols
CALIBER_10MMUsed in Stechkin pistol
CALIBER_40NRUsed in SP-8 pistol
CALIBER_DOT_45Used in M1911 pistol, C-20r SMG
CALIBER_DOT_45_COLTUsed in Colt-type revolvers and pistols (maybe merge it with .45?)
CALIBER_45NRUsed in .45 N&R specialized weapons (maybe merge it with .45?)
CALIBER_DOT_50AEUsed in Desert Eagle pistol
CALIBER_7_DOT_62X25MMUsed in Soviet type pistols and SMG (TT, PPSh)
CALIBER_DOT_357Used in heavy revolvers like Unica-6
CALIBER_7_DOT_62X38MMUsed in Nagant revolver
CALIBER_DOT_38Used in small caliber revolvers
CALIBER_DOT_36Used in Gatfruit revolver
CALIBER_DOT_257Used in improvised revolver
CALIBER_5_DOT_56X45MMUsed in AR-15 type rifles (TSF)
CALIBER_5_DOT_45X39MMUsed in AK-74 type rifles (USSP)
CALIBER_4_DOT_6X30MMUsed in PDWs like WT-550
CALIBER_7_DOT_62X54MMUsed in Soviet type heavy guns like Mosin rifle
CALIBER_7_DOT_62X51MMUsed in NATO type heavy guns like 'L6 SAW' lmg
CALIBER_DOT_50Used in Syndicate sniper rifle
CALIBER_DOT_50LUsed in Compact Syndicate sniper rifle
CALIBER_DOT_338Used in AXMC sniper rifle
CALIBER_12X70Used in all shotguns
CALIBER_40MMUsed in underbarrel grenade launchers and Bombarda
CALIBER_84MMUsed in heavy grenade launchers like PML-9
CALIBER_ROCKETUsed in rocket launchers
CALIBER_SPEARUsed in speargun
CALIBER_ARROWUsed in bows and crossbows
CALIBER_SPECTERUsed in Specter pistol
CALIBER_LASERUsed in laser weapons
CALIBER_FOAM_FORCEUsed in foam guns
CALIBER_FOAM_FORCE_SNIPERUsed in sniper foam gun
CALIBER_CAPUsed in toy cap guns
CALIBER_DOT_75Used in high-caliber rocket launchers
GUN_RECOIL_MINMinimal recoil
GUN_RECOIL_LOWLow recoil
GUN_RECOIL_MEDIUMMedium recoil
GUN_RECOIL_HIGHHigh recoil
GUN_RECOIL_MEGAMega recoil
GUN_ACCURACY_DEFAULTDefault accuracy for all projectile weapon
GUN_ACCURACY_MINIMALMinimal gun accuracy
GUN_ACCURACY_SHOTGUNShotgun accuracy (less than default)
GUN_ACCURACY_PISTOLPistol accuracy (near default)
GUN_ACCURACY_PISTOL_UPLINKUplink pistol accuracy (better than normal pistols)
GUN_ACCURACY_RIFLERifle accuracy (more than default)
GUN_ACCURACY_RIFLE_LASERLaser rifle accuracy (default but lesser spread)
GUN_ACCURACY_RIFLE_UPLINKUplink rifles accuracy (better than default rifles)
GUN_ACCURACY_SNIPERSniper rifle accuracy (100% hit)
GUN_MAGAZINE_RELOAD_DURATIONMagazine reload duration

Define Details

ATTACHMENT_SLOT_MUZZLE

Muzzle slot identifier

ATTACHMENT_SLOT_RAIL

Rail slot identifier

ATTACHMENT_SLOT_SIBYL

Sibyl slot identifier

ATTACHMENT_SLOT_UNDER

Under slot identifier

CALIBER_10MM

Used in Stechkin pistol

CALIBER_12X70

Used in all shotguns

CALIBER_40MM

Used in underbarrel grenade launchers and Bombarda

CALIBER_40NR

Used in SP-8 pistol

CALIBER_45NR

Used in .45 N&R specialized weapons (maybe merge it with .45?)

CALIBER_4_DOT_6X30MM

Used in PDWs like WT-550

CALIBER_5_DOT_45X39MM

Used in AK-74 type rifles (USSP)

CALIBER_5_DOT_56X45MM

Used in AR-15 type rifles (TSF)

CALIBER_7_DOT_62X25MM

Used in Soviet type pistols and SMG (TT, PPSh)

CALIBER_7_DOT_62X38MM

Used in Nagant revolver

CALIBER_7_DOT_62X51MM

Used in NATO type heavy guns like 'L6 SAW' lmg

CALIBER_7_DOT_62X54MM

Used in Soviet type heavy guns like Mosin rifle

CALIBER_84MM

Used in heavy grenade launchers like PML-9

CALIBER_9MM

Used in most standart SMG and pistols

CALIBER_ARROW

Used in bows and crossbows

CALIBER_CAP

Used in toy cap guns

CALIBER_DOT_257

Used in improvised revolver

CALIBER_DOT_338

Used in AXMC sniper rifle

CALIBER_DOT_357

Used in heavy revolvers like Unica-6

CALIBER_DOT_36

Used in Gatfruit revolver

CALIBER_DOT_38

Used in small caliber revolvers

CALIBER_DOT_45

Used in M1911 pistol, C-20r SMG

CALIBER_DOT_45_COLT

Used in Colt-type revolvers and pistols (maybe merge it with .45?)

CALIBER_DOT_50

Used in Syndicate sniper rifle

CALIBER_DOT_50AE

Used in Desert Eagle pistol

CALIBER_DOT_50L

Used in Compact Syndicate sniper rifle

CALIBER_DOT_75

Used in high-caliber rocket launchers

CALIBER_FOAM_FORCE

Used in foam guns

CALIBER_FOAM_FORCE_SNIPER

Used in sniper foam gun

CALIBER_LASER

Used in laser weapons

CALIBER_ROCKET

Used in rocket launchers

CALIBER_SPEAR

Used in speargun

CALIBER_SPECTER

Used in Specter pistol

GUN_ACCURACY_DEFAULT

Default accuracy for all projectile weapon

GUN_ACCURACY_MINIMAL

Minimal gun accuracy

GUN_ACCURACY_PISTOL

Pistol accuracy (near default)

Uplink pistol accuracy (better than normal pistols)

GUN_ACCURACY_RIFLE

Rifle accuracy (more than default)

GUN_ACCURACY_RIFLE_LASER

Laser rifle accuracy (default but lesser spread)

Uplink rifles accuracy (better than default rifles)

GUN_ACCURACY_SHOTGUN

Shotgun accuracy (less than default)

GUN_ACCURACY_SNIPER

Sniper rifle accuracy (100% hit)

GUN_AUTO_MODE

Full auto friemode

GUN_BURST_MODE

Burst fire mode

GUN_MAGAZINE_RELOAD_DURATION

Magazine reload duration

GUN_RECOIL_HIGH

High recoil

GUN_RECOIL_LOW

Low recoil

GUN_RECOIL_MEDIUM

Medium recoil

GUN_RECOIL_MEGA

Mega recoil

GUN_RECOIL_MIN

Minimal recoil

GUN_SINGLE_MODE

Single shot firemode