-
Notifications
You must be signed in to change notification settings - Fork 18
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
Draft: Energy cores #57
Conversation
RSI Diff Bot; head commit 1f103e4 merging into ee5a7b3 Resources/Textures/Stories/Objects/Specific/EnergyCores/key_of_sphere.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/spblue/spblue.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/spblue/spblue_big.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/spblue/spblue_mini.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/sphere/sphere.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/sphere/sphere_big.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/sphere/sphere_mini.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/spred/spred.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/spred/spred_big.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/spred/spred_mini.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/sprnd/sprnd.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/sprnd/sprnd_big.rsi
Resources/Textures/Stories/Structures/Machines/EnergyCores/sprnd/sprnd_mini.rsi
|
Перенеси текстуры в Stories папку |
Как вернусь домой и домапплю карту на заявку. |
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.
Использование ключей, которое есть сомнительно и лучше использовать доступы. Думаю, весь клиентский код можно заменить https://docs.spacestation14.com/en/ss14-by-example/making-a-sprite-dynamic.html.
Код системы это ужас, поэтому позже напишу, что нужно исправить.
Resources/Prototypes/dark_tags.yml
Outdated
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.
Перенеси теги, который реально используются в файл с тегами в Stories папке прототипов.
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.
Ок
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.
Перенести в Stories папку прототипов.
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.
Ок
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.
Ключи не структуры. Перенести все их текстуры в папку с предметами.
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.
Ну это окей
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.
Используй: https://docs.spacestation14.com/en/ss14-by-example/making-a-sprite-dynamic.html
Чтобы не писать клиентский код.
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.
Разделить компонент по функционалу, если уместно.
Убрать клиентские EnablingLenght и тд. (Перенеся в клиентский EnergyCoreVisualsComponent, если не получится используя https://docs.spacestation14.com/en/ss14-by-example/making-a-sprite-dynamic.html , избавится от клиентского кода)
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.
А что с EnablingLenght не так? Типа эта фигня указывает на то, сколько длится анимация, чтоб ее вовремя переключить. Это учитывая то, что у каждого ядра разная длина анимации.
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.
Ошибся с EnablingLenght.
Перенеси логику нагрева и охлаждения газами в другой компонент.
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.
Вместо работы с компонентом, используй GravityGeneratorSystem, которая имеет к нему доступ.
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.
Смотри, там дело в том, что для работы GravityGenerator требует в системе везде того, что ядро будет запитано Apc проводами, а я замышлял то, чтоб даже без Apc проводов гравитация работала.
if (_timing.CurTime > _nextTickCore) | ||
{ | ||
EnergyCoreTick(); | ||
_nextTickCore += TimeSpan.FromSeconds(1); |
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.
Хардкод одной секунды
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.
Это полный *******. Это настолько плохо написано, что, пожалуй, напишу об ошибках позже.
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.
Заменить ключи ядер на обычный доступ, как у ящиков или считывать доступ айди карты, которую вставят в ядро. (Айди карта может быть условным ключем с его текстуркой и названием)
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.
Заказчик хотел ключи, ничего, как говорится, не знаю.
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.
Ключи могут использовать доступы под капотом, вместо написания такой непрактичной системы.
space-stories
Outdated
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.
Зачем?
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.
Что зачем?
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.
А, это. Без понятия, что оно тут делает.
Ща удалю.
Еще перенеси код в Stories папку. |
d8a46fb
to
b85bd26
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Проект временно заморожен. |
Отозвано. |
Ядра Темного
Пишем-пишем-пишем ядра.
Функции:
Приколы: