Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

unDepresh
Copy link

Убрано табельный mk-58 у таких ролей как: Офицер сб, смотритель, ГСБ.
Добавлен миниатюрный энергетический пистолет как табельное оружие офицеру сб и смотрителю, так за 2500 можно заказать ящик с двумя такими.
Добавлен Х-2 Двухфазовый энергетический лазерный пистолет. Появляется у ГСБ как табельное оружие в кармане
Removed the mk-58 from such roles as: Officer of the sb, caretaker, GSB.
Added a miniature energy pistol as a tactical weapon for the sec officer and warden, so for 2500 you can order a box with two of them.
Added X-2 Dual Phase Energy Laser Pistol. Appears in the HoS as a service weapon in his pocket

@CLAassistant
Copy link

CLAassistant commented Jul 30, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

github-actions bot commented Jul 30, 2024

RSI Diff Bot; head commit ca151aa merging into e031716
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/Exodus/Objects/Weapons/Guns/Battery/MiniEnergyGun.rsi

State Old New Status
base Added
equipped-BELT Added
equipped-SUITSTORAGE Added
icon Added
inhand-left-0 Added
inhand-left-1 Added
inhand-left-2 Added
inhand-left-3 Added
inhand-left Added
inhand-right-0 Added
inhand-right-1 Added
inhand-right-2 Added
inhand-right-3 Added
inhand-right Added
mag-unshaded-0 Added
mag-unshaded-1 Added
mag-unshaded-2 Added
mag-unshaded-3 Added
mag-unshaded-4 Added

Resources/Textures/Exodus/Objects/Weapons/Guns/Battery/MyltiLaserForHoS.rsi

State Old New Status
base Added
equipped-BELT Added
equipped-SUITSTORAGE Added
icon Added
inhand-left-0 Added
inhand-left-1 Added
inhand-left-2 Added
inhand-left-3 Added
inhand-left Added
inhand-right-0 Added
inhand-right-1 Added
inhand-right-2 Added
inhand-right-3 Added
inhand-right Added
mag-unshaded-0 Added
mag-unshaded-1 Added
mag-unshaded-2 Added
mag-unshaded-3 Added
mag-unshaded-4 Added

Resources/Textures/Exodus/Objects/Weapons/Guns/Projectiles/ProjectilesForLaserByDepresh.rsi

State Old New Status
impact_laser_greyscale Added
omnilaser_greyscale Added

Edit: diff updated after ca151aa

Copy link
Contributor

@Fragoler Fragoler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Необходимо немного подправить общий вид PR.

@@ -77,3 +77,13 @@
cost: 1000
category: cargoproduct-category-name-security
group: market

- type: cargoProduct
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Переместить в отдельный yml в Exodus/Catalog/Cargo/...yml

@@ -114,3 +114,14 @@
amount: 4

# Cosmetic Crates

- type: entity
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Аналогично переместить в отдельный yml

- type: entity
id: CrateSecurityMiniEnergyGun
parent: CrateSecgear
name: Ящик с миниатюрными энергетическими пистолетами
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Локализация через FTL

@@ -0,0 +1,129 @@
# Сам прототип оружия
- type: entity
name: Миниатюрный энергетический пистолет
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Локализация. Переместить в Exodus


# продект лазера
- type: entity
name: Режим лазера
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Локализация

@@ -30,8 +30,7 @@
eyes: ClothingEyesGlassesSecurity
id: WardenPDA
ears: ClothingHeadsetSecurity
pocket1: WeaponPistolMk58
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Комментарий изменения кода оффов

@@ -0,0 +1,108 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Разделить на смысловые части.
Переместить в Textures/Exodus/
Разделить на rsi

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Переместить в Audio/Exodus/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Переместить в Audio/Exodus/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Написать Atttribution.yml для звуков

@Lokilife
Copy link
Contributor

Заменить текстурки самих лазеров на обесцвеченные (спойлер, одна из них уже есть) и задавать цвет уже в компоненте Sprite.

@unDepresh
Copy link
Author

Заменить текстурки самих лазеров на обесцвеченные (спойлер, одна из них уже есть) и задавать цвет уже в компоненте Sprite.
А зачем вообще и в какой из них уже такая обесцвеченная есть? Я с текстурами пока особо не работал нормально, но этот момент у тебя в коде лазера осщ видел

Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link
Contributor

@Fragoler Fragoler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Переименовать, разрешить конфликт, да понять что-то с дробовиком и будет конфетка..)

@@ -0,0 +1,25 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Переименовать папку...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На кой чёрт этот RSI, если в сборке такие спрайты уже есть?

@@ -27,7 +27,7 @@
equipment:
eyes: ClothingEyesGlassesSecurity
ears: ClothingHeadsetSecurity
pocket1: WeaponMiniEnergyGun
pocket1: WeaponMiniEnergyGun # Убрал "WeaponPistolMk58" и добавил "WeaponMiniEnergyGun"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заменить на комментарий # Exodus - WeaponForHos

storage:
back:
- Flash
back: # Убрал "MagazinePistol "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заменить комментарий

@@ -30,7 +30,7 @@
eyes: ClothingEyesGlassesSecurity
id: WardenPDA
ears: ClothingHeadsetSecurity
pocket1: WeaponMiniEnergyGun
pocket1: WeaponMiniEnergyGun # Убрал "WeaponPistolMk58" и добавил "WeaponMiniEnergyGun"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заменить комментарий

storage:
back:
- Flash
back: # Убрал "MagazinePistol"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заменить комментарий

@@ -0,0 +1,82 @@
# проджект лазера
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заменить название файла на LaserForHos.yml

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


На energetic.yml, если файл уже существует, то закинуть в конец. Исправить косяки с опечатками. Нет такого слова Staner, есть Stunner, от слова Stun. И всё в таком духе.
Также эффекты от попаданий лежат во отдельном файле, impacts.yml

@@ -0,0 +1,79 @@
# продект лазера
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заменить название на MiniEnergyGun.yml

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

К projectiles.yml, эффекты от попаданий в impacts.yml

@@ -0,0 +1,10 @@
- type: entity
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заменить название файла на security.yml

@@ -0,0 +1,9 @@
- type: cargoProduct
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заменить название файла на security.yml

# проджект станера
- type: entity
name: Staner
id: stanerBullet
Copy link
Contributor

@Lokilife Lokilife Aug 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь вообще нарушение конвенции имён энтитей, которые должны быть в PascalCase (начинается с большой буквы и каждое слово тоже с большой).
Да и в принципе здесь ID другой быть должен.


# эффект от станера
- type: entity
id: BulletImpactEffectLaserStan
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BulletImpactEffectLaserCyan -> BulletImpactEffectStunnerCyan

@@ -46,7 +46,8 @@
id: HoSPDA
gloves: ClothingHandsGlovesCombat
ears: ClothingHeadsetAltSecurity
pocket1: WeaponX-2Dual-phaseEnergyLaserGun
pocket1: WeaponPistolMk58
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Потерял коментарий

# продект лазера
- type: entity
name: Laser
id: LaserBulletForMEG
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Никаких "AForB" в ID и названиях. -> LaserBulletMEG.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А ещё лучше отнести снаряд лазера к какой-либо категории, более унифицированно и отталкиваться уже от названия категории, а не от названия пушки, для которой он был сделан.

@@ -0,0 +1,53 @@
# Сам прототип оружия
- type: entity
name: Mini energy gun
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Название энтити с маленькой буквы быть должны

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да и название по-креативнее бы....


# эффект от станера
- type: entity
id: BulletImpactEffectDisablerRed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ну хоть себе-то не ври.
BulletImpactEffectDisablerRed -> BulletImpactEffectDisablerPink

@Lokilife
Copy link
Contributor

С названиями сплошная лажа.
@Fragoler внимательнее следи за кодом, который проверяешь и одобряешь.

Copy link
Contributor

github-actions bot commented Sep 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants