-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
tape recorder v3 revival #32234
tape recorder v3 revival #32234
Conversation
NOW WITH UI
…e-station-14 into newtaperecorder
RSI Diff Bot; head commit 00b13ea merging into 338781c Resources/Textures/Objects/Devices/cassette_tapes.rsi
Resources/Textures/Objects/Devices/tape_recorder.rsi
|
he is cooking 🗣️🗣️🗣️ |
let him cook dat 🔥 |
the whisper stuff from #17898 needs to be fixed with a chat refactor, right now if i want to have it i would need to copy paste all of its logic to hide identity in the transcript same thing but worse for getting the exact verb that was used |
@metalgearsloth heyo, is it ready for review or merge? 3rd iteration of tape recorder, we soon start merge for us earlier than it will be merge to upstream |
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.
Pretty sure this should be localized
var hasData = false; | ||
var currentTime = 0f; | ||
var maxTime = 0f; | ||
var cassetteName = "Unnamed"; |
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.
var cassetteName = "Unnamed"; | |
var cassetteName = Loc.GetString("tape-recorder-menu-cassette-unnamed"); |
tape-recorder-menu-no-cassette-label = Cassette tape is not inserted | ||
|
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.
tape-recorder-menu-no-cassette-label = Cassette tape is not inserted | |
tape-recorder-menu-no-cassette-label = Cassette tape is not inserted | |
tape-recorder-menu-cassette-unnamed = Unnamed |
## Описание PR <!-- Что вы изменили в этом пулл реквесте? --> Добавлен кассетный проигрыватель. Он позволяет записывать разговоры. ура? ## Почему / Баланс <!-- Почему оно было изменено? Ссылайтесь на любые обсуждения или вопросы здесь. Пожалуйста, обсудите, как это повлияет на игровой баланс. --> Иллюми попросил **Ссылка на публикацию в Discord** <!-- Укажите ссылки на соответствующие обсуждения, проблемы, баги, заказы в разработку или предложения - [Технические проблемы](ссылка) - [Баги](ссылка) - [Заказы-разработка](ссылка) - [Предложения](ссылка) - [Перенос контента](ссылка)--> Всё, кроме поддержки барков и ТТСа, взято с space-wizards/space-station-14#32234 ## Техническая информация <!-- Если речь идет об изменении кода, кратко изложите на высоком уровне принцип работы нового кода. Это облегчает рецензирование.- --> ничего из существующего не менялось ## Медиа <!-- Пулл реквесты, которые вносят внутриигровые изменения (добавление одежды, предметов, новых возможностей и т.д.), должны содержать медиа, демонстрирующие изменения. Небольшие исправления/рефакторы не требуют медиа. Если Вы не уверены в том, что Ваш пулл реквест требует медиа, спросите мейнтейнера. --> ## Требования <!-- В связи с наплывом ПР'ов нам необходимо убедиться, что ПР'ы следуют правильным рекомендациям. Пожалуйста, уделите время прочтению, если делаете пулл реквест (ПР) впервые. Отметьте поля ниже, чтобы подтвердить, что Вы действительно видели их (поставьте X в скобках, например [X]): --> - [ ] Я прочитал(а) и следую [Руководство по созданию пулл реквестов](https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html). Я понимаю, что в противном случае мой ПР может быть закрыт по усмотрению мейнтейнера. - [ ] Я добавил скриншоты/видео к этому пулл реквесту, демонстрирующие его изменения в игре, **или** этот пулл реквест не требует демонстрации в игре ## Критические изменения <!-- Перечислите все критические изменения, включая изменения пространства имён, публичных классов/методов/полей, переименования прототипов, и предоставьте инструкции по их исправлению. --> **Чейнджлог** <!-- Здесь Вы можете заполнить журнал изменений, который будет автоматически добавлен в игру при мердже Вашего пулл реквест. Чтобы игроки узнали о новых возможностях и изменениях, которые могут повлиять на их игру, добавьте запись в журнал изменений. Не считайте суффикс типа записи (например, add) "частью" предложения: плохо: - add: новый инструмент для инженеров хорошо: - add: добавлен новый инструмент для инженеров Помещение имени после символа 🆑 изменит имя, которое будет отображаться в журнале изменений (в противном случае будет использоваться ваше имя пользователя GitHub). Например: 🆑 AruMoon --> 🆑 Котя - add: Добавлен кассетный проигрыватель! --------- Co-authored-by: Schrödinger <132720404+Schrodinger71@users.noreply.github.com> Co-authored-by: Jungar <145219878+jungarikjan@users.noreply.github.com>
Will this merged after the chat refactoring? |
ftfy |
Sorry for my English |
guess maints dont want it, using it downstream then |
Please open pr. Sooner or later someone would check and merge. |
i dont want to deal with merge conflicts for another year when nobody cares |
I feel so sad right now. |
With all my heart I wish for this to be implemented. But yet again, no luck |
notice how nobody begging for it is a maintainer... |
What if you became that maintainer. |
the day deltanedas creates a discord account is the day the world ends. |
About the PR
revival of #30089
refactored, microoptimised and addressing reviews
changed the weird dual-state thing to just be mode and thats it
stores the verb used, but the exact string the server picked in SendEntitySpeak can't be saved. presumably this will be possible in chat refactor, then the tape can store the exact message (including whispering, which still isnt stored right)
Why / Balance
see old pr
Technical details
Active bool changed to ActiveTapeRecorder so it can be queried for
UI uses RadioOptions instead of making them manually
most of the state is just gotten from the component instead of being sent in every bui state
it also stores the used speech verb now
Media
Pause | Record | Playback | Rewind
it will use a random string from the speech verb that was recorded
Requirements
Breaking changes
no
Changelog
🆑 BombasterDS, deltanedas