Commit Graph
5140 Commits
Author SHA1 Message Date
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
TrèsAbhi 72758e9ff7 Merge pull request #423 from Hitjack007/legendary-camos-fix
Fix: Legendary camouflage parts, materials, names and attachments
2026-10-31 13:26:16 -05:00
tresabhi 8028446788 fall back to github.token for pr runs 2026-10-30 16:59:31 -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 3b34b01536 redirect guesser 2026-10-29 15:02:20 -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
tresabhi 523fee5010 its only ever going to be standard material 2026-10-29 11:15:28 -05:00
tresabhi e5be69dd37 no unreleased! 2026-10-29 11:08:20 -05:00
tresabhi bddcf10e90 assert 2026-10-29 11:07:33 -05:00
tresabhi 484d4ae3da please dont make name undefinedable, just default to the string id 2026-10-29 11:07:11 -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 dd83da91ff compiling 2026-10-27 11:52:58 -05:00
tresabhi bf7046c91b skin switcher 2026-10-27 11:51:14 -05:00
tresabhi fae0277b69 re apply rotation patch 2026-10-27 11:40:47 -05:00
tresabhi 3470d68204 fix imports 2026-10-27 11:36:00 -05:00
tresabhi bac29d843c remove path 2026-10-26 09:55:22 -05:00
tresabhi 5807473fb6 Merge branch 'main' into data-driven 2026-10-26 09:50:43 -05:00
TrèsAbhi 091607b0a8 Add Beta option to bug report issue template 2026-10-25 21:53:59 -05:00
tresabhi 4d45029bfa imports 2026-10-25 18:52:41 -05:00
tresabhi 89d272166f Merge branch 'main' into data-driven 2026-10-25 18:49:49 -05:00
TrèsAbhi 590f4a5df3 Merge pull request #407 from blitzkit/main-i18n
New Crowdin updates
2026-10-25 18:41:43 -05:00
TrèsAbhi e326985ec4 Merge pull request #411 from blitzkit/beg 2026-10-25 18:40:34 -05:00
TrèsAbhi dcd77d5666 Merge branch 'main' into beg 2026-10-25 18:38:48 -05:00
TrèsAbhi d45425ec57 Merge pull request #414 from blitzkit:simplify-navbar
simplify
2026-10-25 18:37:52 -05:00
tresabhi 46fd061aff simplify 2026-10-25 18:37:28 -05:00
TrèsAbhi 752b11e56d Merge pull request #413 from Hitjack007/legendary-camos-fix
Fix legendary camos
2026-10-25 18:25:40 -05:00
Mark Greene 049ef58691 Fix legendary camos
Fixed https://github.com/blitzkit/blitzkit/commit/b540ab781419cbaa693597bf89a2f62962d8295f @tresabhi
2026-10-26 12:22:51 +13:00
TrèsAbhi bb64d718c2 Merge branch 'main' into beg 2026-10-25 18:11:37 -05:00
tresabhi 0d6c508382 remove skins from api 2026-10-25 15:00:17 -05:00
tresabhi 7f77b4006d shit ass wargaming legacy systems 2026-10-25 13:31:12 -05:00