Mapping and models

This commit is contained in:
Marco 2025-09-17 14:47:33 +02:00
commit aa17c965d5
77 changed files with 3047 additions and 1403 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,42 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dccywtfbs7h8o"
path="res://.godot/imported/Box_Blue.gltf-495d3958fad67997fcee095f2ecaa0cf.scn"
[deps]
source_file="res://3D/BlockbenchModels/Box/BoxTallBlue/Box_Blue.gltf"
dest_files=["res://.godot/imported/Box_Blue.gltf-495d3958fad67997fcee095f2ecaa0cf.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
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

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

Binary file not shown.

View file

@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bgk6mbtnp6d7h"
path="res://.godot/imported/Box_Blue_0.png-78a8eea90b8b47f70752ba7813cb08aa.ctex"
metadata={
"vram_texture": false
}
generator_parameters={
"md5": "29ec1695abcb89f19b86869589f0dcde"
}
[deps]
source_file="res://3D/BlockbenchModels/Box/BoxTallBlue/Box_Blue_0.png"
dest_files=["res://.godot/imported/Box_Blue_0.png-78a8eea90b8b47f70752ba7813cb08aa.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,42 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://ry8fwoju3alh"
path="res://.godot/imported/Box_Tall_Blue.gltf-32c95a0a3f759faa6c65210991a4376b.scn"
[deps]
source_file="res://3D/BlockbenchModels/Box/BoxTallBlue/Box_Tall_Blue.gltf"
dest_files=["res://.godot/imported/Box_Tall_Blue.gltf-32c95a0a3f759faa6c65210991a4376b.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
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

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

Binary file not shown.

View file

@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://vfs5f07o0vgg"
path="res://.godot/imported/Box_Tall_Blue_0.png-4245332dc40657073db136295eb1d4c3.ctex"
metadata={
"vram_texture": false
}
generator_parameters={
"md5": "e364f7ef729ee877b8a93d8b0ae47b6b"
}
[deps]
source_file="res://3D/BlockbenchModels/Box/BoxTallBlue/Box_Tall_Blue_0.png"
dest_files=["res://.godot/imported/Box_Tall_Blue_0.png-4245332dc40657073db136295eb1d4c3.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

Binary file not shown.

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ceaf26odb81i1"
path="res://.godot/imported/Box_Tall_Blue_Texture.png-1b13698d1dfb1045bfa80a879751c4ee.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://3D/BlockbenchModels/Box/BoxTallBlue/Box_Tall_Blue_Texture.png"
dest_files=["res://.godot/imported/Box_Tall_Blue_Texture.png-1b13698d1dfb1045bfa80a879751c4ee.ctex"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,51 @@
[gd_scene load_steps=9 format=3 uid="uid://cf7jo7q71ucli"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_iyotb"]
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/3D/Explosion_Harmless_Small_3D.tres" id="2_f87s5"]
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_yhe02"]
[ext_resource type="PackedScene" uid="uid://ry8fwoju3alh" path="res://3D/BlockbenchModels/Box/BoxTallBlue/Box_Tall_Blue.gltf" id="4_iyotb"]
[ext_resource type="Script" uid="uid://hkmutmmjqh1e" path="res://Scripts/Actors/3D/PropGravityModule3D.cs" id="5_jnstp"]
[sub_resource type="Resource" id="Resource_0ktp8"]
script = ExtResource("3_yhe02")
DamageType = 4
Attribute = 2
metadata/_custom_type_script = "uid://ddsqqfx1usc3j"
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(1.0160522, 1.1501389, 1.0269775)
[sub_resource type="BoxShape3D" id="BoxShape3D_0ktp8"]
size = Vector3(1.0121155, 0.09439087, 1.1526518)
[node name="BoxBlueTall" type="StaticBody3D" groups=["Destroyable"]]
collision_layer = 16
collision_mask = 0
axis_lock_linear_x = true
axis_lock_linear_z = true
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
script = ExtResource("1_iyotb")
Health = 8.0
ExplosionData = ExtResource("2_f87s5")
DamageResistances = Array[ExtResource("3_yhe02")]([SubResource("Resource_0ktp8")])
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.003509529, 0.0031622052, 0.0022582859)
shape = SubResource("BoxShape3D_hsg1w")
[node name="blockbench_export2" parent="." instance=ExtResource("4_iyotb")]
[node name="Node" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 17
script = ExtResource("5_jnstp")
FallingSpeed = -2.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Node"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.01399231, -0.5570252, 0.0049414635)
shape = SubResource("BoxShape3D_0ktp8")
[connection signal="body_entered" from="Node" to="Node" method="OnBodyEntered"]
[connection signal="body_exited" from="Node" to="Node" method="OnBodyExited"]

View file

@ -0,0 +1,21 @@
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://bhkn5vwemx7nk"]
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_bbaxn"]
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_503pb"]
[ext_resource type="PackedScene" uid="uid://cf7jo7q71ucli" path="res://3D/Scenes/Props/Box_3D_Blue_Tall.tscn" id="3_bbaxn"]
[ext_resource type="Script" uid="uid://ldfqjtq0br35" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="4_bbaxn"]
[resource]
script = ExtResource("4_bbaxn")
target_map_editor = 1
rotation_offset = Vector3(0, 180, 0)
scene_file = ExtResource("3_bbaxn")
apply_rotation_on_map_build = false
apply_scale_on_map_build = false
classname = "actor_box_blue_tall"
description = "Tall Blue Box"
base_classes = Array[Resource]([ExtResource("1_bbaxn"), ExtResource("2_503pb")])
meta_properties = {
"model": "\"3D/MapModels/actor_box_blue_tall.glb\"",
"size": AABB(-8, -8, -9, 8, 8, 9)
}

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=51 format=3 uid="uid://b700sa4be6dfa"]
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=52 format=3 uid="uid://b700sa4be6dfa"]
[ext_resource type="Resource" uid="uid://ia1t5p4mhom3" path="res://3D/TrenchBroom/EntityDefinitions/point/lights/light_omni.tres" id="1_7vcj1"]
[ext_resource type="Script" uid="uid://drlmgulwbjwqu" path="res://addons/func_godot/src/fgd/func_godot_fgd_file.gd" id="1_lykim"]
@ -50,7 +50,8 @@
[ext_resource type="Resource" uid="uid://dvpi4kx2visc0" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/Actor_Level_Teleporter.tres" id="47_pa845"]
[ext_resource type="Resource" uid="uid://pwaweics6iqm" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/actor_Filing_Cabinet.tres" id="48_lb3ub"]
[ext_resource type="Resource" uid="uid://umbceo5tcxni" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/actor_chair.tres" id="49_8hbdx"]
[ext_resource type="Resource" uid="uid://bhkn5vwemx7nk" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/actor_box_blue_tall.tres" id="50_xpy40"]
[resource]
script = ExtResource("1_lykim")
entity_definitions = Array[Resource]([ExtResource("1_7vcj1"), ExtResource("2_u7uvb"), ExtResource("3_u7uvb"), ExtResource("4_1nmxk"), ExtResource("5_ljb2x"), ExtResource("6_seuvu"), ExtResource("7_fmwex"), ExtResource("8_c8m8m"), ExtResource("9_14sjf"), ExtResource("10_xik3w"), ExtResource("11_dgiqm"), ExtResource("12_1teik"), ExtResource("13_f0hti"), ExtResource("14_6ld6e"), ExtResource("15_g8j5j"), ExtResource("16_7h4of"), ExtResource("17_m3sbm"), ExtResource("18_m3sbm"), ExtResource("19_hvhb8"), ExtResource("20_3v5us"), ExtResource("21_g67cj"), ExtResource("22_iy67w"), ExtResource("23_b5lmu"), ExtResource("24_ndas4"), ExtResource("25_n7wsi"), ExtResource("26_v48k5"), ExtResource("27_ombvk"), ExtResource("28_31lma"), ExtResource("29_louv0"), ExtResource("30_wfgfu"), ExtResource("31_elv2e"), ExtResource("32_elv2e"), ExtResource("33_aawmv"), ExtResource("34_wy0ht"), ExtResource("35_3jqmy"), ExtResource("36_p5b6l"), ExtResource("37_53o7h"), ExtResource("38_mdgca"), ExtResource("39_d6b4f"), ExtResource("40_l3pck"), ExtResource("41_q8hab"), ExtResource("42_ekplg"), ExtResource("43_d7qk0"), ExtResource("44_k6g2u"), ExtResource("45_b4ckg"), ExtResource("46_dyoc0"), ExtResource("47_pa845"), ExtResource("48_lb3ub"), ExtResource("49_8hbdx")])
entity_definitions = Array[Resource]([ExtResource("1_7vcj1"), ExtResource("2_u7uvb"), ExtResource("3_u7uvb"), ExtResource("4_1nmxk"), ExtResource("5_ljb2x"), ExtResource("6_seuvu"), ExtResource("7_fmwex"), ExtResource("8_c8m8m"), ExtResource("9_14sjf"), ExtResource("10_xik3w"), ExtResource("11_dgiqm"), ExtResource("12_1teik"), ExtResource("13_f0hti"), ExtResource("14_6ld6e"), ExtResource("15_g8j5j"), ExtResource("16_7h4of"), ExtResource("17_m3sbm"), ExtResource("18_m3sbm"), ExtResource("19_hvhb8"), ExtResource("20_3v5us"), ExtResource("21_g67cj"), ExtResource("22_iy67w"), ExtResource("23_b5lmu"), ExtResource("24_ndas4"), ExtResource("25_n7wsi"), ExtResource("26_v48k5"), ExtResource("27_ombvk"), ExtResource("28_31lma"), ExtResource("29_louv0"), ExtResource("30_wfgfu"), ExtResource("31_elv2e"), ExtResource("32_elv2e"), ExtResource("33_aawmv"), ExtResource("34_wy0ht"), ExtResource("35_3jqmy"), ExtResource("36_p5b6l"), ExtResource("37_53o7h"), ExtResource("38_mdgca"), ExtResource("39_d6b4f"), ExtResource("40_l3pck"), ExtResource("41_q8hab"), ExtResource("42_ekplg"), ExtResource("43_d7qk0"), ExtResource("44_k6g2u"), ExtResource("45_b4ckg"), ExtResource("46_dyoc0"), ExtResource("47_pa845"), ExtResource("48_lb3ub"), ExtResource("49_8hbdx"), ExtResource("50_xpy40")])