Commit Graph
67 Commits
Author SHA1 Message Date
adminandClaude Fable 5 7fb0ff54b1 Add double-click-to-reset on all sliders (interval + pointer tolerance) and sync PaintHud slider defaults
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 19:28:22 +02:00
adminandClaude Fable 5 04514b83c7 The Room: replace photo quads/prefabs with picture frames
Content pass: new photo textures, picture frames built with
PictureFrameBuilder in the scene, Frame Inner.mat tweak; removed the
now-obsolete photo materials and Paint prefab variants.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 07:54:03 +02:00
adminandClaude Fable 5 a4d4c9ac91 The Room: add PictureFrameBuilder test frame, paint prefab scale tweaks
Includes the migrated frame values (Inner Depth 0.1, Picture Depth -0.05)
and the usual regenerated SkyboxReflection cubemap churn.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 19:20:06 +02:00
adminandClaude Fable 5 2f38cb384e The Room map pass: TV video, photo materials, prefab cleanup
- New TV Video material + environment video clip on the plasma TV
- New P1002728 photo material/texture, P1002712 texture, three new
  paint prefab variants
- Living-room prefab variants updated across the set
- Remove stale generated concealment collider PolyShape assets
- The Room scene content pass

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 15:45:44 +02:00
adminandClaude Opus 4.8 b7424a3ec7 Authoring: Paintman UMotion clip tweaks, Tv_Plasma prefab update
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 07:24:22 +02:00
adminandClaude Opus 4.8 93567bbd9f Camo authoring: serialize _Saturation, rename/add HUD sliders
Player.mat gets _Saturation: 0 (neutral). PaintHudPanel renames
Slider_HalfLambertBrightness -> Slider_Brightness and adds Slider_Saturation
(range set for the new -1..0..+ semantics).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 07:24:02 +02:00
adminandClaude Opus 4.8 e5b5138232 PlayerController: robust wall-climb hold on thin boards
ProbeWall now falls back to a horizontal multi-sample fan across the capsule
cross-section when the center ray misses, so a thin/narrow board keeps its
grab instead of dropping after wallExitGrace (which stays at 0.15). The
top-out mantle no longer commits on the first probe miss: it requires the
top-edge signature (wall at foot, moving up, headroom clear) to persist for
wallTopOutConfirm (new tunable, default 0.06s) and uses hardened multi-sample
foot/headroom probes, so a transient mid-face miss or a VHACD hull gap no
longer triggers a false mantle.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 07:23:56 +02:00
adminandClaude Opus 4.8 c81d6d1aa2 Player: tune paint brush defaults (size 25, brush index 0)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 18:19:16 +02:00
admin 669b4e1308 Add Majoras Mask, update gitignore 2026-07-07 11:16:43 +02:00
adminandClaude Opus 4.8 64eb2c29ef Paint content: update brushes, add DiscordChaos material, tune paint HUD
Refreshed brush atlases (Brushes.psb + hard/soft/square PNGs), new DiscordChaos material + texture, and PaintHudPanel slider range/value tweaks.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 22:37:38 +02:00
adminandClaude Opus 4.8 8e13f23237 Add Wall pose: new animation + pose, wire into Player pose list
New Paintman-Wall animation and Pose_Wall asset (authored via the UMotion project) added to the Player's pose list. Player MeshPainter textureSize 1024->512.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 22:37:29 +02:00
adminandClaude Opus 4.8 21fecdd569 FurShell authoring: drop orphaned scale-influence prop, tune fur X-ray
FurShell.mat: remove the now-orphaned _FurScaleInfluence serialization.
Player.prefab: _xrayFurStrength tuned to ~0 (fur X-ray glow off).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 17:31:09 +02:00
adminandClaude Opus 4.8 8f31c07bef Authoring: Radar-Tuning + Fade-Defaults, Prefab-Hash-Churn
Main.unity: radarPingInterval 30->10, radarPingLifetime 3->2, Sim-Preset,
Radar-Fade-Defaults (fadeInSpeed 5, fadeOutSpeed 3, hiddenScale 0.8).
Radar.mat: Basis-Alpha 0.443->0.427.
ConversionStatue/Hider.prefab: regenerierter GlobalObjectIdHash.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 12:23:49 +02:00
adminandClaude Opus 4.8 65bd6f8efc Authoring: default players-collide off, sim preset, statue prefab hash
Set GameModeManager.playersCollide to off in Main.unity, retune the
NetworkSimulator preset reference, and pick up the ConversionStatue
prefab's regenerated GlobalObjectIdHash.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 11:18:10 +02:00
adminandClaude Opus 4.8 8bafa2f10a Scene authoring: ConversionStatue prefab, registration and wiring
- ConversionStatue.prefab: Hider variant stripped of player-only components
  (NetworkPlayerSetup, PlayerAnimationSync, ConcealmentMeter, PlayerScaler),
  controllers disabled, MatchStatue added.
- DefaultNetworkPrefabs.asset: register the statue prefab.
- Main.unity: wire MatchManager.statuePrefab.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 09:33:21 +02:00
adminandClaude Opus 4.8 23b51d07a4 Authoring: radar scene setup, materials, tag + fur/probuilder tweaks
- Main.unity: Radar / Target Template / Point hierarchy under Radar Camera
- Radar tag added (TagManager)
- Radar.mat + RadarPoint.mat (URP Particles/Unlit blip material)
- The Room.unity: fur shader tint/softness tweaks, Target Template disabled
- Player.prefab: xrayFlashBoost/fur field reserialization
- ProBuilder editor prefs

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 20:47:13 +02:00
adminandClaude Opus 4.8 e571375cab feat(ui): move HSV swatch onto the SV handle
HsvColorPicker: read the color swatch from the SV handle's child
("Handle/Swatch") instead of a standalone root child; drop the dead
leftover-alpha bar and root-swatch fallback handling.
PaintHudPanel.prefab: restructure the picker so the swatch lives under
the SV handle and wire _swatch accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 17:26:57 +02:00
adminandClaude Opus 4.8 9dfac9a24c chore(authoring): hunter speed tuning + match/scene settings
Hunter.prefab: moveSpeed 1, sprintSpeedMultiplier 2->4, GlobalObjectIdHash.
Main.unity: hideDuration 20->90, resolveDuration 20->50, NetworkBootstrap
GUI off, network simulator preset -> Mobile 2G.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 15:14:26 +02:00
adminandClaude Opus 4.8 4ceaf85c8f Authoring: Hunter/Hider prefab ids, Main scene match tuning + sim preset
- hitRevealDelay 0.35, resolveDuration 20, NetworkSimulator preset (Mobile 2G).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 14:19:00 +02:00
adminandClaude Opus 4.8 5b95cb7f56 Authoring: Main scene, HUD panel, move FurShell material to Assets/Materials
- Main.unity + PaintHudPanel.prefab: fur/paint HUD authoring updates.
- Rename FurShell_Test.mat -> Materials/FurShell.mat (same GUID).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 12:08:58 +02:00
adminandClaude Opus 4.8 49704448e9 Fur authoring: Player-FurShellRenderer, Paint-HUD-Panel, Testszene & -material
Avatar-Setup und HUD-Autoring fuer das Fur-Feature (Code liegt in 1b783a3):
- Player.prefab: FurShellRenderer am Player verdrahtet, furLength-Default 0.5
- PaintHudPanel.prefab: Slider_FurLength + Fur-Panel-Widgets
- The Room.unity: Fur-Testaufbau
- FurShell_Test.mat: Test-Material fuer den Shell-Shader

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 23:41:57 +02:00
adminandClaude Opus 4.8 91a64545d0 Tune player X-ray pulse and paint padding
Author X-ray pulse shape/speed on Player.mat and raise seam padding
texels on Player.prefab.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 22:12:16 +02:00
admin b88516355b Add some generated colliders 2026-07-01 20:48:45 +02:00
admin c2d535c661 Author the player X-ray glow color and fade timing
Set _XRayColor (HDR orange, alpha 0 = off by default), pulse speed/strength
on Player.mat and xrayFadeDuration on the Player prefab.
2026-07-01 12:22:21 +02:00
admin d7104f9314 Tune the player brush defaults and reset occlusion to neutral
Set occlusion to 0.5 (the new neutral for painted height) so Reset
HUD/Values lands on neutral, and adjust the default brush colour,
metallic/smoothness, active brush and alignment.
2026-07-01 08:15:22 +02:00
admin bb74f748bf Author the painted-height sliders in the paint HUD
Add the occlusion-shift, normal-intensity and parallax-intensity slider
instances to the HUD layout prefab under their stable widget names so the
binder wires them to the painter's material knobs.
2026-07-01 07:07:43 +02:00
admin f629731539 Author the general and paintings panels in the paint HUD
Add the General and Paintings panels to the HUD layout prefab and register
their stable widget names so the binder can find and manage them.
2026-06-30 21:47:23 +02:00
admin 4e8a907a8c Add a square brush and wire up the HUD brush preview
Add the BrushesSquare texture, replace the duplicated brush slots on the
player with it, show a brush preview in the paint HUD, and surface the
spawn-area tags and conversion reveal delay in the inspector.
2026-06-30 18:37:23 +02:00
admin 9a90b772d7 Add a second pose to the hunter variant 2026-06-30 18:20:29 +02:00
admin f1ab62b061 Author the alpha sliders, reset button, and slider curves in the HUD
Add Slider_AlbedoAlpha / Slider_EmissionAlpha, the Lib_ResetHud button,
and SliderCurve components to the paint HUD panel.
2026-06-30 18:20:26 +02:00
admin 1aa1f6d869 Tune the corner guard and persist the eyedropper toggle on the player
Dial corner guard to 70 degrees / 0.7 fraction and serialize the
pipetteAlbedoFromScreen toggle on the player prefab.
2026-06-29 20:58:12 +02:00
admin b091f1175b Add camo sliders to the paint HUD and tune the player
Add the HalfLambert, HalfLambert brightness and specular-damp sliders to the paint HUD panel, dial the camo values on Player.mat, and disable shadow casting on the Paintman renderer so the player's cast shadow no longer gives away its position.
2026-06-29 20:12:44 +02:00
admin 4da2e3a70c Update scenes, lighting and glass materials
Heavy authoring pass on The Room scene plus lighting/render tuning across
scenes: Lobby gets lower ambient/reflection intensity, softer shadow
strength and a baked lighting data asset; Main and Test Map drop their
lighting data/settings links. Replace the living-room Glass materials with
reworked versions under Assets/Materials, update BrightDaySettings, and set
hunterCount to 0 in Main.
2026-06-29 16:24:12 +02:00
admin 42c5fcc323 Apply camouflage material to the player
New Player.mat using Custom/PlayerCamoLit, assigned to the Paintman renderer
on the Player prefab so the camo shader is active on hunters and hiders.
2026-06-29 16:23:14 +02:00
admin 3f48823513 Remove second-pipette toggle and preview from paint HUD
Drop the now-unused Toggle_PipetteScreen and the Preview element from the
paint HUD panel after consolidating back to a single (hybrid) pipette.
2026-06-29 16:23:03 +02:00
admin fd869c9cf8 set living room prefabs as static for lightmap baking 2026-06-29 12:16:39 +02:00
admin 054cadbd80 Tune player role scales, poses and render settings
Hunter scale 2.4 -> 1.5 and Hider 0.7 -> 0.5; Player prefab character
controller step offset and skin width tweaks (plus Unity field reserialization).
Pose assets get fall-clip fields and slightly lower controller height/center.
Lower SSAO intensity and radius in PC_Renderer; QualitySettings reserialized
by Unity (mesh LOD threshold, Switch 2 target).
2026-06-28 21:40:27 +02:00
admin 604adcdfd4 Add The Room scene with living room environment, use it as the match scene
New The Room scene built from the Barking_Dog living room asset: prefab
variants under Assets/Prefabs/3D Living Room, an Environment Light prefab and
baked lighting settings. Point MatchManager at The Room (was Test Map) and
swap it into the build settings scene list. Floor_Wood material and the
living room meta files are reserialized by the URP/Unity importer. Main.unity
also carries the inspector-pinned defaults of the orbit-zoom and hunter-count
fields (matching the C# defaults, no behavior change).
2026-06-28 21:40:18 +02:00
admin 4e27b1e729 Disable editor network bootstrap in builds; tune scenes and paint HUD panel
NetworkBootstrap now destroys itself outside the editor. Camera FOV/background
tweaks in Main, lobby light intensity, and paint HUD panel font/color polish.
2026-06-28 15:51:49 +02:00
adminandClaude Opus 4.8 198db9a3ee Add NoClimb climb filter and kill-plane rescue to player controller
Two player-controller additions:

NoClimb: colliders tagged "NoClimb" are now invisible to wall-climb and
ceiling-grab. The grab detector (OnControllerColliderHit) and all three
climb probes (ProbeWall, ProbeCeiling, WallInFront) skip them, so such a
surface still blocks the capsule physically but can never be grabbed,
re-probed onto, or treated as a ceiling. WalkableGroundBelow is left
untouched (it only accepts walkable ground). The tag is read from a
serialized field (default "NoClimb"); an empty tag disables the check.

Rescue: a kill-plane fail-safe. The owner captures its spawn point on the
first Update frame (after OnNetworkSpawn's ring offset has landed) and,
if it falls below rescueMinY (-100), teleports back there with all
momentum cleared, toggling the CharacterController around the write like
PlaceOnSpawnRing. Owner-only; the authoritative NetworkTransform
replicates the reset. Runs ahead of the control gate so it rescues in any
mode.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 15:15:45 +02:00
admin da3938d089 edit paint hud dialogs 2026-06-28 13:57:12 +02:00
adminandClaude Opus 4.8 2a6fc163b1 Add persistent global mouse sensitivity setting with slider
MouseSensitivity is a static, PlayerPrefs-backed multiplier (default 1,
clamped 0.1-4.0) that scales the mouse-look delta in the FreeCam,
FirstPerson and ThirdPerson controllers. Writes flush immediately so the
value survives a hard build exit. MouseSensitivitySlider binds the
Settings-panel slider to it (range read from the inspector) and mirrors
the value into its label, syncing on panel open via OnEnable.

Main.unity now contains the session-manager canvas directly (the
Online Session Manager prefab was unpacked) and wires the slider binder.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 13:55:53 +02:00
admin 0df37b8e4a First working windows build 2026-06-28 13:16:21 +02:00
adminandClaude Opus 4.8 d27ee16004 Bind online session browser to canvas, drop IMGUI
- OnlineSessionManager: remove OnGUI/IMGUI state; now a logic-only layer
  exposing Host/Refresh/Join/Disconnect plus Status/IsBusy/IsConnected/
  InSession/Sessions and Changed/SessionsChanged events
- OnlineSessionBrowserUI (new): drives the Servers canvas — 4 buttons,
  session list from Entry Template clones (name + players), row selection,
  state-driven interactability, status footer
- Main scene: attach binder, add status footer line, wire 8 refs; dev
  bootstrap panel disabled
- Online Session Manager.prefab (new)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 11:03:26 +02:00
adminandClaude Opus 4.8 91ce8ff329 Replace stripped-player spectator with a minimal dedicated prefab
Mid-match joiners now spawn a dedicated empty Spectator prefab (NetworkObject
+ SpectatorSetup only) instead of a fully stripped Player prefab. The FreeCam
rig is a standalone scene object in Main, so the spectator needs no avatar body,
renderer, collider, or CharacterController -- eliminating the leftover-body
artifact and the fragile per-peer strip path entirely.

- SpectatorSetup.cs (new): owner binds GameModeManager.BindSpectator (FreeCam-only)
- Spectator.prefab (new): empty avatar (Transform + NetworkObject + SpectatorSetup),
  registered in DefaultNetworkPrefabs, wired on MatchManager in Main
- GameModeManager: add BindSpectator/BuildSpectatorModes; drop the spectator
  branch from BindLocalPlayer; ReleaseToNoPlayer frees the cursor on teardown
- MatchManager: independent entropy-seeded RNG for fair hunter pick (was sharing
  the global engine RNG and always landing on the same client); spawn the
  spectator prefab for mid-match joiners; cursor-safe return-to-Main teardown
- FreeCamController: guard IgnorePlayerCollision against a disabled capsule

Also bundled (unrelated user asset/UI edits): PaintHudPanel layout tuning,
font atlas (arialroundedmtprocyr_bold SDF), forestpack_foliage material.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 00:31:49 +02:00
adminandClaude Opus 4.8 bd70f3b8b9 Add lobby/match-start matchmaking flow with additive scene management
Replace the connection-approval role selection with a server-authoritative
match flow built on NGO additive scene management:

- Scenes: Main is the persistent foundation (NetworkManager, GameModeManager,
  cameras, HUD); Lobby and Test Map load/unload additively. Add Lobby + Test Map
  to the build settings; remove the obsolete SampleScene.
- MatchManager (plain MonoBehaviour singleton): loads Lobby on server start,
  StartMatchTrigger lets the host start the match, rolls one random Hunter (rest
  Hider), swaps Lobby -> Test Map (strictly serialized per NGO), respawns each
  player as its role variant. Forces additive client sync mode so clients keep
  Main instead of single-loading it (fixes "Destination scene is not valid").
- Server-driven spawning: null out NetworkConfig.PlayerPrefab at runtime to
  disable auto-spawn, then spawn players after the lobby floor exists (fixes
  falling through the floor) with double-spawn and transition guards.
- StartMatchTrigger: server-gated OnTriggerEnter, only the host's own player
  starts the match.
- NetworkBootstrap: drop role selection / connection approval; everyone spawns
  as the neutral Player prefab. Host/Client/Server/Shutdown buttons stay.
- NetworkPlayerSetup.ScopedModes flag (baked on Hunter/Hider prefabs): lobby
  avatar gets the full mode set, match variants get the role-scoped set.
- GameModeManager.BindLocalPlayer reads ScopedModes and rebinds the painter
  unconditionally (fixes stale painter binding on respawn -> brush painting in
  every mode).
- MeshPainter.PaintingEnabled defaults to false (unbound/pre-spawn/remote never
  paints); PaintHud visibility now also gates on a bound painter (fixes the HUD
  showing at startup before any avatar exists).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 22:44:18 +02:00
adminandClaude Opus 4.8 301f7e64cb Add Ctrl+Z/Ctrl+Y undo/redo with command-based network sync
Pointer-based per-painter history of the canonical maps with copy-on-write
sharing (only maps touched by a stroke are cloned). A stroke (press..release)
is one step; a Load resets the history to the loaded maps as the sole baseline.

Network sync replicates undo/redo as tiny checkpoint/restore commands instead
of broadcasting full map snapshots: every peer runs the same COW history keyed
by owner-assigned checkpoint ids and reproduces restores locally. A peer that
cannot reproduce a target (undo across its join boundary) requests a targeted
snapshot from the owner as fallback.

Hardening: ordered send FIFO keeps stamps + checkpoints + restores in
production order (a marker never overtakes the stamps it finalizes); stamp
overflow carries over to the next frame instead of being decimated, so remote
content matches the owner; remote always inserts the checkpoint id to stay
1:1 aligned. Owner-authoritative snapshot fallback replaces the silent
host no-op. Adds a logSync toggle (default on) tracing when each
checkpoint/restore/snapshot is sent, applied, or falls back.

Also includes paintings-panel layout tuning in PaintHudPanel.prefab
(inspector edits).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 20:19:36 +02:00
adminandClaude Opus 4.8 ee482905f9 Replace auto paint persistence with a named painting library
Persistence rework:
- Drop auto-load on setup and auto-save on teardown; the painter now always
  seeds fresh from the material.
- Named slots under MeshPaint/Saved/<name>.paint via the existing CHMP
  machinery: SavePaintAs / LoadPaintByName / DeletePaint / ListSavedPaintings /
  PaintExists. Slot files carry the display name in the header.
- Remove the obsolete persistence partials (PlayerCharacterController,
  PlayerPoseController, ThirdPersonOrbitInput) and their references.

Paintings HUD panel:
- Authored Panel_Paintings + Save/Load/Delete dialogs into PaintHudPanel.prefab
  (TMP throughout); PaintHud.Library.cs is now a pure binder that clones the
  entry template per slot.
- Save dialog blocks empty/existing names; Load and Delete confirm first.
- Fix dialog z-order: open dialogs SetAsLastSibling so a dragged panel can no
  longer cover them.
- Lib_ListContent horizontal offsets corrected to 0 (was clipping entry labels
  out of the masked viewport).

Multiplayer:
- Loading a painting re-syncs to all peers via the snapshot broadcast path
  (BroadcastLoadedPaint), covering later late-joiners for free.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 18:39:20 +02:00
adminandClaude Opus 4.8 56caa0edd8 Add Hunter/Hider role selection on connect with role-scoped modes
Roles are chosen in the bootstrap dev panel before Host/Client. NGO
ConnectionApproval is enabled at runtime and maps the role payload to
the matching prefab variant per connection (Hunter/Hider), so each peer
spawns the correct avatar including the host.

- PlayerRole.cs (new): single source of truth enum { Hider, Hunter }.
- NetworkBootstrap.cs: role toggle, ConnectionApproval + role payload,
  server ApprovalCheck mapping role -> PrefabIdHash.
- NetworkPlayerSetup.cs: serialized PlayerRole field + Role property.
- GameModeManager.cs: BuildModes(role) - Hunter -> [First Person, Paint],
  Hider -> [Third Person, Paint, Free Cam]; binds role from spawned avatar.
- Hunter.prefab: role = Hunter override.
- SampleScene.unity: NetworkBootstrap prefab references wired.

Also includes user inspector scale tuning (Hunter 2.5->2.4, Hider 0.5->0.7).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 17:01:43 +02:00
admin 10f2518640 Exclude other players from climb probes and spread network spawns
Wall/ceiling/ground climb probes now skip any player collider (own and
remote) instead of only the local hierarchy, so running into another
chameleon no longer triggers the climb mechanic. New players are placed
on a per-clientId ring at spawn (host stays at origin) to avoid stacking
into one collision pile.

Also persists the serialized defaults of the recent network fields into
the Player prefab (incl. the spawnRingRadius inspector tuning) and a TMP
dynamic-atlas reset artifact.
2026-06-27 16:26:54 +02:00