Skip to content

Commit

Permalink
mech2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratyyy committed Sep 4, 2023
1 parent 56b05b2 commit a7f4322
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ ent-MechMarauderDestroyed = сломанный БПМ «Мародёр»
.desc = больше не выстрелит, теперь он лишь груда металла и схем.
.suffix = { "" }
ent-MechDarkGygax = АБМС «Гайгэкс»
.desc = Перекрашенный синдикатом БПМП «Гайгэкс», потрёпан и сильно изношен, но все еще функционирует в штатном режиме. Прямо как с последней корпоротивной войны.
.desc = Перекрашенный синдикатом АБМНТ «Гайгэкс», потрёпан и сильно изношен, но все еще функционирует в штатном режиме. Прямо как с последней корпоротивной войны.
.suffix = { "механоид" }
ent-MechSeraph = БКМ «Серафим»
.desc = Броне-Командный Мех «Серафим». Это особая модель, используемая только высокопоставленными военными.
.suffix = { "механоид" }
ent-MechDurand = ПВМ «Дюранд»
.desc = Полицейский мех правительства земли, зачастую его просто используют в правоохранительных органах, так как он зарекомендовал себя как надежный мех поддержки. А ещё он довольно дешевый.
.suffix = { "механоид" }
ent-MechGygaxDestroyed = сломанный БПМП «Гайгэкс»
ent-MechGygaxDestroyed = сломанный АБМНТ «Гайгэкс»
.desc = не уже поможет в нужный момент, можете собрать из него стол, он будет благодарен.
.suffix = { "" }
ent-MechDarkHonker = АБМС тёмный «Х.О.Н.К.»
Expand All @@ -46,10 +46,10 @@ ent-MechClarke = КШГ «Кларк»
ent-MechClarkeDestroyed = сломанный КШГ «Кларк»
.desc = Не донес руды на станцию, оставьте его гнить тут, или сделайте из него что-нибудь.
.suffix = { "" }
ent-MechGygax = БПМ «Гайгэкс»
ent-MechGygax = АБМНТ «Гайгэкс»
.desc = броне-пехотный механоид Поддержки «Гайгэкс», один из старых но хорошо зарекомендовавший себя. Используеться НаноТрейзен как вторичный механоид поддержки.
.suffix = { "механоид" }
ent-MechDarkGygaxDestroyed = сломанный БПМ «Гайгэкс»
ent-MechDarkGygaxDestroyed = сломанный АБМНТ «Гайгэкс»
.desc = Ему не хватает запчастей чтоб взорвать что-нибудь, сделайте это за него, чтобы он не грустил.
.suffix = { "" }
ent-MechDurandDestroyed = сломанный ПВМ «Дюранд»
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ent-WeaponTaser9000 = навесной дизейблер PBT «Усмирите
.desc = Навесной нелетальный Дизейблер, позволяющий оглушить злоумышленников.
.suffix = { "" }
ent-WeaponShotgunEnforcer9000 = LBX AC 10 «Залп»
.desc = Навесное огнестрельное орудие, стреляющее дробовыми патронами.
.desc = Навесное огнестрельное орудие, стреляющее снайперскими патронами.
.suffix = { "" }
ent-WeaponLightMachineGunL69000 = карабин FNX-99 «Аид»
.desc = Вы его любите, вы его знаете.
Expand Down
35 changes: 35 additions & 0 deletions Resources/Prototypes/Entities/Mobs/mechs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
- AllAccess
- type: StaticPrice
price: 10000
- type: ShowSecurityIcons

- type: entity
id: MechMaulerDestroyed
Expand Down Expand Up @@ -724,13 +725,16 @@
rules: ghost-role-information-MechOdysseus-rules
- type: PointLight
color: cyan
- type: Body
prototype: odySilicon
- type: InnateTool
tools:
- id: HyposprayPromisliniy9000
- id: JawsOfLifeHarm9000
- id: HandheldCrewMonitor
- id: ClothingBackpackSatchelMedical
- id: HandheldHealthAnalyzer
- id: DefibrillatorOneHandedUnpowered
- type: Strap
position: Stand
buckleOffset: "0,0.15"
Expand Down Expand Up @@ -779,6 +783,37 @@
MechOdysseusDestroyed:
min: 1
max: 1
- type: body
id: odySilicon
name: "mecha"
root: hand 1
slots:
hand 1:
part: LeftArmBorg
connections:
- hand 2
hand 2:
part: LeftArmBorg
connections:
- hand 3
hand 3:
part: LeftArmBorg
connections:
- hand 4
hand 4:
part: RightArmBorg
connections:
- hand 5
hand 5:
part: RightArmBorg
connections:
- hand 6
hand 6:
part: LeftArmBorg
connections:
- hand 7
hand 7:
part: LeftArmBorg

- type: entity
id: MechOdysseusDestroyed
Expand Down
160 changes: 29 additions & 131 deletions Resources/Prototypes/Entities/Objects/Weapons/mech.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
- type: Battery
maxCharge: 40000
startingCharge: 40000
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 10
- type: MagazineVisuals
magState: mag
steps: 5
Expand Down Expand Up @@ -129,39 +132,29 @@

- type: entity
name: LBX AC 10 "Salvo"
parent: BaseItem
parent: BaseWeaponBatterySmall
id: WeaponShotgunEnforcer9000
description: Mounted firearm that fires shotgun rounds.
components:
- type: Sprite
sprite: Objects/Specific/Mech/mecha_equipment.rsi
state: mecha_scatter
- type: BallisticAmmoProvider
autoCycle: true
whitelist:
tags:
- ShellShotgun
capacity: 50
proto: ShellShotgun
soundInsert:
path: /Audio/Weapons/Guns/MagIn/shotgun_insert.ogg
- type: AmmoCounter
- type: Gun
fireRate: 1
selectedMode: FullAuto
availableModes:
- FullAuto
- type: MechEquipment
- type: UIFragment
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
ents: []
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/hpistol.ogg
fireRate: 0.7
- type: ProjectileBatteryAmmoProvider
proto: BulletAntiMateriel
fireCost: 200
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 10
- type: Appearance

- type: entity
name: Carbine FNX-99 "Aid"
id: WeaponLightMachineGunL69000
parent: BaseItem
parent: WeaponAS2Ultra9000
description: Mounted carbine with armor-piercing rounds.
components:
- type: Sprite
Expand All @@ -182,49 +175,10 @@
path: /Audio/Weapons/Guns/Gunshots/lmg.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/lmg_empty.ogg
- type: ChamberMagazineAmmoProvider
- type: AmmoCounter
- type: MagazineVisuals
magState: mag
steps: 4
zeroVisible: true
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazineLightRifleBox9000
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/batrifle_magout.ogg
priority: 2
whitelist:
tags:
- MagazineLightRifleBox
gun_chamber:
name: Chamber
startingItem: CartridgeLightRifle
priority: 1
whitelist:
tags:
- CartridgeLightRifle
- type: Appearance
- type: MechEquipment
- type: UIFragment
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot

- type: entity
name: Magazine for FNX-99 Carbine
parent: MagazineLightRifleBox
id: MagazineLightRifleBox9000
components:
- type: BallisticAmmoProvider
capacity: 300

- type: entity
name: Tesla Cannon P-X
parent: BaseItem
parent: BaseWeaponBatterySmall
id: WeaponBFG9000
description: Weapon for combat mechanoids that fires energy spheres, based on the principle of an experimental Tesla engine
components:
Expand All @@ -234,25 +188,23 @@
state: mecha_wholegen
- type: Item
size: 80
- type: AmmoCounter
- type: Gun
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser_cannon2.ogg
path: /Audio/Weapons/Guns/Gunshots/plasma_cutter.ogg
fireRate: 1
projectileSpeed: 2
selectedMode: SemiAuto
availableModes:
- SemiAuto
- type: BallisticAmmoProvider
- type: ProjectileBatteryAmmoProvider
proto: BFGBullet
capacity: 20
fireCost: 200
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 40
- type: Appearance
- type: MechEquipment
- type: UIFragment
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
ents: []

- type: entity
name: Incinerator Cannon ZFI
Expand Down Expand Up @@ -410,7 +362,7 @@
- type: entity
name: AC 2 "Ultra"
id: WeaponAS2Ultra9000
parent: BaseItem
parent: BaseWeaponBatterySmall
description: Mounted machine gun.
components:
- type: Sprite
Expand All @@ -431,46 +383,15 @@
path: /Audio/Weapons/Guns/Gunshots/lmg.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/lmg_empty.ogg
- type: ChamberMagazineAmmoProvider
- type: AmmoCounter
- type: MagazineVisuals
magState: mag
steps: 4
zeroVisible: true
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazineLightRifleBox9000
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/batrifle_magout.ogg
priority: 2
whitelist:
tags:
- MagazineLightRifleBox
gun_chamber:
name: Chamber
startingItem: CartridgeLightRifle
priority: 1
whitelist:
tags:
- CartridgeLightRifle
- type: ProjectileBatteryAmmoProvider
proto: BulletRifle
fireCost: 10
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 1
- type: Appearance
- type: MechEquipment
- type: UIFragment
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot


- type: entity
name: Magazine for AC 2 "Ultra".
parent: MagazineLightRifleBox
id: MagazineLightRifleBoxAS29000
components:
- type: BallisticAmmoProvider
capacity: 500

- type: entity
name: Mouse Trap Mortar
Expand Down Expand Up @@ -724,26 +645,3 @@
interfaces:
- key: enum.RadarConsoleUiKey.Key
type: RadarConsoleBoundUserInterface

- type: entity
id: BFGBullet
name: Bullet BSG
noSpawn: true
parent: BaseBullet
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/magic.rsi
layers:
- state: bluespace
- type: Projectile
ignoreResistances: true
damage:
types:
Brute: 20
Burn: 20
Structural: 100
- type: PointLight
enabled: true
color: "#0000FF"
radius: 5.0
energy: 4.0

0 comments on commit a7f4322

Please sign in to comment.