Bullet spawners in editor and bullets come out at the spanwer position

This commit is contained in:
Marco 2025-07-09 15:05:50 +02:00
commit b64e096661
16 changed files with 288 additions and 169 deletions

View file

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://cy0telb0x1l4k"]
[ext_resource type="Script" uid="uid://6o4wbl0iau0v" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_qpt1x"]
[resource]
script = ExtResource("1_qpt1x")
classname = "ScriptPath"
description = "Path of a script"
class_properties = {
"script_path": ""
}
class_property_descriptions = {
"script_path": "The path or UID of the script"
}
metadata/_custom_type_script = "uid://6o4wbl0iau0v"

View file

@ -0,0 +1,21 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=5 format=3 uid="uid://0u5qbphjq045"]
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_i10vt"]
[ext_resource type="Script" uid="uid://6o4wbl0iau0v" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_y6kld"]
[ext_resource type="Resource" uid="uid://c1utxplehq2jl" path="res://3D/TrenchBroom/EntityDefinitions/base/targetname_base.tres" id="2_xu050"]
[ext_resource type="Resource" uid="uid://cy0telb0x1l4k" path="res://3D/TrenchBroom/EntityDefinitions/base/Script_path.tres" id="3_2wrec"]
[resource]
script = ExtResource("1_y6kld")
classname = "Emitter"
description = "Base Emitter"
base_classes = Array[Resource]([ExtResource("1_i10vt"), ExtResource("2_xu050"), ExtResource("3_2wrec")])
class_properties = {
"emit_on_start": false,
"invert_signal": false
}
class_property_descriptions = {
"emit_on_start": "If true the emitter starts immediately",
"invert_signal": "Invert enable and disable signals"
}
metadata/_custom_type_script = "uid://6o4wbl0iau0v"