Skip to content

Commit

Permalink
Новые пушки для Мехов (#817)
Browse files Browse the repository at this point in the history
* AutoCannons for Mech

* Fix

* fix 2

* Ah shit again

* *Недовольно Бурчит*

---------

Co-authored-by: Vigers Ray <[email protected]>
  • Loading branch information
KaiserMaus and VigersRay authored Dec 9, 2024
1 parent 72605e9 commit e556a5e
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,29 @@
- type: Appearance
- type: AmmoCounter

- type: entity
id: WeaponMechCombatHeavyRifle
name: Mounted Heavy Rifle Gun
description: A gun for battlemechs, firing Antimaterial bullet.
suffix: Mech Weapon, Gun, Combat, Anti
parent: [ BaseMechWeaponRange, CombatMechEquipment ]
components:
- type: Sprite
sprite: Objects/Specific/Mech/mecha_equipment.rsi
state: mecha_antimatrifle
- type: Gun
fireRate: 2
selectedMode: FullAuto
availableModes:
- FullAuto
soundGunshot:
path: /Audio/_Sunrise/Weapons/Guns/Snipers/Bauer127/bauer127_shot.ogg
- type: ProjectileBatteryAmmoProvider
proto: CartridgeAntiMateriel
fireCost: 45
- type: Appearance
- type: AmmoCounter

- type: entity
id: WeaponMechCombatSolarisLaser
name: CH-LC "Solaris" laser cannon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
- type: entity
id: WeaponMechCombatPirateCannon
name: Mounted PirateCannon
description: An ancient heavy machine gun given new life as a mech-mounted gun
description: An ancient heavy gun given new life as a mech-mounted gun
suffix: Mech Weapon, Gun, Combat, Pirate
parent: [ BaseMechWeaponRange, CombatMechEquipment ]
components:
Expand All @@ -75,7 +75,7 @@
- type: entity
id: WeaponMechCombatPirateGrapeshot
name: Mounted PirateGrapeshot
description: An ancient heavy machine gun given new life as a mech-mounted gun
description: An ancient heavy gun given new life as a mech-mounted gun
suffix: Mech Weapon, Gun, Combat, Pirate
parent: [ BaseMechWeaponRange, CombatMechEquipment ]
components:
Expand All @@ -100,7 +100,7 @@
- type: entity
id: WeaponMechCombatPirateGlassshot
name: Mounted PirateGlassshot
description: An ancient heavy machine gun given new life as a mech-mounted gun
description: An ancient heavy gun given new life as a mech-mounted gun
suffix: Mech Weapon, Gun, Combat, Pirate
parent: [ BaseMechWeaponRange, CombatMechEquipment ]
components:
Expand Down Expand Up @@ -150,3 +150,26 @@
fireCost: 6
- type: Appearance
- type: AmmoCounter

- type: entity
id: WeaponMechCombatDuster
name: Mounted EXP-220 Duster
description: An heavy Auto Cannon as a mech-mounted gun with Frag ammo
suffix: Mech Weapon, Gun, Combat
parent: [ BaseMechWeaponRange, CombatMechEquipment ]
components:
- type: Sprite
sprite: Objects/Specific/Mech/mecha_equipment.rsi
state: mecha_autocannon
- type: Gun
fireRate: 0.35
selectedMode: FullAuto
availableModes:
- FullAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/ship_duster.ogg
- type: ProjectileBatteryAmmoProvider
proto: GrenadeFrag
fireCost: 140
- type: Appearance
- type: AmmoCounter
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.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,25 @@
]
]
},
{
"name": "mecha_antimatrifle",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "mecha_solaris",
"delays": [
Expand All @@ -249,6 +268,32 @@
]
]
},
{
"name": "mecha_autocannon",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "mecha_firedart"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
{
"name": "piercing"
},
{
"name": "grenade"
},
{
"name": "rubber"
},
Expand Down

0 comments on commit e556a5e

Please sign in to comment.