Commit Graph
1016 Commits
Author SHA1 Message Date
tresabhi 4245ae4b7b some drop down styles 2026-10-31 16:08:27 -05:00
tresabhi db210a431b some styles 2026-10-31 14:31:30 -05:00
tresabhi da3ad0aa1b at least it runs 2026-10-31 14:13:17 -05:00
tresabhi 9ba19a425c sizing 2026-10-31 14:02:26 -05:00
tresabhi 75f91467ab loaders 2026-10-31 13:57:56 -05:00
tresabhi 11088ee3dc attachments 2026-10-31 13:48:15 -05:00
tresabhi b3064cdd3a some small fixes 2026-10-31 13:41:41 -05:00
tresabhi a15e331681 Merge branch 'main' into data-driven 2026-10-31 13:38:57 -05:00
tresabhi e216b4cd6b fix 1 pixel lights 2026-10-30 16:49:43 -05:00
Mark Greene c535811c1d Fix: Fade glowing camouflage parts with the lights
Unlit `Textured` materials loaded as `MeshBasicMaterial`, so they stayed bright while the lights receded during a camouflage switch (E 100 legendary camouflage).

- `Textured` materials now export as standard materials with the base color texture as emissive and a black base color, so they look the same as before.
- The Tankopedia model fades their emissive intensity with the lighting transition.
- Additive blending applies to these parts again, since they are standard materials.
2026-10-30 17:26:50 +13:00
tresabhi d96f77bf05 i am tired boss 2026-10-29 15:29:37 -05:00
tresabhi 14126d05a1 rename 2026-10-29 14:58:40 -05:00
tresabhi 93c1e6e761 code split 2026-10-29 14:38:04 -05:00
tresabhi b0af48f866 disable some more 2026-10-29 14:28:18 -05:00
tresabhi 1aa4e6c470 renable tabs 2026-10-29 14:25:55 -05:00
Mark Greene c772d47a07 Fix: Unify Tankopedia model, camouflage and attachment loaders
- Tankopedia state uses `loaders: { model, skin, attachment }` with `requested` and `loaded`
- useSkin swaps the camouflage halfway through the lighting transition for both cached and downloaded skins
- Remove the leftover "Unreleased" camouflage name handling
2026-10-30 07:11:31 +13:00
tresabhi f81f972787 wha 2026-10-29 13:04:11 -05:00
tresabhi 6e35c06cfc loader 2026-10-29 11:54:33 -05:00
tresabhi 078bc9d6cd use revealed 2026-10-29 11:36:29 -05:00
tresabhi dc9c20db84 remove debug console logs 2026-10-29 11:26:38 -05:00
Mark Greene 0f299335d6 Fix: Legendary camouflage parts, materials, names and attachments
Fixes a batch of legendary camouflage problems in the Tankopedia viewer, adds three missing unique camouflages and lets attachments be shown together with a camouflage.

## Camouflage parts (state switchers)
- Camouflages now choose which tank pieces show the same way the game does. Each switcher's load-time scenario script runs at export time (checks for attached camouflage items, or compares the camouflage preset), along with its state-switch actions. This replaces the old guess from part names (new `core/blitzkit/switcherStates.ts`).
- Fixes missing roof MGs, fenders and fuel tanks (IS-3 Bear, Obj. 140 Terror, IS-7, IS-4, FV215b 183, AMX 50 B, KV-1S) and default parts mixed into camouflages (Pershing Speedfire, Forest Witch Fullmetal, Waffenträger Goldstreifen).
- Switchers inside camouflage parts now show one state instead of all of them stacked (Obj. Kust double net, Goldstreifen stowage, Tiger II cat).
- States are matched by original node names, because the GLTF loader renames duplicates.
- Camouflage part meshes with no LODs (`lodIndex -1`) are kept, which restores the Tiger II cat body and missing pieces on about 11 other camouflages.

## Materials
- `AlphaBlend` materials export as transparent. `AlphaBlendAdditive` materials export as additive and are applied in `jsxTree`, and unlit `Textured` materials export as unlit (IS-8 Raroh flames, dinosaur holograms, and glass and screens on a few base tanks).
- Camouflage part materials that share a name with the tank's material no longer replace the tank's camouflage material (Bisonte C45 Unbreakable).

## Names
- With a legendary camouflage selected, the title shows the tank's in-battle name ("GuP Type 95 Ha-Go", "KV-1 Warrior", "Shinobi").
- Camouflages without a name in the game files yet show "Unreleased" in orange instead of their raw string key, and no longer crash the tank names list.

## Attachments
- Attachments (`kind: customization`) are listed in their own group under the camouflages and can be turned on together with a camouflage. They load the same way as camouflages and fade with the same transition.

## Other
- Liberté, You Rock! and Ozzie (single-tank camouflages that only set a preset through `override`) are now available.
- Mastery gun mark meshes (`custom_gun_marks_*`) are no longer drawn (Helsing, HWT20 FalconFire and two camouflage guns).

## Not included
- Pixel Wave, Digital Trace and Forest Shadow are tiled pattern camouflages, which the viewer can't render yet.
- FV301 Corbie's drone position and the dinosaur heads' glow depend on camouflage animations and emissive materials, which are separate PRs.

Fixes #417
Fixes #419
Fixes #421
2026-10-29 15:28:11 +13:00
tresabhi 4694d495bb well at least some of it is showing up i guess 2026-10-27 18:58:21 -05:00
tresabhi 43fc98e37d focus tooltip 2026-10-27 18:43:48 -05:00
tresabhi d251c31b92 port antagonist control 2026-10-27 18:39:56 -05:00
tresabhi 45811b5c18 fix imports 2026-10-27 17:13:01 -05:00
tresabhi 10f8fa28f9 icons 2026-10-27 16:49:52 -05:00
tresabhi f10065887d black background 2026-10-27 14:24:32 -05:00
tresabhi bf7046c91b skin switcher 2026-10-27 11:51:14 -05:00
tresabhi 89d272166f Merge branch 'main' into data-driven 2026-10-25 18:49:49 -05:00
TrèsAbhi dcd77d5666 Merge branch 'main' into beg 2026-10-25 18:38:48 -05:00
tresabhi 46fd061aff simplify 2026-10-25 18:37:28 -05:00
TrèsAbhi bb64d718c2 Merge branch 'main' into beg 2026-10-25 18:11:37 -05:00
tresabhi f6f8e2b4df polish 2026-10-22 17:00:13 -05:00
tresabhi a4fca4085e dedicated tool 2026-10-22 16:49:03 -05:00
tresabhi d32b8cc3f5 Merge branch 'main' into new-credits 2026-10-22 16:38:40 -05:00
tresabhi 0922614dbc finalize 2026-10-22 16:37:16 -05:00
tresabhi 19e535969e colors 2026-10-22 11:51:08 -05:00
tresabhi eebc373b46 better 2026-10-22 11:45:18 -05:00
tresabhi ecb1a7c21e base 2026-10-22 11:30:03 -05:00
Mark Greene a495a5f208 Feature: Legendary camouflages in the Tankopedia viewer 2026-10-22 16:12:03 +13:00
tresabhi 273fea1599 promote preview 2026-10-21 09:36:06 -05:00
tresabhi 1b5c79c2b8 Merge branch 'production' 2026-10-19 19:54:58 -05:00
tresabhi 51900f4c80 countdown 2026-10-19 19:22:20 -05:00
TrèsAbhi 73080fd60a Merge branch 'main' into remove-imgur-references 2026-10-18 14:03:19 -05:00
TrèsAbhi 8132f2d91e Merge branch 'main' into calculated-bounding-boxes 2026-10-18 13:59:49 -05:00
tresabhi b00a63a9f8 sorting 2026-10-15 00:38:01 -05:00
tresabhi 8ec7fcb90a ui shit 2026-10-13 21:14:42 -05:00
tresabhi 830e1597e7 revive sandbox 2026-10-13 21:03:06 -05:00
tresabhi 3131217600 custom scroller for loadout 2026-10-13 20:53:15 -05:00
tresabhi 0b740e3f60 port scroller 2026-10-13 20:40:47 -05:00