-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new_weapon_for_sec #51
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- files: ["HoSLaser.ogg"] | ||
license: "CC-BY03.0" | ||
copyright: "Created by https://zvukogram.com" | ||
source: "https://zvukogram.com/category/zvuki-lazera/" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- files: ["MiniEnergyGun.ogg"] | ||
license: "CC-BY03.0" | ||
copyright: "Created by https://Zvukipro.com" | ||
source: "https://zvukipro.com/oryjie/196-zvuki-blastera.html" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ent-CrateSecurityMiniEnergyGun = Ящик с миниатюрными энергетическими пистолетами | ||
.desc = Этот ящик содержит в себе два миниатюрных энергетических пистолетов. Для открытия требуется доступ службы безопасности |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ent-WeaponMiniEnergyGun = Миниатюрный энергетический пистолет | ||
.desc = Небольшой энергетический пистолет со встроенным фонариком. У него есть две настройки; отключить и убить. Обычно выдается офицерам службы безопасности как табельное оружие. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ent-WeaponX2DualphaseEnergyLaserGun = Х-2 Двухфазовый энергетический лазерный пистолет | ||
.desc = Этот передовой и дорогой лазерный пистолет главы службы безопасности космической станции был изготовлен на заказ. Он сочетает в себе мощь и функциональность. Пистолет имеет два режима стрельбы - лазерный, который наносит урон ожогами на расстоянии, и станер, предназначенный для обезвреживания и задержания противников. Это оружие символизирует власть и ответственность главы службы безопасности. Однако оно не перезаряжается автоматически |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ent-LaserBulletForHoS = лазера |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ent-stanerBullet = станера |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ent-LaserBulletForMEG = лазера |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ent-LaserBulletStan = станнера |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,3 +114,14 @@ | |
amount: 4 | ||
|
||
# Cosmetic Crates | ||
|
||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Аналогично переместить в отдельный yml |
||
id: CrateSecurityMiniEnergyGun | ||
parent: CrateSecgear | ||
name: Ящик с миниатюрными энергетическими пистолетами | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
description: Этот ящик содержит в себе два миниатюрных энергетических пистолетов. Для открытия требуется доступ службы безопасности. | ||
components: | ||
- type: StorageFill | ||
contents: | ||
- id: WeaponMiniEnergyGun | ||
amount: 2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
# Сам прототип оружия | ||
- type: entity | ||
name: Миниатюрный энергетический пистолет | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Локализация. Переместить в Exodus |
||
parent: BaseWeaponBatterySmall | ||
id: WeaponMiniEnergyGun | ||
description: Небольшой энергетический пистолет со встроенным фонариком. У него есть две настройки; отключить и убить. Обычно выдается офицерам службы безопасности как табельное оружие. | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Battery/MiniEnergyGun.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.GunVisualLayers.Base"] | ||
- state: mag-unshaded-4 | ||
map: ["enum.GunVisualLayers.MagUnshaded"] | ||
shader: unshaded | ||
- type: Gun | ||
fireRate: 1.5 | ||
projectileSpeed: 75 | ||
selectedMode: SemiAuto | ||
availableModes: | ||
- SemiAuto | ||
soundGunshot: | ||
path: /Audio/Weapons/MiniEnergyGun.ogg | ||
- type: Item | ||
sprite: Objects/Weapons/Guns/Battery/MiniEnergyGun.rsi | ||
size: Small | ||
- type: ProjectileBatteryAmmoProvider | ||
proto: LaserBulletForMEG | ||
fireCost: 200 | ||
- type: BatteryWeaponFireModes | ||
fireModes: | ||
- proto: LaserBulletForMEG | ||
fireCost: 200 | ||
- proto: LaserBulletStan | ||
fireCost: 100 | ||
- type: Battery | ||
maxCharge: 1200 | ||
startingCharge: 1200 | ||
- type: MagazineVisuals | ||
magState: mag | ||
steps: 5 | ||
zeroVisible: true | ||
- type: Appearance | ||
- type: StaticPrice | ||
price: 250 | ||
- type: Sharp | ||
- type: UnpoweredFlashlight | ||
- type: PointLight | ||
enabled: false | ||
mask: /Textures/Effects/LightMasks/cone.png | ||
autoRot: true | ||
radius: 4 | ||
netsync: false | ||
|
||
# продект лазера | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Это лучше переместить отдельно в Exodus, Projectiles |
||
name: Режим лазера | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Локализация |
||
id: LaserBulletForMEG | ||
parent: EmitterBolt | ||
noSpawn: true | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Battery/MiniEnergyGun.rsi | ||
layers: | ||
- state: BlueTrac | ||
shader: unshaded | ||
- type: Projectile | ||
impactEffect: BulletImpactEffectLaserForMEG | ||
damage: | ||
types: | ||
Heat: 20 | ||
|
||
# эффект от лазера | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Переместить в Exodus/Entities/Objects/Weapons/Guns/Projectiles/ |
||
id: BulletImpactEffectLaserForMEG | ||
noSpawn: true | ||
components: | ||
- type: TimedDespawn | ||
lifetime: 0.3 | ||
- type: Sprite | ||
drawdepth: Effects | ||
layers: | ||
- shader: unshaded | ||
map: ["enum.EffectLayers.Unshaded"] | ||
sprite: Objects/Weapons/Guns/Battery/MiniEnergyGun.rsi | ||
state: impact_laser | ||
- type: EffectVisuals | ||
- type: Tag | ||
tags: | ||
- HideContextMenu | ||
|
||
# проджект станера(написан на основе проджекта лазера, ибо другие ломали фонарик) | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Переместить в Exodus/Entities/Objects/Weapons/Guns/Projectiles/ |
||
name: Режим станнера | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Локализация |
||
id: LaserBulletStan | ||
parent: EmitterBolt | ||
noSpawn: true | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Battery/MiniEnergyGun.rsi | ||
layers: | ||
- state: omnilaser | ||
shader: unshaded | ||
- type: StaminaDamageOnCollide | ||
damage: 25 | ||
- type: Projectile | ||
impactEffect: BulletImpactEffectLaserStan | ||
damage: | ||
types: | ||
Heat: 4.2 | ||
|
||
# эффект от станера | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Переместить в Exodus/Entities/Objects/Weapons/Guns/Projectiles/ |
||
id: BulletImpactEffectLaserStan | ||
noSpawn: true | ||
components: | ||
- type: TimedDespawn | ||
lifetime: 0.3 | ||
- type: Sprite | ||
drawdepth: Effects | ||
layers: | ||
- shader: unshaded | ||
map: ["enum.EffectLayers.Unshaded"] | ||
sprite: Objects/Weapons/Guns/Battery/MiniEnergyGun.rsi | ||
state: impact_laser_blue | ||
- type: EffectVisuals | ||
- type: Tag | ||
tags: | ||
- HideContextMenu |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
# сам лазер | ||
- type: entity | ||
name: Х-2 Двухфазовый энергетический лазерный пистолет | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Локализация |
||
parent: BaseWeaponBatterySmall | ||
id: WeaponX-2Dual-phaseEnergyLaserGun | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ID обычно делают не в шашлычной форме. Используй нижнее подчёркивание |
||
description: Этот передовой и дорогой лазерный пистолет главы службы безопасности космической станции был изготовлен на заказ. Он сочетает в себе мощь и функциональность. Пистолет имеет два режима стрельбы - лазерный, который наносит урон ожогами на расстоянии, и станер, предназначенный для обезвреживания и задержания противников. Это оружие символизирует власть и ответственность главы службы безопасности. Однако оно не перезаряжается автоматически | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Battery/MyltiLaserForHoS.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.GunVisualLayers.Base"] | ||
- state: mag-unshaded-4 | ||
map: ["enum.GunVisualLayers.MagUnshaded"] | ||
shader: unshaded | ||
- type: Gun | ||
fireRate: 2 | ||
projectileSpeed: 100 | ||
selectedMode: SemiAuto | ||
availableModes: | ||
- SemiAuto | ||
soundGunshot: | ||
path: /Audio/Weapons/HoSLaser.ogg | ||
- type: Item | ||
sprite: Objects/Weapons/Guns/Battery/MyltiLaserForHoS.rsi | ||
size: Small | ||
- type: ProjectileBatteryAmmoProvider | ||
proto: LaserBulletForHoS | ||
fireCost: 200 | ||
- type: BatteryWeaponFireModes | ||
fireModes: | ||
- proto: LaserBulletForHoS | ||
fireCost: 200 | ||
- proto: stanerBullet | ||
fireCost: 175 | ||
- type: Battery | ||
maxCharge: 2800 | ||
startingCharge: 2800 | ||
- type: MagazineVisuals | ||
magState: mag | ||
steps: 5 | ||
zeroVisible: true | ||
- type: Appearance | ||
- type: StaticPrice | ||
price: 1000 | ||
|
||
# проджект лазера | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Переместить в Exodus/Entities/Objects/Weapons/Guns/Projectiles/ |
||
name: Режим лазера | ||
id: LaserBulletForHoS | ||
parent: EmitterBolt | ||
noSpawn: true | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Battery/MyltiLaserForHoS.rsi | ||
layers: | ||
- state: redtrac | ||
shader: unshaded | ||
- type: Projectile | ||
impactEffect: BulletImpactEffectLaserForHoS | ||
damage: | ||
types: | ||
Heat: 17 | ||
|
||
# проджект станера | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Переместить в Exodus/Entities/Objects/Weapons/Guns/Projectiles/ |
||
name: Режим станера | ||
id: stanerBullet | ||
parent: BulletDisabler | ||
noSpawn: true | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Weapons/Guns/Battery/MyltiLaserForHoS.rsi | ||
layers: | ||
- state: omnilaser | ||
shader: unshaded | ||
- type: StaminaDamageOnCollide | ||
damage: 30 | ||
- type: Projectile | ||
impactEffect: BulletImpactEffectDisablerRed | ||
damage: | ||
types: | ||
Heat: 5 | ||
soundHit: | ||
collection: WeakHit | ||
forceSound: true | ||
|
||
# эффект от станера | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Переместить в Exodus/Entities/Objects/Weapons/ Effects?.. |
||
id: BulletImpactEffectDisablerRed | ||
noSpawn: true | ||
components: | ||
- type: TimedDespawn | ||
lifetime: 0.2 | ||
- type: Sprite | ||
drawdepth: Effects | ||
layers: | ||
- shader: unshaded | ||
map: ["enum.EffectLayers.Unshaded"] | ||
sprite: Objects/Weapons/Guns/Battery/MyltiLaserForHoS.rsi | ||
state: impact_laser_red | ||
- type: EffectVisuals | ||
- type: Tag | ||
tags: | ||
- HideContextMenu | ||
|
||
# эффект от лазера | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Переместить в Exodus/Entities/Objects/Weapons/ Effects?.. |
||
id: BulletImpactEffectLaserForHoS | ||
noSpawn: true | ||
components: | ||
- type: TimedDespawn | ||
lifetime: 0.2 | ||
- type: Sprite | ||
drawdepth: Effects | ||
layers: | ||
- shader: unshaded | ||
map: ["enum.EffectLayers.Unshaded"] | ||
sprite: Objects/Weapons/Guns/Battery/MyltiLaserForHoS.rsi | ||
state: impact_laser | ||
- type: EffectVisuals | ||
- type: Tag | ||
tags: | ||
- HideContextMenu | ||
|
||
|
||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- type: cargoProduct | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Заменить название файла на security.yml |
||
id: SecurityMiniEnergyGun | ||
icon: | ||
sprite: Exodus/Objects/Weapons/Guns/Battery/MiniEnergyGun.rsi | ||
state: base | ||
product: CrateSecurityMiniEnergyGun | ||
cost: 2500 | ||
category: cargoproduct-category-name-security | ||
group: market |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- type: entity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Заменить название файла на security.yml |
||
id: CrateSecurityMiniEnergyGun | ||
parent: CrateSecgear | ||
name: A case of miniature energy pistols. | ||
description: This box contains two miniature energy pistols. Security access is required to open it. | ||
components: | ||
- type: StorageFill | ||
contents: | ||
- id: WeaponMiniEnergyGun | ||
amount: 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.