Skip to content

Commit

Permalink
m28u
Browse files Browse the repository at this point in the history
  • Loading branch information
superlowfpss committed Nov 30, 2024
1 parent 726fc87 commit 2ab4833
Show file tree
Hide file tree
Showing 13 changed files with 119 additions and 0 deletions.
61 changes: 61 additions & 0 deletions Resources/Prototypes/_Custom/slfs/Weapons/m28u.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
- type: entity
name: M-28u
parent: BaseWeaponRifle
id: WeaponRifleM28U
suffix: Автомат
description: M-28u – это компактная версия автомата M28, оптимизированная для стрельбы 9-миллиметровыми патронами.
components:
- type: Sprite
sprite: _Custom/slfs/Weapons/m28u/big.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Clothing
sprite: _Custom/slfs/Weapons/m28u/tiny.rsi
- type: Item
sprite: _Custom/slfs/Weapons/m28u/tiny.rsi
- type: BkmGunWieldBonus
cameraRecoilScalar: -4
- type: GunWieldBonus
minAngle: -23
maxAngle: 0
angleIncrease: -6
- type: Gun
angleDecay: 50
angleIncrease: 9
cameraRecoilScalar: 5
minAngle: 24
maxAngle: 45
soundGunshot:
path: /Audio/Weapons/Guns64/Rifles/m16.ogg
soundEmpty:
path: /Audio/Weapons/Guns64/Rifles/m28_empty.ogg
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazinePistol
insertSound: /Audio/Weapons/Guns64/Rifles/m28_reload.ogg
ejectSound: /Audio/Weapons/Guns64/Rifles/m28_unload.ogg
priority: 2
whitelist:
tags:
- MagazinePistol
- MagazinePistolHighCapacity
gun_chamber:
name: Chamber
startingItem: CartridgePistol
priority: 1
whitelist:
tags:
- CartridgePistol
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance
- type: Wieldable
- type: UseDelay
delay: 0.7
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Resources/Textures/_Custom/slfs/Weapons/m28u/big.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken + resprite from vgstation at https://github.com/vgstation-coders/vgstation13/pull/20330/commits/1604c9cc61a48585e25b5f9eba3e179c06362372, backpack sprite by Peptide (copy of Atreides)",
"size": {
"x": 64,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "bolt-open"
},
{
"name": "base"
},
{
"name": "mag-0"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions Resources/Textures/_Custom/slfs/Weapons/m28u/tiny.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by ME DIO(or no_mad) (resprite by slfs)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
},
{
"name": "wielded-inhand-left",
"directions": 4
},
{
"name": "wielded-inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ab4833

Please sign in to comment.