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

Added ClothingLimitVision Component #16

Closed
wants to merge 10 commits into from

Conversation

Vaaankas
Copy link
Contributor

Описание PR

Добавлен компонент ClothingLimitVision и клиентский компонент VisionLimit

Надетая одежда с ClothingLimitVision ограничивает обзор космонавтика до указанного кол-ва тайлов (примерно).

ClothingLimitVision добавлен сварочной маске.

Цветной оверлей и функционал сварочной маски буду добавлять в отдельных ПР.

Медиа

Список

Example Media Embed


Изменения

🆑 vanx

  • tweak: Надетая сварочная маска теперь ограничивает радиус обзора

@riddleridou riddleridou changed the title added ClothingLimitVision component Added ClothingLimitVision Component Aug 24, 2024
Comment on lines +27 to +29
<Folder Include="Clothing\Components\" />
<Folder Include="Spawners\" />
<Folder Include="_White\VisionLimit\Overlays\System\" />
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<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" />
Copy link
Member

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\" />
Copy link
Member

Choose a reason for hiding this comment

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

Это тут лишние

Comment on lines +56 to +59
if (_player.LocalEntity == uid)
{
_overlayMan.RemoveOverlay(_overlay);
}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (_player.LocalEntity == uid)
{
_overlayMan.RemoveOverlay(_overlay);
}
if (_player.LocalEntity == uid)
_overlayMan.RemoveOverlay(_overlay);

Скобочки можно убрать

Comment on lines +10 to +12
- type: Mask
- type: ClothingLimitVision
radius: 6
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- type: Mask
- type: ClothingLimitVision
radius: 6
- type: Mask # WD EDIT
- type: ClothingLimitVision # WD EDIT
radius: 6

Copy link
Member

Choose a reason for hiding this comment

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

Радиус слишком большой, 3 будет лучше, тк от 3х до 6 не должно быть видно нормально, в этом радиусе должно быть размытие какое-то или затемление

@Vaaankas
Copy link
Contributor Author

Vaaankas commented Sep 8, 2024

закрыт с позором

@Vaaankas Vaaankas closed this Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants