8,706 Commits over 1,705 Days - 0.21cph!
Remove old comment that's no longer true
Allow for custom camera far clip distance as well. Reduce to 0.5m for roadsign gloves, to not show the rear glove.
Allow custom pivot points for items in the skin viewer, to override the automatic pivot on a case-by-case basis. Set custom pivot point for roadsign gloves.
Set up skin scripts properly for things like roadsign gloves
Added loading spinner to show that a 3D skin view is loading. Added a callback for skin set failure to hide the loading circle.
Fixed rug skins not showing up
Fixed more issues with skins not loading or loading incorrectly
Fix most skin viewing being broken
Clear rendertexture assignment when SkinViewer is destroyed
Don't strip animator on the Hazmat preview suits
Strip colliders, animators, and MonoBehaviours from SkinViewer entities
Set up prefabs with animations for all the hazmat suit skins on the store
Fixed skins getting cut off in non-square views
▇▄▍▇▆▆ ▋▇▇▅▋▆▌▉▇▍▄█▄ ▆▇▊▋▍▊▊ ▉▌▆█ ▌▊▇▍▋ ▄▌▉ ▌▅▌ ▋▄▄▅▆ ▌▅▆▊▊▄▆▉▍ ▋▆▄ ▊▉▊▌ ▅▌▆▄▌ ▍▌▆▅ █▊▌█ ▊▉▋▋█ ▋█▊▉▌▌█▌. ▄▍▋▋▌ - ▆█▄ ▊▅ ▋▅
Fix NRE if SkinViewer is closed while loading a skin
Don't show 3D skin viewer models for Pattern Sofa or Factory Door. Mainly because pattern sofa has no base.
Merge MultiSkinViewer -> store-ui
Set up every item pack store page, though many models will need manual tweaks
Allow specifying a prefab, rather than an item, so we can show alternative prefabs if desired (e.g. arctic suit that includes an animation)
Refactored pack item code, now doing most work in the icon rathe than the base pack script
Improved item positioning and appearance for the group packs
Arctic suit guy stands up straight
Merge Main -> MultiSkinViewer
Working well on the Arctic page
When there's no PropRender script and we're calculating the ideal camera position ourselves, put it on an angle above the model instead of level with it
Ignore zero-volume renderers
Add support for vehicles in the skin viewer (e.g. Tomaha in Arctic pack)
Create a skin viewer per info model, only while opened. Since we can now have more than once, it makes less sense to have a single static one there.
WIP system for showing 3D model icons on the skin pack screens
Removed keyboard and mouse interaction (not needed in the current iteration)
Support multiple SkinViewer objects at once
WIP support for showing multiple 3D models at once in the skin viewer, each going to a separate rendertexture
Fix bugs with attack heli rocket/flare firing lockouts
Attack heli: Reset flare and rocket timers if new inventory is loaded in
Attack heli: Added off-state dashboard lights so they don't visually appear suddenly when the light comes on green or red.
- Attack heli flares can now only be fired once every 30 seconds
- Added small lights to the heli pilot controls that indicate rocket and flare readiness
- Added a little ding sound when flares become available again
- Improved attack heli rocket hit pos prediction marker accuracy slightly
- If the attack heli hit projection doesn't hit anything, move the marker to the middle of the UI instead of taking the end point of the last ray
- Added a couple of useful methods to ItemContainer
Kind of got redirect skins working in the 3D viewer, except that some skins have the wrong skin ID in their store info (e.g. the CNY spear is a white CNY lantern). I have a maybe more data-error-proof idea, but committing this version in case I need it.
Fixed models that don't have a skin ID not showing up (e.g. the current lantern and spear)