forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added more dakka by MIXnikita (#764)
* Added more dakka by MIXnikita * Fixes * Fixes 2 * fixy fix
- Loading branch information
1 parent
0bf7b7f
commit a40ad26
Showing
41 changed files
with
488 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- files: ["nar_shot.ogg", "plasma_mlg.ogg", "plasma_mlg_load.ogg", "pkt_shot.ogg"] | ||
license: "Custom" | ||
copyright: "Made by MIXnikita for SS220. Licensed under EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt" | ||
source: "https://github.com/SerbiaStrong-220/space-station-14" |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
331 changes: 331 additions & 0 deletions
331
Resources/Prototypes/SS220/Entities/Structures/Shuttles/shuttle_gun220.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,331 @@ | ||
- type: entity | ||
id: ShuttleGunMLG | ||
parent: [ ShuttleGunBase, ConstructibleMachine] | ||
name: SPG-300 "Мародёр" | ||
description: Это скорострельное бортовое орудие для мелких судов. Стрельба происходит путём преобразования энергии в плазму. | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Objects/Weapons/Guns/Shuttles/mlg.rsi | ||
layers: | ||
- state: spg-mlg | ||
- state: mag-7 | ||
map: ["enum.GunVisualLayers.Mag"] | ||
shader: unshaded | ||
- type: ContainerContainer | ||
containers: | ||
machine_board: !type:Container | ||
machine_parts: !type:Container | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 300 | ||
behaviors: | ||
- !type:ChangeConstructionNodeBehavior | ||
node: machineFrame | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- type: Gun | ||
projectileSpeed: 55 | ||
fireRate: 9 | ||
selectedMode: SemiAuto | ||
angleDecay: 45 | ||
minAngle: 2 | ||
maxAngle: 25 | ||
availableModes: | ||
- SemiAuto | ||
soundGunshot: | ||
path: /Audio/SS220/Weapons/Guns/Gunshots/plasma_mlg.ogg # SS220 Shuttle-Gun-Sounds | ||
params: | ||
variation: 0.12 | ||
- type: RechargeBasicEntityAmmo | ||
rechargeCooldown: 2 | ||
rechargeSound: | ||
path: /Audio/SS220/Weapons/Guns/Gunshots/plasma_mlg_load.ogg # SS220 Shuttle-Gun-Sounds | ||
params: | ||
pitch: 1.0 | ||
variation: 0.08 | ||
- type: BasicEntityAmmoProvider | ||
proto: BulletMLG | ||
capacity: 14 | ||
count: 14 | ||
- type: Machine | ||
board: ShuttleGunKineticCircuitboard | ||
- type: MagazineVisuals | ||
magState: mag | ||
steps: 8 | ||
zeroVisible: false | ||
|
||
|
||
- type: entity | ||
id: ShuttleGunNURS | ||
parent: [ShuttleGunBase, ConstructibleMachine] | ||
name: EXP-16r "УНАР" | ||
description: Залповая установка неуправляемых ракет. Вмещает до 16 снарядов. | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Objects/Weapons/Guns/Shuttles/nurs.rsi | ||
layers: | ||
- state: exp-nurs | ||
- state: mag-16 | ||
map: ["enum.GunVisualLayers.Mag"] | ||
- type: ContainerContainer | ||
containers: | ||
machine_board: !type:Container | ||
machine_parts: !type:Container | ||
ballistic-ammo: !type:Container | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 400 | ||
behaviors: | ||
- !type:ChangeConstructionNodeBehavior | ||
node: machineFrame | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- type: Gun | ||
projectileSpeed: 50 | ||
fireRate: 8 | ||
angleDecay: 45 | ||
minAngle: 5 | ||
maxAngle: 40 | ||
selectedMode: FullAuto | ||
availableModes: | ||
- FullAuto | ||
soundGunshot: | ||
path: /Audio/SS220/Weapons/Guns/Gunshots/nar_shot.ogg # SS220 Shuttle-Gun-Sounds | ||
params: | ||
variation: 0.15 | ||
soundEmpty: | ||
path: /Audio/Weapons/Guns/Empty/empty.ogg | ||
- type: BallisticAmmoProvider | ||
whitelist: | ||
tags: | ||
- CartridgeNURS | ||
capacity: 16 | ||
soundInsert: | ||
path: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg | ||
- type: Machine | ||
board: ShuttleGunFriendshipCircuitboard | ||
- type: MagazineVisuals | ||
magState: mag | ||
steps: 17 | ||
zeroVisible: false | ||
|
||
|
||
- type: entity | ||
id: ShuttleGunPkt | ||
parent: [ShuttleGunBase, ConstructibleMachine] | ||
name: СКПО-500 "ПКТ" | ||
description: Станковый пулемёт ПКТ. вмещает в себя короб на 500 патронов .50 калибра. | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Objects/Weapons/Guns/Shuttles/pkt.rsi | ||
layers: | ||
- state: base | ||
- state: mag-1 | ||
map: ["enum.GunVisualLayers.Mag"] | ||
- type: ContainerContainer | ||
containers: | ||
machine_board: !type:Container | ||
machine_parts: !type:Container | ||
ballistic-ammo: !type:Container | ||
gun_magazine: !type:ContainerSlot | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 600 | ||
behaviors: | ||
- !type:ChangeConstructionNodeBehavior | ||
node: machineFrame | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- type: Gun | ||
projectileSpeed: 50 | ||
fireRate: 4 | ||
angleDecay: 45 | ||
minAngle: 2 | ||
maxAngle: 30 | ||
selectedMode: FullAuto | ||
availableModes: | ||
- FullAuto | ||
soundGunshot: | ||
path: /Audio/SS220/Weapons/Guns/Gunshots/pkt_shot.ogg # SS220 Shuttle-Gun-Sounds | ||
params: | ||
variation: 0.2 | ||
soundEmpty: | ||
path: /Audio/Weapons/Guns/Empty/empty.ogg | ||
- type: MagazineAmmoProvider | ||
- type: MagazineVisuals | ||
magState: mag | ||
steps: 2 | ||
zeroVisible: true | ||
- type: ItemSlots | ||
slots: | ||
gun_magazine: | ||
name: Magazine | ||
priority: 2 | ||
whitelist: | ||
tags: | ||
- BaseMagazinePkt | ||
insertSound: | ||
path: /Audio/Weapons/Guns/MagIn/kinetic_reload.ogg | ||
params: | ||
pitch: 2 | ||
ejectSound: /Audio/Weapons/Guns/MagOut/smg_magout.ogg | ||
|
||
|
||
|
||
|
||
#Bullets, Projectiles, Magazins and Cartridge | ||
- type: entity | ||
id: BulletRocketNURS | ||
name: НАР | ||
parent: BaseBulletTrigger | ||
noSpawn: true | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Objects/Weapons/Guns/Projectiles/nar.rsi | ||
layers: | ||
- state: nar | ||
- type: ExplodeOnTrigger | ||
- type: Explosive | ||
explosionType: Default | ||
maxIntensity: 5 | ||
intensitySlope: 3 | ||
totalIntensity: 30 | ||
maxTileBreak: 1 | ||
- type: PointLight | ||
radius: 1.5 | ||
color: orange | ||
energy: 0.3 | ||
|
||
|
||
- type: entity | ||
id: CartridgeNURS | ||
name: заряд НАР | ||
parent: BaseItem | ||
description: заряд неуправляемой ракеты 57 мм. | ||
components: | ||
- type: Tag | ||
tags: | ||
- CartridgeNURS | ||
- type: Item | ||
size: Small | ||
- type: CartridgeAmmo | ||
proto: BulletRocketNURS | ||
deleteOnSpawn: true | ||
- type: Sprite | ||
sprite: SS220/Objects/Weapons/Guns/Ammunition/Explosives/nar.rsi | ||
state: nar | ||
- type: StaticPrice | ||
price: 20 | ||
|
||
- type: Tag | ||
id: CartridgeNURS | ||
|
||
|
||
#MLG bullet | ||
- type: entity | ||
id: BulletMLG | ||
name: сгусток плазмы | ||
parent: BaseBullet | ||
noSpawn: true | ||
components: | ||
- type: Reflective | ||
reflective: None | ||
- type: TimedDespawn | ||
lifetime: 4 | ||
- type: Sprite | ||
noRot: false | ||
sprite: Objects/Weapons/Guns/Projectiles/magic.rsi | ||
layers: | ||
- state: declone | ||
shader: unshaded | ||
- type: Projectile | ||
damage: | ||
types: | ||
Blunt: 35 | ||
Piercing: 35 | ||
Structural: 95 | ||
Stamina: 15 | ||
|
||
|
||
|
||
- type: entity | ||
id: BaseMagazinePkt | ||
name: короб (.50 калибр) | ||
parent: BaseItem | ||
abstract: true | ||
components: | ||
- type: Tag | ||
tags: | ||
- BaseMagazinePkt | ||
- type: Item | ||
size: Large | ||
- type: BallisticAmmoProvider | ||
mayTransfer: true | ||
whitelist: | ||
tags: | ||
- CartridgePkt | ||
capacity: 500 | ||
- type: ContainerContainer | ||
containers: | ||
ballistic-ammo: !type:Container | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Ammunition/Magazine/LightRifle/pk_box.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.GunVisualLayers.Base"] | ||
- state: mag-7 | ||
map: ["enum.GunVisualLayers.Mag"] | ||
- type: MagazineVisuals | ||
magState: mag | ||
steps: 8 | ||
zeroVisible: false | ||
- type: Appearance | ||
|
||
- type: Tag | ||
id: BaseMagazinePkt | ||
|
||
- type: entity | ||
id: MagazinePktFull | ||
name: короб ПКТ (.50 калибр) | ||
parent: BaseMagazinePkt | ||
components: | ||
- type: BallisticAmmoProvider | ||
proto: CartridgePkt | ||
|
||
|
||
- type: entity | ||
id: CartridgePkt | ||
name: патрон (.50 калибр) | ||
parent: BaseCartridgeHeavyRifle | ||
components: | ||
- type: CartridgeAmmo | ||
proto: BulletPkt | ||
deleteOnSpawn: true | ||
|
||
- type: entity | ||
noSpawn: true | ||
parent: BaseBullet | ||
id: BulletPkt | ||
name: пуля (.50) | ||
components: | ||
- type: Reflective | ||
reflective: None | ||
- type: TimedDespawn | ||
lifetime: 4 | ||
- type: Projectile | ||
damage: | ||
types: | ||
Piercing: 20 | ||
Structural: 30 | ||
Stamina: 50 | ||
ignoreResistances: true | ||
|
||
|
||
- type: Tag | ||
id: CartridgePkt |
14 changes: 14 additions & 0 deletions
14
Resources/Textures/SS220/Objects/Weapons/Guns/Ammunition/Explosives/nar.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "by MIXnikita for SS220", | ||
"states": [ | ||
{ | ||
"name": "nar" | ||
} | ||
] | ||
} |
Binary file added
BIN
+2.34 KB
...urces/Textures/SS220/Objects/Weapons/Guns/Ammunition/Explosives/nar.rsi/nar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
Resources/Textures/SS220/Objects/Weapons/Guns/Projectiles/nar.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "by MIXnikita for SS220", | ||
"states": [ | ||
{ | ||
"name": "nar", | ||
"delays": [ | ||
[ | ||
0.05, | ||
0.05, | ||
0.05, | ||
0.05 | ||
] | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+2.58 KB
Resources/Textures/SS220/Objects/Weapons/Guns/Projectiles/nar.rsi/nar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.09 KB
Resources/Textures/SS220/Objects/Weapons/Guns/Shuttles/mlg.rsi/mag-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.09 KB
Resources/Textures/SS220/Objects/Weapons/Guns/Shuttles/mlg.rsi/mag-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.1 KB
Resources/Textures/SS220/Objects/Weapons/Guns/Shuttles/mlg.rsi/mag-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.1 KB
Resources/Textures/SS220/Objects/Weapons/Guns/Shuttles/mlg.rsi/mag-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.1 KB
Resources/Textures/SS220/Objects/Weapons/Guns/Shuttles/mlg.rsi/mag-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.1 KB
Resources/Textures/SS220/Objects/Weapons/Guns/Shuttles/mlg.rsi/mag-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.09 KB
Resources/Textures/SS220/Objects/Weapons/Guns/Shuttles/mlg.rsi/mag-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.