mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-18 20:13:47 +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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue