-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description # TODO - [x] Custom name/desc/color tint, toggleable individually per-loadout - [x] Fix them not changing correctly between profiles in-editor - [x] Preview colors in the lobby - [x] Allow the users to null the color themselves (and default it to such) - [x] Pick what should be allowed to be recolored - [x] Guidebook links - [x] Make an example - [x] Special components for loadouts - [x] Heirlooms - [x] Pick what should have heirlooms - [x] Decimate lag - [x] Fix live character preview - Maybe do characters per job - Rethink unusable --- <details><summary><h1>Media</h1></summary> <p> <!-- ![image](https://github.com/user-attachments/assets/cce7dcf3-eeb6-4998-ae88-6373db8cb93f) --> https://github.com/user-attachments/assets/bcf61517-6b64-40d2-b299-7462e2469fe2 </p> </details> --- # Changelog :cl: - add: Players can set custom names, descriptions, and color tints for their loadout items - add: Certain loadouts may have Guidebook pages shown in the editor - add: Players can pick a list of loadout items to have one randomly be their family heirloom for a mood bonus or deficit if they are carrying it - fix: Loadouts have almost as little lag as possible (hopefully none) - fix: Everything properly updates your character editor's live preview --------- Signed-off-by: DEATHB4DEFEAT <[email protected]> Co-authored-by: metalgearsloth <[email protected]> Co-authored-by: VMSolidus <[email protected]> Co-authored-by: Pspritechologist <[email protected]>
- Loading branch information
1 parent
5fe4b1e
commit f046306
Showing
77 changed files
with
9,009 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,77 @@ | ||
<Control xmlns="https://spacestation14.io" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<BoxContainer Name="Container" Orientation="Horizontal"> | ||
<Button | ||
Name="PreferenceButton" | ||
ToggleMode="True" | ||
VerticalAlignment="Center" | ||
StyleClasses="OpenLeft" /> | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:graphics="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client" | ||
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"> | ||
<BoxContainer Name="Container" Orientation="Vertical" HorizontalExpand="True"> | ||
<controls:StyledButtonGroup Name="ButtonGroup" Orientation="Horizontal" HorizontalExpand="True"> | ||
<Button | ||
Name="PreferenceButton" | ||
Access="Public" | ||
ToggleMode="True" | ||
VerticalAlignment="Center" /> | ||
|
||
<Button | ||
Name="HeirloomButton" | ||
Access="Public" | ||
Text="{Loc 'humanoid-profile-editor-loadouts-heirloom'}" | ||
ToolTip="{Loc 'humanoid-profile-editor-loadouts-heirloom-tooltip'}" | ||
ToggleMode="True" | ||
VerticalAlignment="Center" /> | ||
|
||
<!-- Yes I know I can use a TextureButton, but I'm doing this for style --> | ||
<Button | ||
Name="GuidebookButton" | ||
ToolTip="{Loc 'humanoid-profile-editor-loadouts-guidebook-button-tooltip'}" | ||
VerticalAlignment="Center" | ||
StyleClasses="OpenLeft"> | ||
<TextureRect | ||
Name="GuidebookButtonIcon" | ||
TexturePath="/Textures/Interface/VerbIcons/information.svg.192dpi.png" | ||
TextureScale="0.4 0.4" | ||
VerticalAlignment="Center" | ||
Margin="5" /> | ||
</Button> | ||
</controls:StyledButtonGroup> | ||
|
||
|
||
<Collapsible Name="SpecialMenu" HorizontalExpand="True"> | ||
<Button Name="HeadingButton" Text="{Loc 'humanoid-profile-editor-loadouts-customize'}" ToggleMode="True" /> | ||
|
||
<CollapsibleBody HorizontalExpand="True" Margin="0 0 0 5"> | ||
<PanelContainer HorizontalExpand="True"> | ||
<PanelContainer.PanelOverride> | ||
<graphics:StyleBoxFlat BackgroundColor="#2f2f2f" BorderColor="#2f2f2faf" BorderThickness="1" /> | ||
</PanelContainer.PanelOverride> | ||
|
||
<BoxContainer Orientation="Vertical" Margin="3" HorizontalExpand="True"> | ||
<BoxContainer Name="SpecialName" Orientation="Vertical" HorizontalExpand="True"> | ||
<Label Text="{Loc 'humanoid-profile-editor-loadouts-customize-name'}" /> | ||
<LineEdit Name="NameEdit" HorizontalExpand="True" /> | ||
</BoxContainer> | ||
|
||
<BoxContainer Name="SpecialDescription" Orientation="Vertical" HorizontalExpand="True"> | ||
<Label Text="{Loc 'humanoid-profile-editor-loadouts-customize-description'}" /> | ||
<PanelContainer HorizontalExpand="True"> | ||
<PanelContainer.PanelOverride> | ||
<graphics:StyleBoxFlat BackgroundColor="#222222" /> | ||
</PanelContainer.PanelOverride> | ||
|
||
<controls:ResizableControl | ||
AllowedResizeDirection="Vertical" | ||
HorizontalExpand="True" | ||
MinSize="128 64"> | ||
<TextEdit Name="DescriptionEdit" HorizontalExpand="True" VerticalExpand="True" Margin="3" /> | ||
</controls:ResizableControl> | ||
</PanelContainer> | ||
</BoxContainer> | ||
|
||
<Button Name="SpecialColorTintToggle" Text="{Loc 'humanoid-profile-editor-loadouts-customize-color'}" ToggleMode="True" Margin="0 3 0 0" StyleClasses="OpenBoth" /> | ||
<ColorSelectorSliders Name="ColorEdit" Color="#fff" HorizontalExpand="True" /> | ||
|
||
<Button Name="SaveButton" Text="{Loc 'humanoid-profile-editor-loadouts-customize-save'}" HorizontalExpand="True" Margin="0 3 0 0" StyleClasses="OpenBoth" /> | ||
</BoxContainer> | ||
</PanelContainer> | ||
</CollapsibleBody> | ||
</Collapsible> | ||
</BoxContainer> | ||
</Control> |
Oops, something went wrong.