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

[Fix] dop_foxes_sound #1053

Closed
wants to merge 3 commits into from
Closed

[Fix] dop_foxes_sound #1053

wants to merge 3 commits into from

Conversation

Gooslik
Copy link
Contributor

@Gooslik Gooslik commented Feb 14, 2025

Описание PR

Исправлено невозможность использовать эмоуты рычанья и завывания + ещё звук мурчанья для лис

Тип PR

  • Feature
  • Fix
  • Tweak
  • Balance
  • Refactor
  • Port
  • Translate
  • Resprite

Изменения
fix: Исправлена невозможность рычать и завывать на лисах и фелинидах.
add: Добавлен ещё 1 звук мурчанья для лис

Summary by CodeRabbit

  • Новые функции
    • Эмодзи «Howl» и «Growl» теперь доступны для использования.
    • Добавлены новые коллекции звуков, основанные на лисьих вокализациях, включающие варианты крика, плача, рычания, мурлыканья, смеха и воющего звука, что расширяет аудио-возможности приложения.
    • Расширены возможности кастомизации с добавлением новых маркировок для лис, включая различные типы ушей и точек, а также новые состояния текстур.
    • Добавлены новые звуковые категории для персонажей лис, включая звуки для мужских и женских особей.

@Gooslik Gooslik requested a review from Rxup as a code owner February 14, 2025 07:50
Copy link
Contributor

coderabbitai bot commented Feb 14, 2025

"""

Walkthrough

В этом pull request внесены изменения в несколько файлов. В файле speech_emotes.yml удалены строки с available: false для эмотов "Howl" и "Growl", что позволяет использовать эти эмоты. В новом файле foxes.yml добавлены определения нескольких звуковых коллекций, связанных с лисьими голосами, с указанием соответствующих аудиофайлов. Также в файле foxes.ftl добавлены новые записи для маркировки лисиц на русском языке, а в файле fox_markings.yml добавлены новые маркировки для вида "HumanoidFoxes". Наконец, в meta.json обновлена информация об авторских правах и добавлены новые состояния.

Changes

Файл Изменения
Resources/Prototypes/Corvax/Voice/speech_emotes.yml Удалены строки available: false для эмотов "Howl" и "Growl".
Resources/Prototypes/_Backmen/SoundCollections/foxes.yml Добавлен новый файл с определениями звуковых коллекций: FoxesScream, FoxesCry, FoxesGrowl, FoxesPurrs, FoxesLaugh и FoxesHowl с привязанными аудиофайлами.
Resources/Locale/ru-RU/backmen/markings/foxes.ftl Добавлены 16 новых записей для маркировки лисиц.
Resources/Prototypes/_Backmen/Entities/Mobs/Customization/Markings/fox_markings.yml Добавлены новые маркировки для "HumanoidFoxes" и изменена маркировка FoxTailinner на FoxTailinnerAnimated.
Resources/Textures/Backmen/Mobs/Customization/fox_markings.rsi/meta.json Обновлена информация об авторских правах и добавлены новые состояния для текстур.
Resources/Audio/Backmen/Voice/Foxes/attributions.yml Добавлены записи для атрибуции звуковых файлов, связанных с лисами.
Resources/Prototypes/_Backmen/Diseases/furry_virus.yml Удалён анализатор здоровья для "FurryVirus", добавлен новый эмот "BCatMeow" и новый вариант болезни "FurryVirusPlus".
Resources/Prototypes/_Backmen/Entities/Mobs/Species/foxes.yml Добавлен новый компонент Vocal для сущности Urist McFox.
Resources/Prototypes/_Backmen/Voice/speech_emote_sounds.yml Добавлены новые звуковые категории для эмотов "MaleFoxes" и "FemaleFoxes".
Resources/Prototypes/_Backmen/Voice/speech_emotes.yml Удалены записи для эмотов "Ring", "Pew", "Bang", "Rev", "Caw", "Hiss", "Mews", "Mew", "Meows", "Purrs".

Sequence Diagram(s)

sequenceDiagram
    participant Пользователь
    participant Приложение
    participant КонфигурацияЭмотов

    Пользователь->>Приложение: Запрос эмота "Howl" или "Growl"
    Приложение->>КонфигурацияЭмотов: Проверка доступности
    КонфигурацияЭмотов-->>Приложение: Эмот доступен
    Приложение->>Пользователь: Проигрывание звука эмота
Loading
sequenceDiagram
    participant Пользователь
    participant Приложение
    participant МенеджерЗвуков

    Пользователь->>Приложение: Запрос воспроизведения лисьего звука
    Приложение->>МенеджерЗвуков: Получение коллекции звуков
    МенеджерЗвуков-->>Приложение: Передача списка аудиофайлов (FoxesScream, FoxesCry, ...)
    Приложение->>Пользователь: Проигрывание выбранного аудио
Loading

Poem

Я кролик, прыг-скок по весне,
В коде звуков новый день зажжён,
Эмотам свободу — как в сказке сне,
Foxes зовут в мир чудесный звуков.
Пусть каждый байт радует, как луч,
🐰🎶 Скачем вместе, в душе тепло!
"""


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

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

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
Resources/Prototypes/_Backmen/SoundCollections/foxes.yml (1)

15-19: Рекомендация по улучшению разнообразия звуков

Коллекции FoxesGrowl и FoxesHowl содержат только по одному звуковому файлу. Рекомендуется добавить больше вариаций для этих важных эмоций, чтобы избежать повторяемости звуков.

Also applies to: 31-34

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 19f835a and f4cacee.

📒 Files selected for processing (2)
  • Resources/Prototypes/Corvax/Voice/speech_emotes.yml (0 hunks)
  • Resources/Prototypes/_Backmen/SoundCollections/foxes.yml (1 hunks)
💤 Files with no reviewable changes (1)
  • Resources/Prototypes/Corvax/Voice/speech_emotes.yml
🔇 Additional comments (1)
Resources/Prototypes/_Backmen/SoundCollections/foxes.yml (1)

1-7: Коллекция FoxesScream реализована корректно!

Структура YAML и пути к файлам соответствуют стандартам проекта.

Comment on lines +9 to +34
- type: soundCollection
id: FoxesCry
files:
- /Audio/Backmen/Voice/Foxes/foxcry01.ogg
- /Audio/Backmen/Voice/Foxes/foxcry02.ogg

- type: soundCollection
id: FoxesGrowl
files:
- /Audio/Backmen/Voice/Foxes/foxgrowl01.ogg

- type: soundCollection
id: FoxesPurrs
files:
- /Audio/Backmen/Voice/Foxes/foxpurrs01.ogg
- /Audio/Backmen/Voice/Foxes/foxpurrs02.ogg

- type: soundCollection
id: FoxesLaugh
files:
- /Audio/Backmen/Voice/Foxes/foxlaugh01.ogg

- type: soundCollection
id: FoxesHowl
files:
- /Audio/Backmen/Voice/Foxes/foxhowl01.ogg
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Проверьте наличие звуковых файлов

Убедитесь, что все указанные аудиофайлы присутствуют в соответствующих директориях.


🏁 Script executed:

#!/bin/bash
# Проверка наличия звуковых файлов
for file in $(grep -o '/Audio/Backmen/Voice/Foxes/.*\.ogg' Resources/Prototypes/_Backmen/SoundCollections/foxes.yml); do
  if [ -f "$file" ]; then
    echo "✓ Файл существует: $file"
  else
    echo "✗ Файл отсутствует: $file"
  fi
done

Length of output: 3478


Доработать: отсутствуют указанные звуковые файлы и коллекции с одним файлом нуждаются в улучшении

  • В файле Resources/Prototypes/_Backmen/SoundCollections/foxes.yml обнаружены ссылки на аудиофайлы, которые отсутствуют в репозитории:

    • /Audio/Backmen/Voice/Foxes/foxscream01.ogg
    • /Audio/Backmen/Voice/Foxes/foxscream02.ogg
    • /Audio/Backmen/Voice/Foxes/foxscream03.ogg
    • /Audio/Backmen/Voice/Foxes/foxscream04.ogg
    • /Audio/Backmen/Voice/Foxes/foxcry01.ogg
    • /Audio/Backmen/Voice/Foxes/foxcry02.ogg
    • /Audio/Backmen/Voice/Foxes/foxgrowl01.ogg
    • /Audio/Backmen/Voice/Foxes/foxpurrs01.ogg
    • /Audio/Backmen/Voice/Foxes/foxpurrs02.ogg
    • /Audio/Backmen/Voice/Foxes/foxlaugh01.ogg
    • /Audio/Backmen/Voice/Foxes/foxhowl01.ogg
  • Рекомендуется:

    • Обновить или исправить пути к аудиофайлам, чтобы они соответствовали фактическому расположению файлов.
    • Рассмотреть возможность добавления дополнительных звуков для коллекций, где задан только один аудиофайл (например, для коллекций FoxesGrowl, FoxesLaugh, FoxesHowl), если это соответствует целям проекта.

@Gooslik Gooslik changed the title dop_foxes_sound [Fix] dop_foxes_sound Feb 14, 2025
@github-actions github-actions bot added size/M Changes: Sprites Should be reviewed or fixed by people who are knowledgeable with spriting or visual design. Changes: Localization Can be reviewed or fixed by people who are knowledgeable with translation and removed size/S labels Feb 14, 2025
Copy link
Contributor

github-actions bot commented Feb 14, 2025

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

Resources/Textures/Backmen/Mobs/Customization/fox_markings.rsi

State Old New Status
belly_full Added
coyote Added
dalmatian Added
fennec-inner Added
fennec Added
fox Added
jackal-inner Added
jackal Added
jackal_alt-inner Added
jackal_alt Added
msai-inner Added
msai Added
otie-inner Added
otie Added
points_crest-arms Added
points_crest-legs Added
points_crest Added
points_fade-arms Added
points_fade-legs Added
points_fade Added
points_feet Added
points_hands Added
points_sharp-arms Added
points_sharp-legs Added
points_sharp Added
shock Added
terrier-inner Added
terrier Added
vulp-fade Added
vulp-inner Added
vulp-sharp Added
vulp Added
wolf-inner Added
wolf Added

Edit: diff updated after 59759b2

@Gooslik Gooslik closed this Feb 14, 2025
@Gooslik Gooslik reopened this Feb 14, 2025
@Gooslik Gooslik closed this Feb 14, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
Resources/Prototypes/_Backmen/Diseases/furry_virus.yml (1)

19-23: Добавлена болезнь FurryVirusPlus.
Новая болезнь FurryVirusPlus, наследуемая от FurryVirus, определена без методов лечения (пустой список cures: []). Убедитесь, что такое поведение (отсутствие лечения) является осознанным решением в рамках баланса игры и корректно обрабатывается игровым механизмом.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 33175b0 and 59759b2.

⛔ Files ignored due to path filters (11)
  • Resources/Audio/Backmen/Voice/Foxes/foxcry01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxcry02.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxgrowl01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxhowl01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxlaugh01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxpurrs01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxpurrs02.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxscream01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxscream02.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxscream03.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxscream04.ogg is excluded by !**/*.ogg
📒 Files selected for processing (5)
  • Resources/Audio/Backmen/Voice/Foxes/attributions.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Diseases/furry_virus.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Mobs/Species/foxes.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Voice/speech_emote_sounds.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Voice/speech_emotes.yml (0 hunks)
💤 Files with no reviewable changes (1)
  • Resources/Prototypes/_Backmen/Voice/speech_emotes.yml
✅ Files skipped from review due to trivial changes (1)
  • Resources/Audio/Backmen/Voice/Foxes/attributions.yml
🔇 Additional comments (5)
Resources/Prototypes/_Backmen/Entities/Mobs/Species/foxes.yml (1)

70-74: Новый компонент Vocal добавлен корректно.
В данном блоке для сущности Urist McFox добавлен компонент Vocal с указанием звуковых коллекций для половых категорий: Male: MaleFoxes, Female: FemaleFoxes и Unsexed: MaleFoxes. Убедитесь, что назначение коллекции для Unsexed соответствует задумке игрового дизайна (то есть, если для небинарных персонажей требуется специфичная коллекция, возможно, стоит использовать другую настройку).

Resources/Prototypes/_Backmen/Diseases/furry_virus.yml (2)

11-18: Определение нового эмота BCatMeow.
Новый эмот с идентификатором BCatMeow добавлен с категорией Vocal и привязан к коллекции звуков FoxesGrowl. Проверьте, что название, локализация (поля name и chatMessages) и привязка коллекции соответствуют ожиданиям и требованиям игрового процесса.


24-120: Интеграция эмота в эффекты болезни FurryVirus.
В определении болезни FurryVirus эффекты типа DiseaseSnough теперь используют эмот BCatMeow. Это изменение должно обеспечить корректное воспроизведение новых звуковых эффектов, связанных с данным заболеванием. Рекомендуется проверить, что YAML-структура (отступы и вложенность) соответствует стандарту, чтобы избежать ошибок при загрузке файла.

Resources/Prototypes/_Backmen/Voice/speech_emote_sounds.yml (2)

111-146: Новый набор звуков для MaleFoxes.
Добавлен блок emoteSounds для идентификатора MaleFoxes, в котором определены звуковые эффекты для лисиц-мужчин (Scream, Laugh, Growl, Howl, Sneeze, Cough, Yawn, Snore, Sigh, Crying, Whistle, Weh, Gasp, DefaultDeathgasp, Purrs). Проверьте, что все ссылки на коллекции (например, FoxesScream, FoxesLaugh и т.д.) соответствуют аудиофайлам, указанным в файле SoundCollections/foxes.yml, и что параметр variation: 0.125 подходит для выбранного варианта звучания.


148-183: Новый набор звуков для FemaleFoxes.
Добавлен блок emoteSounds для идентификатора FemaleFoxes, в котором настроены звуковые эффекты для лисиц-женщин (Scream, Laugh, Growl, Howl, Sneeze, Cough, Yawn, Snore, Sigh, Crying, Whistle, Weh, Gasp, DefaultDeathgasp, Purrs). Убедитесь, что используемые коллекции для женских вариантов, такие как FemaleSneezes, FemaleCoughs, FemaleYawn и FemaleSigh, определены в соответствующих файлах и корректно интегрированы в общий звуковой движок игры.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: Audio Changes: Localization Can be reviewed or fixed by people who are knowledgeable with translation Changes: Sprites Should be reviewed or fixed by people who are knowledgeable with spriting or visual design. No C# Нету кода. S: Merge Conflict size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant