Models and mapping

This commit is contained in:
Marco 2025-10-10 10:15:08 +02:00
commit 9f644c9c5c
16 changed files with 1060 additions and 110 deletions

View file

@ -0,0 +1,19 @@
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://ctjw31lxc8gj1"]
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_4cmfm"]
[ext_resource type="PackedScene" uid="uid://q1qxucg2hesk" path="res://3D/Scenes/Props/WaterCooler_3D.tscn" id="2_4cmfm"]
[ext_resource type="Script" uid="uid://ldfqjtq0br35" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_hntxc"]
[resource]
script = ExtResource("3_hntxc")
target_map_editor = 1
rotation_offset = Vector3(0, 180, 0)
scene_file = ExtResource("2_4cmfm")
apply_scale_on_map_build = false
classname = "actor_watercooler"
description = "Water Cooler"
base_classes = Array[Resource]([ExtResource("1_4cmfm")])
meta_properties = {
"model": "\"3D/MapModels/actor_locker.glb\"",
"size": AABB(-4, -8, -12, 4, 8, 12)
}

View file

@ -0,0 +1,21 @@
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=5 format=3 uid="uid://cpti2q5cb6wgw"]
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_62h6k"]
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_scmlj"]
[ext_resource type="PackedScene" uid="uid://bcoq4lutgg70g" path="res://3D/Scenes/Props/Box_3D_Wood_Tall.tscn" id="3_62h6k"]
[ext_resource type="Script" uid="uid://ldfqjtq0br35" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="4_tjcj0"]
[resource]
script = ExtResource("4_tjcj0")
target_map_editor = 1
rotation_offset = Vector3(0, 180, 0)
scene_file = ExtResource("3_62h6k")
apply_rotation_on_map_build = false
apply_scale_on_map_build = false
classname = "actor_box_wood_tall"
description = "Tall Wooden Box"
base_classes = Array[Resource]([ExtResource("1_62h6k"), ExtResource("2_scmlj")])
meta_properties = {
"model": "\"3D/MapModels/actor_box_blue_tall.glb\"",
"size": AABB(-8, -8, -9, 8, 8, 9)
}