Skip to content

Brand new Ballistic Shield#624

Draft
Zvezdablya wants to merge 27 commits into
ss220club:masterfrom
Zvezdablya:shield
Draft

Brand new Ballistic Shield#624
Zvezdablya wants to merge 27 commits into
ss220club:masterfrom
Zvezdablya:shield

Conversation

@Zvezdablya

@Zvezdablya Zvezdablya commented Apr 26, 2026

Copy link
Copy Markdown

Что этот PR делает

Добавляет новый баллистический щит. Активировать могут только лица с навыком полиции, после активации, человек что держит щит - получает защиту от толкания спереди и сзади. Полная защита от физического взаимодействия (все интенты) с лицевой стороны + полная защита от граб интента со стороны людей, ксеноморфы спокойно грабают, большая часть абилок игнорирует щит. Дополнительная защита от урона и отталкивания от взрывов, урон всё ещё проходит, зависит от входных данных взрыва. Щит не защищает от стамин-урона, то есть можно оглушить владельца щита продолжительным ПБ дробью, станпродом, дизейблером, резиновыми пулями/гранатами. Щит спокойно пропускает огонь. Изменено снаряжение ЕРТ, которое будет использовать этот щит. Щит добавлен в оружейную брига. Ещё будет изменяться.
Сам запрос, развитие и видео-показы в дискорде: https://discord.com/channels/1097181193939730453/1497226900798570576
Ишшуй: fix #620

Почему это хорошо для игры

Щит является логичным дополнением арсенала МП на таких судах как USS "Алмайер", как для подавления беспорядков, так и для противодействия абордажным командам/применения во время абордажа. Основной щит почти не используется и от него слишком мало толку. Старый нужен был для подавления бунтов, сам бунт должен быть без стрельбы, дабы использовать щит, но к сожалению без стрельбы не обойтись, потому старый щит вообще не подходит под наши реалии.

Изображения изменений

Тестирование

Локалка

Changelog

🆑
add: Добавлен новый баллистический щит
/:cl:

@github-project-automation github-project-automation Bot moved this to Требует классификации in Road to Starship Troopers Apr 26, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new riot shield system featuring knockback resistance, explosion armor bonuses, and mechanics to block pulls and collisions. The review identified several critical issues: logic errors in armor bonus calculations that make passive bonuses unreachable, potential runtime errors in get_readied_shield when called on non-carbon mobs, and incorrect entity checks in the collision logic. Furthermore, the armor calculation lacks clamping, which could lead to negative multipliers in explosion damage, and the knockback resistance reset logic does not account for dual-wielding shields.

Comment thread modular/shield/code/new_shield.dm Outdated
Comment thread modular/shield/code/riot_shield_collide.dm
Comment thread modular/shield/code/new_shield.dm Outdated
Comment thread modular/shield/code/new_shield.dm Outdated
Comment thread modular/shield/code/new_shield.dm
половина сделано
забыл, с кем не бывает
в ящике я заменил riot на riot/riot_mp. всё прекрасно, он спавнит новый щит в ящике, но он спавнит ещё и старый, который я вроде бы ЗАМЕНИЛ, ладно...
//SS220 EDIT //SS220 EDIT //SS220 EDIT //SS220 EDIT //SS220 EDIT
конечная на данный момент
@Zvezdablya Zvezdablya marked this pull request as ready for review April 27, 2026 14:45
@ss220app ss220app Bot added the 📜 CL валиден Этот чейнджлог будет успешно опубликован. label Apr 27, 2026
@Zvezdablya Zvezdablya changed the title Riot Shield Rework Brand new Ballistic Shield Apr 27, 2026
@ss220app

ss220app Bot commented May 8, 2026

Copy link
Copy Markdown

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@ss220app ss220app Bot added the Stale There is no antimemetics division... label May 8, 2026
@RG-P RG-P removed the Stale There is no antimemetics division... label May 18, 2026

@Ingakem Ingakem left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Почему вдруг щит магическим образом защищает от действий со всех сторон?

Щиты и так блокируют действия со стороны направления куда смотрит держащий.

Также, сделайте хотя бы немного измененные спрайты, ибо учитывая механы щита, нынешний не особо подходит.

Вот такие пироги.

Comment thread modular/shield/code/new_shield.dm Outdated
Comment thread modular/shield/code/riot_shield_collide.dm Outdated
Comment thread modular/shield/_shield.dm Outdated
Comment thread modular/shield/_shield.dme Outdated
Comment thread modular/shield/code/new_shield.dm
Comment thread modular/shield/code/new_shield.dm Outdated
Zvezdablya and others added 5 commits May 19, 2026 22:45
Co-authored-by: Ingakem <146962612+Ingakem@users.noreply.github.com>
Co-authored-by: Ingakem <146962612+Ingakem@users.noreply.github.com>
Co-authored-by: Ingakem <146962612+Ingakem@users.noreply.github.com>
Co-authored-by: Ingakem <146962612+Ingakem@users.noreply.github.com>
@Zvezdablya

Copy link
Copy Markdown
Author

Почему вдруг щит магическим образом защищает от действий со всех сторон?

Щиты и так блокируют действия со стороны направления куда смотрит держащий.

Также, сделайте хотя бы немного измененные спрайты, ибо учитывая механы щита, нынешний не особо подходит.

Вот такие пироги.

Не знаю что за защита, он работает как обычный щит, стреляют в спину - защиты нет = смерть, всё как с обычным щитом, никакой круговой защиты. как обычный щит, перед, бока. спина, если висит на спине.

Да, знаю, потому для нового щита и использую основу в виде уже существующего щита.

Спрайты будут.

@Zvezdablya Zvezdablya requested a review from Ingakem May 19, 2026 20:16
Comment thread modular/shield/code/new_shield.dm
Comment thread modular/shield/code/new_shield.dm Outdated
Comment thread modular/shield/code/riot_shield_collide.dm Outdated
Comment thread modular/shield/_shield.dm Outdated
Zvezdablya and others added 3 commits May 20, 2026 12:40
Co-authored-by: Ingakem <146962612+Ingakem@users.noreply.github.com>
Co-authored-by: Ingakem <146962612+Ingakem@users.noreply.github.com>
Co-authored-by: Ingakem <146962612+Ingakem@users.noreply.github.com>
@Zvezdablya Zvezdablya requested a review from Ingakem May 20, 2026 09:45
@Ingakem

Ingakem commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Не делай вставку моих изменений, ибо они либо полностью удаляют новую строку, либо добавляют с отступом.
Сделай это сам, потому что я не могу закинуть тебе правильный фикс.

Comment thread modular/shield/_shield.dm Outdated
фикс
@Zvezdablya Zvezdablya requested a review from Ingakem May 20, 2026 12:16
@RG-P RG-P added the 🔬 Testmerge Active Находится в тестмерже на сервере. label May 20, 2026
ченджинг бэлэнс оф анти бум армор. словер виз рейзед щилд!!! ловеред анти бум энд пассив блок фор довнед щиелд фор плебеи без навыка
@ss220app

ss220app Bot commented Jun 3, 2026

Copy link
Copy Markdown

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@ss220app ss220app Bot added the Stale There is no antimemetics division... label Jun 3, 2026
@RG-P RG-P marked this pull request as draft June 7, 2026 11:45
@RG-P

RG-P commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

В драфт, пока спрайты рисуют

@RG-P RG-P removed the Stale There is no antimemetics division... label Jun 7, 2026
@Zvezdablya Zvezdablya marked this pull request as ready for review June 15, 2026 17:16
@Zvezdablya Zvezdablya marked this pull request as draft June 15, 2026 17:27
@ss220app

ss220app Bot commented Jun 23, 2026

Copy link
Copy Markdown

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@ss220app ss220app Bot added the Stale There is no antimemetics division... label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔬 Testmerge Active Находится в тестмерже на сервере. 📜 CL валиден Этот чейнджлог будет успешно опубликован. Stale There is no antimemetics division...

Projects

Status: Требует классификации

Development

Successfully merging this pull request may close these issues.

Добавить штурмовой щит для КХО Военной Полиции

3 participants