Add the N1984 pistol (#23775)
@@ -252,7 +252,7 @@
|
|||||||
- id: RegenerativeMesh
|
- id: RegenerativeMesh
|
||||||
- id: BoxZiptie
|
- id: BoxZiptie
|
||||||
- id: CrowbarRed
|
- id: CrowbarRed
|
||||||
- id: MagazinePistol
|
- id: MagazineMagnum
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
noSpawn: true
|
noSpawn: true
|
||||||
|
|||||||
@@ -1,3 +1,19 @@
|
|||||||
|
- type: entity
|
||||||
|
id: BaseMagazineMagnum
|
||||||
|
name: pistol magazine (.45 magnum)
|
||||||
|
parent: BaseMagazinePistol
|
||||||
|
abstract: true
|
||||||
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- MagazineMagnum
|
||||||
|
- type: BallisticAmmoProvider
|
||||||
|
mayTransfer: true
|
||||||
|
whitelist:
|
||||||
|
tags:
|
||||||
|
- CartridgeMagnum
|
||||||
|
capacity: 7
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: BaseMagazineMagnumSubMachineGun
|
id: BaseMagazineMagnumSubMachineGun
|
||||||
name: "Vector magazine (.45 magnum)"
|
name: "Vector magazine (.45 magnum)"
|
||||||
@@ -31,6 +47,48 @@
|
|||||||
zeroVisible: false
|
zeroVisible: false
|
||||||
- type: Appearance
|
- type: Appearance
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: MagazineMagnum
|
||||||
|
name: pistol magazine (.45 magnum)
|
||||||
|
parent: BaseMagazineMagnum
|
||||||
|
components:
|
||||||
|
- type: BallisticAmmoProvider
|
||||||
|
proto: CartridgeMagnum
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: red
|
||||||
|
map: ["enum.GunVisualLayers.Base"]
|
||||||
|
- state: mag-1
|
||||||
|
map: ["enum.GunVisualLayers.Mag"]
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: MagazineMagnumPractice
|
||||||
|
name: pistol magazine (.45 magnum practice)
|
||||||
|
parent: BaseMagazineMagnum
|
||||||
|
components:
|
||||||
|
- type: BallisticAmmoProvider
|
||||||
|
proto: CartridgeMagnum
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: practice
|
||||||
|
map: ["enum.GunVisualLayers.Base"]
|
||||||
|
- state: mag-1
|
||||||
|
map: ["enum.GunVisualLayers.Mag"]
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: MagazineMagnumRubber
|
||||||
|
name: pistol magazine (.45 magnum rubber)
|
||||||
|
parent: BaseMagazineMagnum
|
||||||
|
components:
|
||||||
|
- type: BallisticAmmoProvider
|
||||||
|
proto: CartridgeMagnum
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: rubber
|
||||||
|
map: ["enum.GunVisualLayers.Base"]
|
||||||
|
- state: mag-1
|
||||||
|
map: ["enum.GunVisualLayers.Mag"]
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: MagazineMagnumSubMachineGun
|
id: MagazineMagnumSubMachineGun
|
||||||
name: "Vector magazine (.45 magnum)"
|
name: "Vector magazine (.45 magnum)"
|
||||||
|
|||||||
@@ -194,3 +194,71 @@
|
|||||||
whitelist:
|
whitelist:
|
||||||
tags:
|
tags:
|
||||||
- CartridgePistol
|
- CartridgePistol
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: N1984
|
||||||
|
parent: BaseWeaponPistol
|
||||||
|
id: WeaponPistolN1984 # the spaces in description are for formatting.
|
||||||
|
description: The sidearm of any self respecting officer. Comes in .45 magnum, the lord's caliber.
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Objects/Weapons/Guns/Pistols/N1984.rsi
|
||||||
|
layers:
|
||||||
|
- state: base
|
||||||
|
map: ["enum.GunVisualLayers.Base"]
|
||||||
|
- state: mag-0
|
||||||
|
map: ["enum.GunVisualLayers.Mag"]
|
||||||
|
- type: Clothing
|
||||||
|
sprite: Objects/Weapons/Guns/Pistols/N1984.rsi
|
||||||
|
- type: Gun
|
||||||
|
minAngle: 1
|
||||||
|
maxAngle: 20
|
||||||
|
angleIncrease: 8
|
||||||
|
angleDecay: 4
|
||||||
|
fireRate: 4
|
||||||
|
availableModes:
|
||||||
|
- SemiAuto
|
||||||
|
soundGunshot:
|
||||||
|
path: /Audio/Weapons/Guns/Gunshots/mk58.ogg
|
||||||
|
- type: ItemSlots
|
||||||
|
slots:
|
||||||
|
gun_magazine:
|
||||||
|
name: Magazine
|
||||||
|
startingItem: MagazineMagnum
|
||||||
|
insertSound: /Audio/Weapons/Guns/MagIn/pistol_magin.ogg
|
||||||
|
ejectSound: /Audio/Weapons/Guns/MagOut/pistol_magout.ogg
|
||||||
|
priority: 2
|
||||||
|
whitelist:
|
||||||
|
tags:
|
||||||
|
- MagazineMagnum
|
||||||
|
gun_chamber:
|
||||||
|
name: Chamber
|
||||||
|
startingItem: CartridgeMagnum
|
||||||
|
priority: 1
|
||||||
|
whitelist:
|
||||||
|
tags:
|
||||||
|
- CartridgeMagnum
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: N1984
|
||||||
|
parent: WeaponPistolN1984
|
||||||
|
id: WeaponPistolN1984Nonlethal
|
||||||
|
components:
|
||||||
|
- type: ItemSlots
|
||||||
|
slots:
|
||||||
|
gun_magazine:
|
||||||
|
name: Magazine
|
||||||
|
startingItem: MagazineMagnumRubber
|
||||||
|
insertSound: /Audio/Weapons/Guns/MagIn/pistol_magin.ogg
|
||||||
|
ejectSound: /Audio/Weapons/Guns/MagOut/pistol_magout.ogg
|
||||||
|
priority: 2
|
||||||
|
whitelist:
|
||||||
|
tags:
|
||||||
|
- MagazineMagnum
|
||||||
|
gun_chamber:
|
||||||
|
name: Chamber
|
||||||
|
startingItem: CartridgeMagnumRubber
|
||||||
|
priority: 1
|
||||||
|
whitelist:
|
||||||
|
tags:
|
||||||
|
- CartridgeMagnum
|
||||||
|
|||||||
@@ -24,5 +24,6 @@
|
|||||||
outerClothing: ClothingOuterArmorBasic
|
outerClothing: ClothingOuterArmorBasic
|
||||||
id: CentcomPDA
|
id: CentcomPDA
|
||||||
ears: ClothingHeadsetAltCentCom
|
ears: ClothingHeadsetAltCentCom
|
||||||
|
belt: WeaponPistolN1984
|
||||||
pocket1: BoxFolderBlack
|
pocket1: BoxFolderBlack
|
||||||
pocket2: PenCentcom
|
pocket2: PenCentcom
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
id: ERTLeaderPDA
|
id: ERTLeaderPDA
|
||||||
ears: ClothingHeadsetAltCentCom
|
ears: ClothingHeadsetAltCentCom
|
||||||
belt: ClothingBeltSecurityFilled
|
belt: ClothingBeltSecurityFilled
|
||||||
pocket1: WeaponPistolMk58Nonlethal
|
pocket1: WeaponPistolN1984Nonlethal
|
||||||
pocket2: FlashlightSeclite
|
pocket2: FlashlightSeclite
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
id: ERTLeaderPDA
|
id: ERTLeaderPDA
|
||||||
ears: ClothingHeadsetAltCentCom
|
ears: ClothingHeadsetAltCentCom
|
||||||
belt: ClothingBeltSecurityFilled
|
belt: ClothingBeltSecurityFilled
|
||||||
pocket1: WeaponPistolMk58Nonlethal
|
pocket1: WeaponPistolN1984Nonlethal
|
||||||
pocket2: FlashlightSeclite
|
pocket2: FlashlightSeclite
|
||||||
|
|
||||||
- type: startingGear
|
- type: startingGear
|
||||||
|
|||||||
|
After Width: | Height: | Size: 581 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 252 B |
|
After Width: | Height: | Size: 587 B |
|
After Width: | Height: | Size: 422 B |
|
After Width: | Height: | Size: 417 B |
|
After Width: | Height: | Size: 153 B |
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Created by IProduceWidgets (github) to make the style of desertrose at https://github.com/DesertRose2/desertrose/commit/120961e254d7f83a6e00a02c76e734f9e5019345, https://github.com/DesertRose2/desertrose/blob/master/icons/obj/guns/projectile.dmi",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "base"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bolt-open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mag-0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inhand-left",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inhand-right",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "equipped-BELT",
|
||||||
|
"directions": 4
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||