-
Notifications
You must be signed in to change notification settings - Fork 15
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
Added ClothingLimitVision Component #16
Conversation
* add dirty calls to mask system * among --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
<Folder Include="Clothing\Components\" /> | ||
<Folder Include="Spawners\" /> | ||
<Folder Include="_White\VisionLimit\Overlays\System\" /> |
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.
<Folder Include="Clothing\Components\" /> | |
<Folder Include="Spawners\" /> | |
<Folder Include="_White\VisionLimit\Overlays\System\" /> | |
<Folder Include="Spawners\" /> |
Это тут зачем?
@@ -16,6 +16,7 @@ | |||
<ProjectReference Include="..\RobustToolbox\Lidgren.Network\Lidgren.Network.csproj"> | |||
<Private>false</Private> | |||
</ProjectReference> | |||
<ProjectReference Include="..\RobustToolbox\Robust.Client\Robust.Client.csproj" /> |
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.
Этого тут тоже быть не должно
@@ -25,6 +26,7 @@ | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Folder Include="DeltaV\Abilities\" /> | |||
<Folder Include="_White\VisionLimit\" /> |
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.
Это тут лишние
if (_player.LocalEntity == uid) | ||
{ | ||
_overlayMan.RemoveOverlay(_overlay); | ||
} |
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.
if (_player.LocalEntity == uid) | |
{ | |
_overlayMan.RemoveOverlay(_overlay); | |
} | |
if (_player.LocalEntity == uid) | |
_overlayMan.RemoveOverlay(_overlay); |
Скобочки можно убрать
- type: Mask | ||
- type: ClothingLimitVision | ||
radius: 6 |
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.
- type: Mask | |
- type: ClothingLimitVision | |
radius: 6 | |
- type: Mask # WD EDIT | |
- type: ClothingLimitVision # WD EDIT | |
radius: 6 |
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.
Радиус слишком большой, 3 будет лучше, тк от 3х до 6 не должно быть видно нормально, в этом радиусе должно быть размытие какое-то или затемление
закрыт с позором |
Описание PR
Добавлен компонент ClothingLimitVision и клиентский компонент VisionLimit
Надетая одежда с ClothingLimitVision ограничивает обзор космонавтика до указанного кол-ва тайлов (примерно).
ClothingLimitVision добавлен сварочной маске.
Цветной оверлей и функционал сварочной маски буду добавлять в отдельных ПР.
Медиа
Список
Изменения
🆑 vanx