The game had no room. Props sat on a grey disc in a black void, which quietly broke the premise: a game about wrecking your workplace needs a workplace. Office.gd — LEVEL 01 - Open-plan office laid out after The Office (US) floor plan: bullpen of facing desk pairs behind cubicle partitions, reception, glass-walled manager's office, conference room, break room with vending machines, copier alcove, warehouse roller door. - Drop ceiling on a T-bar grid with fluorescent troffers that ARE the light sources (the old scene lit an interior with one outdoor directional lamp, which is exactly why it read as "props on a plane"), window wall with blinds, magnolia and carpet. - Office owns the shell + static fittings; Main._populate() owns everything smashable and asks Office where things go. Walls/desks/counters are boxes because they ARE boxes; chairs, vending machines, microwave and plant come from a new Blender generator (tools/gen_office_props.py) because a box reads as wrong for those. The level no longer falls over on its own - Records were stacked 3 cm apart vertically while being 30 cm TALL, so Jolt resolved 27 cm of interpenetration explosively on frame one and shoved the furniture over before the player touched anything. They now stand side by side. - Per-material mass (MASSES): everything was 1 kg, so a thrown record could tip a filing cabinet. - Spawn guard: placing ~40 props by formula guarantees an occasional overlap, and depenetration is violent (a chair left the building at 500 m/s). Dynamic bodies are speed-limited for 0.75 s, and each offender is named once with the position it was PLACED at, so the cause stays visible instead of being papered over. It then found the real bug: bullpen rows 3.6 m apart left the two rows' chairs meeting back-to-back with 3 cm to spare. Rows are now 4.8 m apart. - dev/DemoDriver.gd act 0 touches nothing for 5 s and prints total body speed. Now reads 0.00 m/s with zero spawn warnings. Two real melee bugs found while testing the level - The hit test was a SPHERE parked at `reach`, so anything CLOSER than the weapon's reach fell in front of it and was missed — you could stand against the printer with a sledgehammer and swing straight through it. Now a capsule swept from the camera. - Swings started at eye height (1.6 m), so a carton on the floor was ~1.5 m away even standing over it and short-reach weapons could never touch anything on the ground. Swings now originate at hand height. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
[remap]
|
|
|
|
importer="scene"
|
|
importer_version=1
|
|
type="PackedScene"
|
|
uid="uid://db5d8pc8dyv6m"
|
|
path="res://.godot/imported/office-plant.glb-1de190cf01a50f8f08e256dfed234617.scn"
|
|
|
|
[deps]
|
|
|
|
source_file="res://assets/store/office-plant.glb"
|
|
dest_files=["res://.godot/imported/office-plant.glb-1de190cf01a50f8f08e256dfed234617.scn"]
|
|
|
|
[params]
|
|
|
|
nodes/root_type=""
|
|
nodes/root_name=""
|
|
nodes/root_script=null
|
|
mesh_library/use_node_names_as_mesh_names=false
|
|
array_mesh/deduplicate_surfaces=true
|
|
nodes/apply_root_scale=true
|
|
nodes/root_scale=1.0
|
|
nodes/import_as_skeleton_bones=false
|
|
nodes/use_name_suffixes=true
|
|
nodes/use_node_type_suffixes=true
|
|
meshes/ensure_tangents=true
|
|
meshes/generate_lods=true
|
|
meshes/create_shadow_meshes=true
|
|
meshes/light_baking=1
|
|
meshes/lightmap_texel_size=0.2
|
|
meshes/force_disable_compression=false
|
|
skins/use_named_skins=true
|
|
animation/import=true
|
|
animation/fps=30
|
|
animation/trimming=false
|
|
animation/remove_immutable_tracks=true
|
|
animation/import_rest_as_RESET=false
|
|
import_script/path=""
|
|
materials/extract=0
|
|
materials/extract_format=0
|
|
materials/extract_path=""
|
|
_subresources={}
|
|
gltf/naming_version=2
|
|
gltf/embedded_image_handling=1
|
|
gltf/texture_map_mode=1
|