branchrust_reboot/main/viewmodel_scene_flexcancel

41 Commits over 31 Days - 0.06cph!

Yesterday
Setup Animations button in the bottom left to open a collapsable scroll view. Works harmoniously with the Items and Wearables select collapsable scroll view - animations button forces collapse of select scroll view, items/wearables button forces collapse of animations scroll view.
Yesterday
Ensure the selected item viewmodel always has the same player skin as the spawned PlayerModel
Yesterday
Commenting
Yesterday
Fixed editor PlaySoundFirstPerson NRE when there isn't a local player. Added a Sound Manager to this scene so sounds work
3 Days Ago
Simplified how the scroll view is populated
3 Days Ago
Code cleanup and reordering
3 Days Ago
Fixed wearables being removed when selecting a new item
3 Days Ago
Code setup for new collapsable Items and Wearables selection. Each one is a toggle button that opens a scrollview and populates with items or wearables - replaces the old 2 separate scroll views, creating more screen space. Made the UI bigger. Removed old scrollviews and setup code
3 Days Ago
Setup new UI layout for tabbed collapsable item and wearable search. Code setup next
4 Days Ago
Update spawned viewmodel with same skin colour as preview model
4 Days Ago
Spawn a player model instead of a BasePlayer Spawn the associated entity via ItemModEntity and equip it via WorkshopPlayerPreview Turn the spawned player model 180 degrees Add an Image component to the button used in this scene and populate it with the item icon Codegen so that the static fields in this scene are handled by domain reload
4 Days Ago
Prevent keyboard shortcuts for randomising player seed and clearing wearables being triggered when typing in filter input boxes. Ignore shortcuts when filter input boxes are in focus
4 Days Ago
Randomising the player seed preserves selected clothing
4 Days Ago
Player can now be equipped with clothing using the wearableScrollView. Multiple items of clothing can be equipped as long as they are compatible in regular gameplay. Equipping a clothing item that is not compatible with others selected will clear the selected clothing. New button to clear player clothing, shortcut with pressing O
4 Days Ago
Redid UI sizing
4 Days Ago
Reapplied player changes
4 Days Ago
Subtract 127494 - contained unwanted files
4 Days Ago
Increase UI size so the scene feels better maximised
4 Days Ago
Now spawning a BasePlayer in the scene rather than just a PlayerModel so we can give items to the player later. Rotation is broken right now
5 Days Ago
Load all wearables into the UI and setup wearable filtering - mirroring the item setup. Can likely clean this up later.
5 Days Ago
Setup "Randomise Player Seed" button. Some code cleanup/preparations
5 Days Ago
Duplicated item's scroll view and filter input to create a scroll view and filter box for wearables
5 Days Ago
Spawn the PlayerModel on Awake. Rotate 180 degrees to face the camera. Force censorship cubes off and randomise the player seed. Randomise player seed again by pressing P
5 Days Ago
Cleaned up needsCursor, capslock input, item giving, InitPlayer and capslock scene help text
5 Days Ago
Spawn player example
5 Days Ago
New scene, no gameplay
5 Days Ago
merge from main
6 Days Ago
Don't give the player the selected item (we don't want multiple viewmodels) Don't override the vm position and allow vm camera renderering, instead allow us to override where the vm camera renders from (for these purposes adjusting it 50m down is fine)
7 Days Ago
Reapply stomped changes
7 Days Ago
Merge from main (had to stomp BaseViewModel changes)
10 Days Ago
Now spawning the viewmodel in the world at the correct position by disabling VM camera and adding new editor-only position override bool
10 Days Ago
Add help text "Press Capslock to use UI" and change default text on FilterInput to "Filter items..."
11 Days Ago
Equip the item on the player when a button is pressed
11 Days Ago
Reset the vertical scrollbar position to the top when typing in the filter box
11 Days Ago
Selecting item buttons from the scroll view now creates a worldmodel and a viewmodel, pressing a different item button replaces it. On player connection, the player's inventory is cleared in the case of having an editor loadout equipped - in preparation for giving the item to the player. Added a skydome to the scene from Playground to resolve lighting errors on some viewmodels
11 Days Ago
Fixed scrollview position anchoring to remain consistent when maximised
12 Days Ago
Now generating a struct of ItemDefinition and GameObjectRef to the viewmodel and worldmodel, only adding items with a viewmodel and worldmodel to the list
13 Days Ago
Simpify filtering logic
13 Days Ago
UI Layout changes. Viewmodel scroll now has a filter text box. Removed old viewmodel UI
14 Days Ago
Scene now has scrollview populating with a button for every viewmodel in the game with an OnPressed event. Adjusted styling
24 Days Ago
WIP remaking the ViewModel editor testing scene with flex UI and more functionality. Currently populating every viewmodel to a dropdown