[gd_scene load_steps=4 format=3] [sub_resource type="StandardMaterial3D" id="SiteMat"] albedo_color = Color(1.0, 0.65, 0.0, 0.3) metallic = 0.0 roughness = 0.5 transparency = 0.7 flags_transparent = true [sub_resource type="BoxShape3D" id="SiteShape"] size = Vector3(6.0, 3.0, 6.0) [node name="BombSite" type="Area3D"] groups = ["bomb_site"] ; Bomb site — the bomb can be planted within this area. ; Resize the CollisionShape3D to cover the site's playable area. ; Name the node "BombsiteA" or "BombsiteB" for game logic identification. [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("SiteShape") [node name="Visualizer" type="CSGBox3D" parent="."] size = Vector3(6.0, 0.04, 6.0) material = SubResource("SiteMat") use_collision = false transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.02, 0) ; Semi-transparent orange floor panel to visualise the site in the editor. ; Adjust to match the site's floor area. [node name="PlaneZone" type="CSGBox3D" parent="BombSite"] operation = 1 size = Vector3(5.5, 0.5, 5.5) material = SubResource("SiteMat") use_collision = false transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) ; Invisible CSG subtraction hint — marks the plantable ground area.