diff --git a/project/assets/models/environment/corner_stones_a.blend b/project/assets/models/environment/corner_stones_a.blend index e31caf0d..4250fbc8 100644 Binary files a/project/assets/models/environment/corner_stones_a.blend and b/project/assets/models/environment/corner_stones_a.blend differ diff --git a/project/assets/models/environment/corner_stones_a.blend.import b/project/assets/models/environment/corner_stones_a.blend.import index 1e2cb633..25957425 100644 --- a/project/assets/models/environment/corner_stones_a.blend.import +++ b/project/assets/models/environment/corner_stones_a.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/door_2x3.blend b/project/assets/models/environment/door_2x3.blend index 371a4a4a..89e9b4b2 100644 Binary files a/project/assets/models/environment/door_2x3.blend and b/project/assets/models/environment/door_2x3.blend differ diff --git a/project/assets/models/environment/door_2x3.blend.import b/project/assets/models/environment/door_2x3.blend.import index ba35c5e9..dcadd0d4 100644 --- a/project/assets/models/environment/door_2x3.blend.import +++ b/project/assets/models/environment/door_2x3.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/reinforcement_center.blend b/project/assets/models/environment/reinforcement_center.blend index db9986db..955b4a42 100644 Binary files a/project/assets/models/environment/reinforcement_center.blend and b/project/assets/models/environment/reinforcement_center.blend differ diff --git a/project/assets/models/environment/reinforcement_center.blend.import b/project/assets/models/environment/reinforcement_center.blend.import index 72f4c67f..8f2d833e 100644 --- a/project/assets/models/environment/reinforcement_center.blend.import +++ b/project/assets/models/environment/reinforcement_center.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/reinforcement_edge.blend b/project/assets/models/environment/reinforcement_edge.blend index 24bb9788..ffb3fbca 100644 Binary files a/project/assets/models/environment/reinforcement_edge.blend and b/project/assets/models/environment/reinforcement_edge.blend differ diff --git a/project/assets/models/environment/reinforcement_edge.blend.import b/project/assets/models/environment/reinforcement_edge.blend.import index cb4e45bd..f7f4c3f2 100644 --- a/project/assets/models/environment/reinforcement_edge.blend.import +++ b/project/assets/models/environment/reinforcement_edge.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/rolling_gate_left_2x3.blend b/project/assets/models/environment/rolling_gate_left_2x3.blend index 2e0ac85c..4843cdb8 100644 Binary files a/project/assets/models/environment/rolling_gate_left_2x3.blend and b/project/assets/models/environment/rolling_gate_left_2x3.blend differ diff --git a/project/assets/models/environment/rolling_gate_left_2x3.blend.import b/project/assets/models/environment/rolling_gate_left_2x3.blend.import index f2763a64..10b3d458 100644 --- a/project/assets/models/environment/rolling_gate_left_2x3.blend.import +++ b/project/assets/models/environment/rolling_gate_left_2x3.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/rolling_gate_right_2x3.blend b/project/assets/models/environment/rolling_gate_right_2x3.blend index 8fa3adc5..7191afb6 100644 Binary files a/project/assets/models/environment/rolling_gate_right_2x3.blend and b/project/assets/models/environment/rolling_gate_right_2x3.blend differ diff --git a/project/assets/models/environment/rolling_gate_right_2x3.blend.import b/project/assets/models/environment/rolling_gate_right_2x3.blend.import index 0a000ba0..13315c81 100644 --- a/project/assets/models/environment/rolling_gate_right_2x3.blend.import +++ b/project/assets/models/environment/rolling_gate_right_2x3.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/roof_half_slope.blend.import b/project/assets/models/environment/roof_half_slope.blend.import index fd7ae997..e27c182e 100644 --- a/project/assets/models/environment/roof_half_slope.blend.import +++ b/project/assets/models/environment/roof_half_slope.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/roof_half_slope_bottom.blend b/project/assets/models/environment/roof_half_slope_bottom.blend index f8eea4a0..1cf8ccb0 100644 Binary files a/project/assets/models/environment/roof_half_slope_bottom.blend and b/project/assets/models/environment/roof_half_slope_bottom.blend differ diff --git a/project/assets/models/environment/roof_half_slope_bottom.blend.import b/project/assets/models/environment/roof_half_slope_bottom.blend.import index 2c41e7b4..ecacc14b 100644 --- a/project/assets/models/environment/roof_half_slope_bottom.blend.import +++ b/project/assets/models/environment/roof_half_slope_bottom.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/roof_half_slope_top.blend b/project/assets/models/environment/roof_half_slope_top.blend index faf218b6..35b018d4 100644 Binary files a/project/assets/models/environment/roof_half_slope_top.blend and b/project/assets/models/environment/roof_half_slope_top.blend differ diff --git a/project/assets/models/environment/roof_half_slope_top.blend.import b/project/assets/models/environment/roof_half_slope_top.blend.import index aa7f8c7c..87bb120d 100644 --- a/project/assets/models/environment/roof_half_slope_top.blend.import +++ b/project/assets/models/environment/roof_half_slope_top.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/wall_2x1.blend b/project/assets/models/environment/wall_2x1.blend index 89f4a41b..b749766a 100644 Binary files a/project/assets/models/environment/wall_2x1.blend and b/project/assets/models/environment/wall_2x1.blend differ diff --git a/project/assets/models/environment/wall_2x1.blend.import b/project/assets/models/environment/wall_2x1.blend.import index 7dacccad..71de356b 100644 --- a/project/assets/models/environment/wall_2x1.blend.import +++ b/project/assets/models/environment/wall_2x1.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/wall_2x3.blend.import b/project/assets/models/environment/wall_2x3.blend.import index d2513b91..1179c18d 100644 --- a/project/assets/models/environment/wall_2x3.blend.import +++ b/project/assets/models/environment/wall_2x3.blend.import @@ -33,14 +33,13 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" _subresources={ "nodes": { "PATH:Wall2x3": { -"generate/physics": true, "physics/layer": 3, "physics/mask": 3 } diff --git a/project/assets/models/environment/wall_top_half_slope.blend b/project/assets/models/environment/wall_top_half_slope.blend index 8fbdf5b5..ce6d09e0 100644 Binary files a/project/assets/models/environment/wall_top_half_slope.blend and b/project/assets/models/environment/wall_top_half_slope.blend differ diff --git a/project/assets/models/environment/wall_top_half_slope.blend.import b/project/assets/models/environment/wall_top_half_slope.blend.import index 6ce682da..4f82ddfc 100644 --- a/project/assets/models/environment/wall_top_half_slope.blend.import +++ b/project/assets/models/environment/wall_top_half_slope.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/assets/models/environment/wall_top_half_slope_top.blend b/project/assets/models/environment/wall_top_half_slope_top.blend index 008fb7d6..13c209f8 100644 Binary files a/project/assets/models/environment/wall_top_half_slope_top.blend and b/project/assets/models/environment/wall_top_half_slope_top.blend differ diff --git a/project/assets/models/environment/wall_top_half_slope_top.blend.import b/project/assets/models/environment/wall_top_half_slope_top.blend.import index 0dc7d69e..80fd1a82 100644 --- a/project/assets/models/environment/wall_top_half_slope_top.blend.import +++ b/project/assets/models/environment/wall_top_half_slope_top.blend.import @@ -33,7 +33,7 @@ animation/fps=30 animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false -import_script/path="" +import_script/path="uid://cmispk7fiiqh6" materials/extract=0 materials/extract_format=0 materials/extract_path="" diff --git a/project/import_scripts/basic_environment_prop.gd b/project/import_scripts/basic_environment_prop.gd new file mode 100644 index 00000000..28964a7d --- /dev/null +++ b/project/import_scripts/basic_environment_prop.gd @@ -0,0 +1,13 @@ +@tool +extends EditorScenePostImport + +func import_node_recursive(node : Node): + if node != null: + if node is StaticBody3D: + (node as StaticBody3D).collision_layer = 0b11 + for child in node.get_children(): + import_node_recursive(child) + +func _post_import(scene: Node) -> Object: + import_node_recursive(scene) + return scene # Return the modified root node when you're done. diff --git a/project/import_scripts/basic_environment_prop.gd.uid b/project/import_scripts/basic_environment_prop.gd.uid new file mode 100644 index 00000000..4c73693c --- /dev/null +++ b/project/import_scripts/basic_environment_prop.gd.uid @@ -0,0 +1 @@ +uid://cmispk7fiiqh6