Mapping and box

This commit is contained in:
MaddoScientisto 2025-06-21 22:32:47 +02:00
commit bd7f04d6fe
14 changed files with 860 additions and 510 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://cllgj3yoqvpko"
path="res://.godot/imported/Box_Large_Red.gltf-e8fec7230b1a9b5d00d7492afb177875.scn"
[deps]
source_file="res://3D/BlockbenchModels/Box/Box_Large_Red.gltf"
dest_files=["res://.godot/imported/Box_Large_Red.gltf-e8fec7230b1a9b5d00d7492afb177875.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
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=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

BIN
3D/BlockbenchModels/Box/Box_Large_Red_0.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dey4646bo35tm"
path="res://.godot/imported/Box_Large_Red_0.png-228321d8bfff30de603a3379f0bc6a95.ctex"
metadata={
"vram_texture": false
}
generator_parameters={
"md5": "bf6261013480a4101e174d62e61702d4"
}
[deps]
source_file="res://3D/BlockbenchModels/Box/Box_Large_Red_0.png"
dest_files=["res://.godot/imported/Box_Large_Red_0.png-228321d8bfff30de603a3379f0bc6a95.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
3D/BlockbenchModels/Box/Box_Large_Red_Texture.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dns6lcd4b4c80"
path="res://.godot/imported/Box_Large_Red_Texture.png-92ae747764b49315ed777583a6e6f937.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://3D/BlockbenchModels/Box/Box_Large_Red_Texture.png"
dest_files=["res://.godot/imported/Box_Large_Red_Texture.png-92ae747764b49315ed777583a6e6f937.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

File diff suppressed because one or more lines are too long

View file

@ -106,8 +106,8 @@
}
// brush 11
{
( 224 336 0 ) ( 224 432 0 ) ( 224 336 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
( 224 344 16 ) ( 464 344 16 ) ( 224 344 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 400 336 0 ) ( 400 432 0 ) ( 400 336 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 270 1 -1
( 464 416 16 ) ( 464 416 0 ) ( 224 416 16 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 90 1 1
( 464 336 0 ) ( 464 432 0 ) ( 224 336 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 224 336 16 ) ( 224 432 16 ) ( 464 336 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 464 432 16 ) ( 224 432 16 ) ( 464 432 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
@ -116,7 +116,7 @@
// brush 12
{
( 224 576 16 ) ( 224 496 16 ) ( 224 576 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
( 224 496 0 ) ( 224 496 16 ) ( 464 496 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 224 512 0 ) ( 224 512 16 ) ( 464 512 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 270 1 1
( 224 576 0 ) ( 224 496 0 ) ( 464 576 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 464 576 16 ) ( 464 496 16 ) ( 224 576 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 224 560 0 ) ( 464 560 0 ) ( 224 560 16 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
@ -124,7 +124,7 @@
}
// brush 13
{
( 384 432 16 ) ( 384 432 0 ) ( 384 496 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
( 400 432 16 ) ( 400 432 0 ) ( 400 496 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 270 1 -1
( 464 432 0 ) ( 384 432 0 ) ( 464 432 16 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 464 496 0 ) ( 384 496 0 ) ( 464 432 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 464 432 16 ) ( 384 432 16 ) ( 464 496 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
@ -138,7 +138,7 @@
( 224 432 0 ) ( 320 432 0 ) ( 224 496 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 224 496 16 ) ( 320 496 16 ) ( 224 432 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 224 496 0 ) ( 320 496 0 ) ( 224 496 16 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 320 496 0 ) ( 320 432 0 ) ( 320 496 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
( 304 496 0 ) ( 304 432 0 ) ( 304 496 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 90 1 -1
}
// brush 15
{
@ -1887,6 +1887,96 @@
( 552 -1080 56 ) ( 553 -1080 56 ) ( 552 -1080 57 ) __TB_empty [ 1 0 0 0 ] [ 0 0 -1 0 ] 90 1 1
( 560 -1152 64 ) ( 560 -1153 64 ) ( 560 -1152 65 ) __TB_empty [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
}
// brush 210
{
( 384 344 8 ) ( 384 345 8 ) ( 384 344 9 ) Various/Various1 [ 0 -1 0 0 ] [ 0 0 -1 -8 ] 0 1 1
( 376 344 8 ) ( 376 344 9 ) ( 377 344 8 ) Various/Various1 [ 1 0 0 0 ] [ 0 0 -1 -8 ] 90 1 1
( 376 344 8 ) ( 377 344 8 ) ( 376 345 8 ) Various/Various1 [ -1 0 0 0 ] [ 0 -1 0 0 ] 90 1 1
( 416 352 16 ) ( 416 353 16 ) ( 417 352 16 ) Various/Various1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 90 1 1
( 416 352 16 ) ( 417 352 16 ) ( 416 352 17 ) Various/Various1 [ -1 0 0 0 ] [ 0 0 -1 -8 ] 90 1 1
( 416 352 16 ) ( 416 352 17 ) ( 416 353 16 ) Various/Various1 [ 0 1 0 0 ] [ 0 0 -1 -8 ] 90 1 1
}
// brush 211
{
( 304 416 8 ) ( 304 417 8 ) ( 304 416 9 ) Manual/Chevron [ 0 -1 0 8 ] [ 0 0 -1 0 ] 0 1 1
( 328 416 8 ) ( 328 416 9 ) ( 329 416 8 ) Manual/Chevron [ 1 0 0 0 ] [ 0 0 -1 0 ] 180 1 1
( 328 416 8 ) ( 329 416 8 ) ( 328 417 8 ) Manual/Chevron [ -1 0 0 0 ] [ 0 -1 0 0 ] 180 1 1
( 384 432 16 ) ( 384 433 16 ) ( 385 432 16 ) Manual/Chevron [ 1 0 0 0 ] [ 0 -1 0 0 ] 180 1 1
( 384 432 16 ) ( 385 432 16 ) ( 384 432 17 ) Manual/Chevron [ -1 0 0 0 ] [ 0 0 -1 0 ] 180 1 1
( 400 432 16 ) ( 400 432 17 ) ( 400 433 16 ) Manual/Chevron [ 0 1 0 -8 ] [ 0 0 -1 0 ] 90 1 1
}
// brush 212
{
( 224 336 0 ) ( 224 432 0 ) ( 224 336 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
( 224 352 16 ) ( 464 352 16 ) ( 224 352 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 270 1 1
( 464 336 0 ) ( 464 432 0 ) ( 224 336 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 224 336 16 ) ( 224 432 16 ) ( 464 336 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 270 1 1
( 464 416 16 ) ( 224 416 16 ) ( 464 416 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 90 1 1
( 448 336 16 ) ( 448 432 16 ) ( 448 336 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
}
// brush 213
{
( 224 336 0 ) ( 224 432 0 ) ( 224 336 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
( 320 416 16 ) ( 320 416 0 ) ( 80 416 16 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 270 1 1
( 320 336 0 ) ( 320 432 0 ) ( 80 336 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 90 1 1
( 80 336 16 ) ( 80 432 16 ) ( 320 336 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 90 1 1
( 320 432 16 ) ( 80 432 16 ) ( 320 432 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 180 1 1
( 304 336 16 ) ( 304 432 16 ) ( 304 336 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 0 1 -1
}
// brush 214
{
( 304 432 8 ) ( 304 433 8 ) ( 304 432 9 ) Manual/Chevron [ 0 -1 0 -8 ] [ 0 0 -1 0 ] 0 1 1
( 328 432 8 ) ( 328 432 9 ) ( 329 432 8 ) Manual/Chevron [ 1 0 0 0 ] [ 0 0 -1 0 ] 180 1 1
( 328 432 8 ) ( 329 432 8 ) ( 328 433 8 ) Manual/Chevron [ -1 0 0 0 ] [ 0 -1 0 0 ] 180 1 1
( 384 448 16 ) ( 384 449 16 ) ( 385 448 16 ) Manual/Chevron [ 1 0 0 0 ] [ 0 -1 0 0 ] 180 1 1
( 384 496 16 ) ( 385 496 16 ) ( 384 496 17 ) Manual/Chevron [ -1 0 0 0 ] [ 0 0 -1 0 ] 90 1 1
( 320 448 16 ) ( 320 448 17 ) ( 320 449 16 ) Manual/Chevron [ 0 1 0 8 ] [ 0 0 -1 0 ] 0 1 1
}
// brush 215
{
( 384 432 8 ) ( 384 433 8 ) ( 384 432 9 ) Manual/Chevron [ 0 -1 0 8 ] [ 0 0 -1 0 ] 270 1 1
( 408 432 8 ) ( 408 432 9 ) ( 409 432 8 ) Manual/Chevron [ 1 0 0 0 ] [ 0 0 -1 0 ] 90 1 1
( 408 432 8 ) ( 409 432 8 ) ( 408 433 8 ) Manual/Chevron [ -1 0 0 0 ] [ 0 -1 0 0 ] 90 1 1
( 464 448 16 ) ( 464 449 16 ) ( 465 448 16 ) Manual/Chevron [ 1 0 0 0 ] [ 0 -1 0 0 ] 90 1 1
( 464 496 16 ) ( 465 496 16 ) ( 464 496 17 ) Manual/Chevron [ -1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 400 448 16 ) ( 400 448 17 ) ( 400 449 16 ) Manual/Chevron [ 0 1 0 -8 ] [ 0 0 -1 0 ] 270 1 1
}
// brush 216
{
( 304 496 8 ) ( 304 497 8 ) ( 304 496 9 ) Manual/Chevron [ 0 -1 0 8 ] [ 0 0 -1 0 ] 180 1 1
( 328 496 8 ) ( 328 496 9 ) ( 329 496 8 ) Manual/Chevron [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 328 496 8 ) ( 329 496 8 ) ( 328 497 8 ) Manual/Chevron [ -1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( 384 512 16 ) ( 384 513 16 ) ( 385 512 16 ) Manual/Chevron [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( 384 512 16 ) ( 385 512 16 ) ( 384 512 17 ) Manual/Chevron [ -1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 400 512 16 ) ( 400 512 17 ) ( 400 513 16 ) Manual/Chevron [ 0 1 0 -8 ] [ 0 0 -1 0 ] 270 1 1
}
// brush 217
{
( 400 416 0 ) ( 400 512 0 ) ( 400 416 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 90 1 -1
( 464 496 16 ) ( 464 496 0 ) ( 224 496 16 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 270 1 1
( 464 416 0 ) ( 464 512 0 ) ( 224 416 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 90 1 1
( 224 416 16 ) ( 224 512 16 ) ( 464 416 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 90 1 1
( 464 512 16 ) ( 224 512 16 ) ( 464 512 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 180 1 1
( 448 416 16 ) ( 448 512 16 ) ( 448 416 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 0 1 -1
}
// brush 218
{
( 224 416 0 ) ( 224 512 0 ) ( 224 416 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 0 1 -1
( 320 496 16 ) ( 320 496 0 ) ( 80 496 16 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 180 1 1
( 320 416 0 ) ( 320 512 0 ) ( 80 416 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 180 1 1
( 80 416 16 ) ( 80 512 16 ) ( 320 416 16 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 0 1 1
( 320 512 16 ) ( 80 512 16 ) ( 320 512 0 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 0 ] 270 1 1
( 304 416 16 ) ( 304 512 16 ) ( 304 416 0 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 0 ] 270 1 -1
}
// brush 219
{
( 128 -464 40 ) ( 128 -368 40 ) ( 128 -464 56 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 8 ] 270 1 -1
( -48 -472 56 ) ( 192 -472 56 ) ( -48 -472 40 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 8 ] 90 1 1
( 192 -464 48 ) ( 192 -368 48 ) ( -48 -464 48 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 180 1 1
( -48 -464 56 ) ( -48 -368 56 ) ( 192 -464 56 ) Floors/Floor17 [ 0 -1 0 0 ] [ -1 0 0 0 ] 0 1 1
( 192 -368 56 ) ( -48 -368 56 ) ( 192 -368 40 ) Floors/Floor17 [ 1 0 0 0 ] [ 0 0 -1 8 ] 270 1 1
( 192 -464 56 ) ( 192 -368 56 ) ( 192 -464 40 ) Floors/Floor17 [ 0 -1 0 0 ] [ 0 0 1 8 ] 270 1 -1
}
}
// entity 1
{

View file

@ -0,0 +1,20 @@
[gd_scene load_steps=5 format=3 uid="uid://dxxvuku3o1ls"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_oxjqx"]
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/Explosion_Harmless_Small_3D.tres" id="2_lv33e"]
[ext_resource type="PackedScene" uid="uid://cllgj3yoqvpko" path="res://3D/BlockbenchModels/Box/Box_Large_Red.gltf" id="3_oxjqx"]
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(2.00131, 1.52334, 2.01245)
[node name="BoxRed" type="StaticBody3D" groups=["Destroyable"]]
collision_layer = 16
collision_mask = 0
script = ExtResource("1_oxjqx")
ExplosionData = ExtResource("2_lv33e")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00532529, 0.759675, -0.00402835)
shape = SubResource("BoxShape3D_hsg1w")
[node name="blockbench_export" parent="." instance=ExtResource("3_oxjqx")]

BIN
textures/Manual/Chevron.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
textures/Manual/Chevron.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6xktac803mr3"
path="res://.godot/imported/Chevron.png-3849402347a0f1a60fae6fd6f0705e58.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://textures/Manual/Chevron.png"
dest_files=["res://.godot/imported/Chevron.png-3849402347a0f1a60fae6fd6f0705e58.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View file

@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://dfs1tc2ry78pb"]
[ext_resource type="Texture2D" uid="uid://c6xktac803mr3" path="res://textures/Manual/Chevron.png" id="1_ctj70"]
[resource]
albedo_texture = ExtResource("1_ctj70")
metallic_specular = 0.0
texture_filter = 2