mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 21:41:15 +00:00
Spawn markers in editor
This commit is contained in:
parent
82f4c75ad7
commit
479df3c7c4
8 changed files with 150 additions and 76 deletions
|
|
@ -0,0 +1,29 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 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://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="2_n1lol"]
|
||||
[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"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_rwtar")
|
||||
script_class = ExtResource("4_7cqxf")
|
||||
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_n1lol")])
|
||||
class_properties = {
|
||||
"autospawn": true,
|
||||
"resource_path": ""
|
||||
}
|
||||
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),
|
||||
"size": AABB(-4, -4, -6, 4, 4, 6)
|
||||
}
|
||||
node_class = "Marker3D"
|
||||
metadata/_custom_type_script = "uid://cxsqwtsqd8w33"
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 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="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"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_8rpcj")
|
||||
script_class = ExtResource("3_4yeye")
|
||||
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")])
|
||||
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),
|
||||
"size": AABB(-4, -4, -6, 4, 4, 6)
|
||||
}
|
||||
node_class = "Marker3D"
|
||||
metadata/_custom_type_script = "uid://cxsqwtsqd8w33"
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://n7nb0h11j0nh"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_ipnjc"]
|
||||
[ext_resource type="Resource" uid="uid://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="2_dg4k0"]
|
||||
[ext_resource type="Script" uid="uid://cxsqwtsqd8w33" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="2_e3k6b"]
|
||||
[ext_resource type="Script" uid="uid://b88cmj87g78mx" path="res://Scripts/Actors/ItemMarker3D.cs" id="4_otker"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_e3k6b")
|
||||
script_class = ExtResource("4_otker")
|
||||
apply_rotation_on_map_build = false
|
||||
apply_scale_on_map_build = false
|
||||
classname = "marker_spawn_item"
|
||||
description = "Item Spawn Marker"
|
||||
base_classes = Array[Resource]([ExtResource("1_ipnjc"), ExtResource("2_dg4k0")])
|
||||
class_properties = {
|
||||
"autospawn": true,
|
||||
"resource_path": ""
|
||||
}
|
||||
class_property_descriptions = {
|
||||
"autospawn": "Whether to spawn automatically or not",
|
||||
"resource_path": "Path to the enemy resource"
|
||||
}
|
||||
meta_properties = {
|
||||
"color": Color(0.24138406, 0.36984414, 0.9698661, 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