branchrust_reboot/main/viewmodel_scene_flexcancel
94 Commits over 365 Days - 0.01cph!
Consistent icon sizing for animation buttons
Camera scroll zoom shift tooltip
More reliable skin icon downloading. Skin menu styling fixes. Flash skin title text red/yellow during skin download for user feedback
Bigger button style in scroll views
Workshop skins now loading correctly with their icon
Fixed admire button regression
Cleaned up skin debug and made skins load over multiple frames to prevent big stall on opening the skin menu
Steam workshop skins now load correctly on items/wearables/worldmodel/viewmodel
Ensure skin select panel gets updated immediately when a new item or wearable is selected. Redirect skins now working. Steam skins load when opening the skin menu for the first time
Skin selector UI and basic functionality to select an active item/wearable and then select a skin for it so the player, viewmodel and worldmodel all get skinned. Still need to get all Steam workshop skins and redirect skins working
Added "Admire active viewmodel" button on the right, hotkeyed with `N`. Eyeball-aligned the text of the bottom right buttons for prettiness :sparkles:
Added a toggle radgoll button to kill the active player and fake a client-only ragdoll, disabling all BaseEntity and networking logic
Use the gesture viewmodel when using gestures so we can see 1st person hands, ensure any held item viewmodel is redeployed when the gesture ends and when ending gesture loops
Fixed camera positioning, fixed screen shake / effects, enable post processing
Warmup item/wearables icons on startup to avoid FPS dips
New player select menu next to the Randomise Player Seed button to view the current player seed and to manually enter seeds. Accepts SteamIDs to view specific player models
Wearables/held items should never have shadow casters triangles but make the distinction in the triangle count display text if that is ever the case
Ensure triangle counts update this frame. Ensure we aren't counting shadow casters and that any quads are counted properly
increased triangle count font size and made it left aligned
Added TOD toggles for Dawn/Noon/Dusk/Night using sun/moon icons
Setup ToD toggles in code. TODO: ToD buttons on the canvas
New "Toggle triangle counts" button that toggles a text window underneath with tri counts broken down by Player, Viewmodel, Worldmodel, Entity, Total. Works with the currently toggled LOD
Allow freecam to go up/down using E/Q too (this is on top of existing leftshift/ctrl)
Ensure the viewmodel always spawns at a fixed location and not at wherever the orbit camera is currently
button to loop the selected animation
Character Animation and Skin Viewer scene now supports LOD toggles with new buttons
Keep the viewmodel active in the world so it can be seen in freecam
Hold leftshift for faster orbit camera zooming
Fixed gestures and misc animations not working
Fixed all old controls now that we're using the new input system. Only allow freecam when we don't have any camera options toggled
Fixed player not spawning
Missed style file (rhyme time)
Change Image material on buttons so they all appear white
Dynamically load all gestures from `GestureCollection.Instance.AllGestures` and use their sprite for the button. Halved the looping time of looping gestures to 2.5f seconds. All gestures are working but the sprites can be improved
Set selection scrollview content to use preferred size to prevent being able to scroll beyond elements
Fixed button text that broke after merge
Simplify SwapCamera. Removed an orbit camera lock position. Reordered orbit camera lock positions to go to the player first
WIP orbital camera setup. Currently swaps cameras with pressing Q, Tab changes lock target, hold right click and use mouse to move orbit. Needs UI setup
Setup the rest of the player gesture animation buttons. Surrender and the dances don't work right now
Setup more anims:
Viewmodel specific: manualcycle, dryfire, throw, use_self, use_other, use_other_wounded
PlayModel specific: drop_item, pickup_item, drink, victory, wave
Only allow camera movement when the input field is not in focus
TODO comments for later around camera work
Move camera gradually using WASD/leftshift (up)/leftctrl (down)