Rotate bullet pattern to face parent

This commit is contained in:
Marco 2025-07-09 12:00:23 +02:00
commit 7d267c406d
19 changed files with 1325 additions and 1245 deletions

View file

@ -8,26 +8,14 @@
[resource]
script = ExtResource("3_y02cg")
target_map_editor = 0
models_sub_folder = ""
scale_expression = ""
generate_size_property = false
target_map_editor = 1
rotation_offset = Vector3(0, 180, 0)
generate_gd_ignore_file = false
scene_file = ExtResource("2_5ms1a")
apply_rotation_on_map_build = true
apply_scale_on_map_build = false
classname = "actor_controlpad"
description = "Control Pad"
func_godot_internal = false
base_classes = Array[Resource]([ExtResource("1_5ms1a"), ExtResource("2_65tcb"), ExtResource("3_ybdcc")])
class_properties = {}
class_property_descriptions = {}
auto_apply_to_matching_node_properties = false
meta_properties = {
"size": AABB(-4, -4, -4, 4, 4, 4),
"studio": "\"3D\\MapModels/actor_controlpad.glb\""
"size": AABB(-4, -4, -4, 4, 4, 4)
}
node_class = ""
name_property = ""
metadata/_custom_type_script = "uid://c83r7t467hm4m"

View file

@ -0,0 +1,26 @@
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://cy6802obllcmv"]
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_7mq2y"]
[ext_resource type="Resource" uid="uid://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="2_4hikn"]
[ext_resource type="PackedScene" uid="uid://dvmkfm2l3vcf7" path="res://3D/Scenes/Props/Valve_3D.tscn" id="4_7mq2y"]
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="5_hgjgd"]
[resource]
script = ExtResource("5_hgjgd")
target_map_editor = 1
rotation_offset = Vector3(0, 180, 0)
scene_file = ExtResource("4_7mq2y")
apply_scale_on_map_build = false
classname = "actor_valve"
description = "Valve"
base_classes = Array[Resource]([ExtResource("1_7mq2y"), ExtResource("2_4hikn")])
class_properties = {
"start_enabled": false
}
class_property_descriptions = {
"start_enabled": "Starts open?"
}
meta_properties = {
"size": AABB(-8, -8, -4, 8, 8, 4)
}
metadata/_custom_type_script = "uid://c83r7t467hm4m"