mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 17:53:46 +00:00
Enemy TB entities
This commit is contained in:
parent
05047da6b3
commit
4c7f44abf9
16 changed files with 323 additions and 201 deletions
23
3D/TrenchBroom/EntityDefinitions/base/enemy_base.tres
Normal file
23
3D/TrenchBroom/EntityDefinitions/base/enemy_base.tres
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=4 format=3 uid="uid://cwrcrupms7h4d"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ck575aqs1sbrb" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_5bcmp"]
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_f3dmh"]
|
||||
[ext_resource type="Resource" uid="uid://c1utxplehq2jl" path="res://3D/TrenchBroom/EntityDefinitions/base/targetname_base.tres" id="2_foxys"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_5bcmp")
|
||||
classname = "Enemy"
|
||||
base_classes = Array[Resource]([ExtResource("1_f3dmh"), ExtResource("2_foxys")])
|
||||
class_properties = {
|
||||
"autospawn": true,
|
||||
"respource_path": ""
|
||||
}
|
||||
class_property_descriptions = {
|
||||
"autospawn": "Whether to spawn automatically or not",
|
||||
"resource_path": "Path to the enemy resource"
|
||||
}
|
||||
meta_properties = {
|
||||
"color": Color(0.91852677, 0.5792049, 0.5792049, 1),
|
||||
"size": AABB(-4, -4, 6, 4, 4, 6)
|
||||
}
|
||||
metadata/_custom_type_script = "uid://ck575aqs1sbrb"
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://cd8kf5wey5n8n"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://cd8kf5wey5n8n"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_yd0db"]
|
||||
[ext_resource type="Resource" uid="uid://c1utxplehq2jl" path="res://3D/TrenchBroom/EntityDefinitions/base/targetname_base.tres" id="2_yd0db"]
|
||||
[ext_resource type="Resource" uid="uid://cwrcrupms7h4d" path="res://3D/TrenchBroom/EntityDefinitions/base/enemy_base.tres" id="1_nx3pd"]
|
||||
[ext_resource type="Script" uid="uid://cxsqwtsqd8w33" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="3_rwtar"]
|
||||
[ext_resource type="Script" uid="uid://00rbjdb4mnb0" path="res://Scripts/Actors/EnemyMarker3D.cs" id="4_7cqxf"]
|
||||
|
||||
|
|
@ -12,15 +11,7 @@ apply_rotation_on_map_build = false
|
|||
apply_scale_on_map_build = false
|
||||
classname = "marker_spawn_enemy"
|
||||
description = "Enemy Spawn Marker"
|
||||
base_classes = Array[Resource]([ExtResource("1_yd0db"), ExtResource("2_yd0db")])
|
||||
class_properties = {
|
||||
"autospawn": true,
|
||||
"resource_path": ""
|
||||
}
|
||||
class_property_descriptions = {
|
||||
"autospawn": "Whether to spawn automatically or not",
|
||||
"resource_path": "Path to the enemy resource"
|
||||
}
|
||||
base_classes = Array[Resource]([ExtResource("1_nx3pd")])
|
||||
meta_properties = {
|
||||
"color": Color(0.9229911, 0.41614023, 0.21117541, 1),
|
||||
"size": AABB(-4, -4, -6, 4, 4, 6)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://cp6w7rgfgtxlk"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://cp6w7rgfgtxlk"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_4w7c8"]
|
||||
[ext_resource type="Resource" uid="uid://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="2_4yeye"]
|
||||
[ext_resource type="Resource" uid="uid://cwrcrupms7h4d" path="res://3D/TrenchBroom/EntityDefinitions/base/enemy_base.tres" id="1_4w7c8"]
|
||||
[ext_resource type="Script" uid="uid://cxsqwtsqd8w33" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="2_8rpcj"]
|
||||
[ext_resource type="Script" uid="uid://00rbjdb4mnb0" path="res://Scripts/Actors/EnemyMarker3D.cs" id="3_4yeye"]
|
||||
|
||||
|
|
@ -12,17 +11,16 @@ apply_rotation_on_map_build = false
|
|||
apply_scale_on_map_build = false
|
||||
classname = "marker_spawn_enemy_fairy_guard"
|
||||
description = "Fairy Guard Spawn Marker"
|
||||
base_classes = Array[Resource]([ExtResource("1_4w7c8"), ExtResource("2_4yeye")])
|
||||
base_classes = Array[Resource]([ExtResource("1_4w7c8")])
|
||||
class_properties = {
|
||||
"autospawn": true,
|
||||
"resource_path": "res://Resources/Enemies/Fairy_Guard_3D.tres"
|
||||
}
|
||||
class_property_descriptions = {
|
||||
"autospawn": "Whether to spawn automatically or not",
|
||||
"resource_path": "Path to the enemy resource"
|
||||
}
|
||||
meta_properties = {
|
||||
"color": Color(0.9229911, 0.41614023, 0.21117541, 1),
|
||||
"model": "{ \"path\": \"textures\\Markers\\FairyGuard.png\", \"scale\": 1 }",
|
||||
"size": AABB(-4, -4, -6, 4, 4, 6)
|
||||
}
|
||||
node_class = "Marker3D"
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=4 format=3 uid="uid://dxpm148kxfaqp"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://cwrcrupms7h4d" path="res://3D/TrenchBroom/EntityDefinitions/base/enemy_base.tres" id="1_p3l7c"]
|
||||
[ext_resource type="Script" uid="uid://cxsqwtsqd8w33" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="2_660wb"]
|
||||
[ext_resource type="Script" uid="uid://00rbjdb4mnb0" path="res://Scripts/Actors/EnemyMarker3D.cs" id="3_gywpy"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_660wb")
|
||||
script_class = ExtResource("3_gywpy")
|
||||
apply_rotation_on_map_build = false
|
||||
apply_scale_on_map_build = false
|
||||
classname = "marker_spawn_enemy_fairy_small"
|
||||
description = "Small Fairy Spawn Marker"
|
||||
base_classes = Array[Resource]([ExtResource("1_p3l7c")])
|
||||
class_properties = {
|
||||
"resource_path": "res://Resources/Enemies/Base_Fairy_3D.tres"
|
||||
}
|
||||
meta_properties = {
|
||||
"color": Color(0.9229911, 0.41614023, 0.21117541, 1),
|
||||
"model": "{ \"path\": \"textures\\Markers\\FairySmall.png\", \"scale\": 1 }",
|
||||
"size": AABB(-4, -4, -6, 4, 4, 6)
|
||||
}
|
||||
node_class = "Marker3D"
|
||||
metadata/_custom_type_script = "uid://cxsqwtsqd8w33"
|
||||
Loading…
Add table
Add a link
Reference in a new issue