mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:15:45 +00:00
Chairs and filing cabinets
This commit is contained in:
parent
006cfcacdd
commit
f46d3ad994
22 changed files with 629 additions and 236 deletions
1
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.bbmodel
Normal file
1
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.bbmodel
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"meta":{"format_version":"4.10","model_format":"free","box_uv":false},"name":"Filing_Cabinet","model_identifier":"","visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"timeline_setups":[],"unhandled_root_fields":{},"reexport":{"codec":"gltf","codec_options":{"encoding":"ascii","scale":16,"embed_textures":true,"armature":false,"animations":true},"path":".\\Filing_Cabinet.gltf","enabled":true},"resolution":{"width":64,"height":64},"elements":[{"name":"cuboid","color":0,"origin":[0,-8,0],"rotation":[0,0,0],"export":true,"visibility":true,"locked":false,"render_order":"default","allow_mirror_modeling":true,"vertices":{"gpuK":[6,19,7],"8lPQ":[6,19,-5],"L0Jb":[6,0,7],"dhf9":[6,0,-5],"FTYV":[-6,19,7],"SYtQ":[-6,19,-5],"qn2B":[-6,0,7],"JfAr":[-6,0,-5]},"faces":{"vvBVMamj":{"uv":{"dhf9":[12,19],"8lPQ":[12,0],"L0Jb":[0,19],"gpuK":[0,0]},"vertices":["gpuK","L0Jb","8lPQ","dhf9"],"texture":0},"tlTv3YJN":{"uv":{"JfAr":[13,19],"qn2B":[25,19],"SYtQ":[13,0],"FTYV":[25,0]},"vertices":["FTYV","SYtQ","qn2B","JfAr"],"texture":0},"yVckA07I":{"uv":{"SYtQ":[26,0],"FTYV":[26,12],"8lPQ":[38,0],"gpuK":[38,12]},"vertices":["gpuK","8lPQ","FTYV","SYtQ"],"texture":0},"6ti2ucba":{"uv":{"JfAr":[26,25],"dhf9":[38,25],"qn2B":[26,13],"L0Jb":[38,13]},"vertices":["L0Jb","qn2B","dhf9","JfAr"],"texture":0},"o3STMBUA":{"uv":{"qn2B":[0,39],"L0Jb":[12,39],"FTYV":[0,20],"gpuK":[12,20]},"vertices":["gpuK","FTYV","L0Jb","qn2B"],"texture":0},"QCVWlECM":{"uv":{"JfAr":[25,39],"SYtQ":[25,20],"dhf9":[13,39],"8lPQ":[13,20]},"vertices":["8lPQ","dhf9","SYtQ","JfAr"],"texture":0}},"type":"mesh","uuid":"ee5c8074-0560-f0dc-3dfa-b9d66715fdc8"}],"outliner":["ee5c8074-0560-f0dc-3dfa-b9d66715fdc8"],"textures":[{"path":"D:\\Maddo\\cirnogodot\\3D\\BlockbenchModels\\FilingCabinet\\Filing_Cabinet_Texture.png","name":"Filing_Cabinet_Texture.png","folder":"block","namespace":"","id":"0","group":"","width":64,"height":64,"uv_width":64,"uv_height":64,"particle":false,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"7efa7cf4-7792-0410-796b-7fec1401d071","relative_path":"Filing_Cabinet_Texture.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAXhJREFUeF7tmDFOw0AURO2CKh0S1+EGyQ1yEmpOwg3gBrlOpHSpUgQZAYLG8oy9T1/2pIv0v+fvzFvvyv3j0/O9E36X86mneoSx7FJsMY5p9qqExhjgJEP1CEHapSGAStPRsWMVGkOAkwzVIwRpl4YAKk1Hx45VaAwBTjJUjxCkXYoRYE/YuBEzwKGm8dq/Hh8DnGSonhAAOJAtQOHs6AAAdD0hMmiUNcAZjOohwsk7wE3z4bCfFNDt/aNzvyRPEphZZBPw14Dr28u/MXbH19//mzBgLIQY8L0FZpLarH2RLTCFgGYrmPngGOCeAorxwymg1JO1NgHKkKs0QL0HKIaRtTYB6j2AXJSitYgBOQVGHPi5CCmpkLUhwD0GN/8SVDBd5TEYAwQHShMgrGOVpWXv6JTbMYByuqpOCKiaDDVXCKCcrqoTAqomQ80VAiinq+qEgKrJUHOFAMrpqjohoGoy1FwhgHK6qk4IqJoMNVcIoJyuqrN5Aj4BvQK6UC/ePBEAAAAASUVORK5CYII="}],"export_options":{"gltf":{"encoding":"ascii","scale":16,"embed_textures":true,"armature":false,"animations":true}}}
|
||||
1
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.gltf
Normal file
1
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.gltf
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"asset":{"version":"2.0","generator":"Blockbench 4.12.6 glTF exporter"},"scenes":[{"nodes":[1],"name":"blockbench_export"}],"scene":0,"nodes":[{"translation":[0,-0.5,0],"name":"cuboid","mesh":0},{"children":[0]}],"bufferViews":[{"buffer":0,"byteOffset":0,"byteLength":288,"target":34962,"byteStride":12},{"buffer":0,"byteOffset":288,"byteLength":288,"target":34962,"byteStride":12},{"buffer":0,"byteOffset":576,"byteLength":192,"target":34962,"byteStride":8},{"buffer":0,"byteOffset":768,"byteLength":72,"target":34963}],"buffers":[{"byteLength":840,"uri":"data:application/octet-stream;base64,AADAPgAAmD8AAOA+AADAPgAAAAAAAOA+AADAPgAAmD8AAKC+AADAPgAAAAAAAKC+AADAvgAAmD8AAOA+AADAvgAAmD8AAKC+AADAvgAAAAAAAOA+AADAvgAAAAAAAKC+AADAPgAAmD8AAOA+AADAPgAAmD8AAKC+AADAvgAAmD8AAOA+AADAvgAAmD8AAKC+AADAPgAAAAAAAOA+AADAvgAAAAAAAOA+AADAPgAAAAAAAKC+AADAvgAAAAAAAKC+AADAPgAAmD8AAOA+AADAvgAAmD8AAOA+AADAPgAAAAAAAOA+AADAvgAAAAAAAOA+AADAPgAAmD8AAKC+AADAPgAAAAAAAKC+AADAvgAAmD8AAKC+AADAvgAAAAAAAKC+AACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAAAAAACYPgAAQD4AAAAAAABAPgAAmD4AAMg+AAAAAAAAUD4AAAAAAADIPgAAmD4AAFA+AACYPgAAGD8AAEA+AAAYPwAAAAAAANA+AABAPgAA0D4AAAAAAAAYPwAAUD4AANA+AABQPgAAGD8AAMg+AADQPgAAyD4AAEA+AACgPgAAAAAAAKA+AABAPgAAHD8AAAAAAAAcPwAAUD4AAKA+AABQPgAAHD8AAMg+AACgPgAAyD4AABw/AgAAAAEAAgABAAMABgAEAAUABgAFAAcACgAIAAkACgAJAAsADgAMAA0ADgANAA8AEgAQABEAEgARABMAFgAUABUAFgAVABcA"}],"accessors":[{"bufferView":0,"componentType":5126,"count":24,"max":[0.375,1.1875,0.4375],"min":[-0.375,0,-0.3125],"type":"VEC3"},{"bufferView":1,"componentType":5126,"count":24,"max":[1,1,1],"min":[-1,-1,-1],"type":"VEC3"},{"bufferView":2,"componentType":5126,"count":24,"max":[0.59375,0.609375],"min":[0,0],"type":"VEC2"},{"bufferView":3,"componentType":5123,"count":36,"max":[23],"min":[0],"type":"SCALAR"}],"materials":[{"pbrMetallicRoughness":{"metallicFactor":0,"roughnessFactor":1,"baseColorTexture":{"index":0}},"alphaMode":"MASK","alphaCutoff":0.05,"doubleSided":true}],"textures":[{"sampler":0,"source":0,"name":"Filing_Cabinet_Texture"}],"samplers":[{"magFilter":9728,"minFilter":9728,"wrapS":33071,"wrapT":33071}],"images":[{"mimeType":"image/png","uri":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAXhJREFUeF7tmDFOw0AURO2CKh0S1+EGyQ1yEmpOwg3gBrlOpHSpUgQZAYLG8oy9T1/2pIv0v+fvzFvvyv3j0/O9E36X86mneoSx7FJsMY5p9qqExhjgJEP1CEHapSGAStPRsWMVGkOAkwzVIwRpl4YAKk1Hx45VaAwBTjJUjxCkXYoRYE/YuBEzwKGm8dq/Hh8DnGSonhAAOJAtQOHs6AAAdD0hMmiUNcAZjOohwsk7wE3z4bCfFNDt/aNzvyRPEphZZBPw14Dr28u/MXbH19//mzBgLIQY8L0FZpLarH2RLTCFgGYrmPngGOCeAorxwymg1JO1NgHKkKs0QL0HKIaRtTYB6j2AXJSitYgBOQVGHPi5CCmpkLUhwD0GN/8SVDBd5TEYAwQHShMgrGOVpWXv6JTbMYByuqpOCKiaDDVXCKCcrqoTAqomQ80VAiinq+qEgKrJUHOFAMrpqjohoGoy1FwhgHK6qk4IqJoMNVcIoJyuqrN5Aj4BvQK6UC/ePBEAAAAASUVORK5CYII="}],"meshes":[{"primitives":[{"mode":4,"attributes":{"POSITION":0,"NORMAL":1,"TEXCOORD_0":2},"indices":3,"material":0}]}]}
|
||||
42
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.gltf.import
Normal file
42
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.gltf.import
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://c8wundtddmiaa"
|
||||
path="res://.godot/imported/Filing_Cabinet.gltf-94c85161b1f66cc84327f1177d4223a5.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.gltf"
|
||||
dest_files=["res://.godot/imported/Filing_Cabinet.gltf-94c85161b1f66cc84327f1177d4223a5.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
BIN
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet_0.png
(Stored with Git LFS)
Normal file
BIN
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet_0.png
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,43 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c7pxfqdtqi08b"
|
||||
path="res://.godot/imported/Filing_Cabinet_0.png-92312ac5ca81c54989abf05ee133dc29.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "3366cd3e2f85ed8336c30dcb6b9ea249"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://3D/BlockbenchModels/FilingCabinet/Filing_Cabinet_0.png"
|
||||
dest_files=["res://.godot/imported/Filing_Cabinet_0.png-92312ac5ca81c54989abf05ee133dc29.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=3
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet_Texture.png
(Stored with Git LFS)
Normal file
BIN
3D/BlockbenchModels/FilingCabinet/Filing_Cabinet_Texture.png
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://81h8702wfvvr"
|
||||
path="res://.godot/imported/Filing_Cabinet_Texture.png-5fbfd69129547f88879c74a92afc8053.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://3D/BlockbenchModels/FilingCabinet/Filing_Cabinet_Texture.png"
|
||||
dest_files=["res://.godot/imported/Filing_Cabinet_Texture.png-5fbfd69129547f88879c74a92afc8053.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=3
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
3D/MapModels/actor_chair.glb
Normal file
BIN
3D/MapModels/actor_chair.glb
Normal file
Binary file not shown.
BIN
3D/MapModels/actor_filing_cabinet.glb
Normal file
BIN
3D/MapModels/actor_filing_cabinet.glb
Normal file
Binary file not shown.
|
|
@ -509,3 +509,72 @@
|
|||
"classname" "actor_door_1"
|
||||
"origin" "-44 296 32"
|
||||
}
|
||||
// entity 11
|
||||
{
|
||||
"classname" "actor_filing_cabinet"
|
||||
"origin" "-148 264 24"
|
||||
}
|
||||
// entity 12
|
||||
{
|
||||
"classname" "actor_filing_cabinet"
|
||||
"origin" "-148 280 24"
|
||||
}
|
||||
// entity 13
|
||||
{
|
||||
"classname" "actor_table"
|
||||
"origin" "-112 276 20"
|
||||
}
|
||||
// entity 14
|
||||
{
|
||||
"classname" "actor_terminal"
|
||||
"origin" "-112 276 32"
|
||||
"angles" "0 -180 0"
|
||||
}
|
||||
// entity 15
|
||||
{
|
||||
"classname" "actor_table"
|
||||
"origin" "-140 332 20"
|
||||
"angles" "0 90 0"
|
||||
}
|
||||
// entity 16
|
||||
{
|
||||
"classname" "actor_terminal"
|
||||
"origin" "-140 332 28"
|
||||
"angles" "0 90 0"
|
||||
}
|
||||
// entity 17
|
||||
{
|
||||
"classname" "actor_locker"
|
||||
"origin" "-156 380 28"
|
||||
}
|
||||
// entity 18
|
||||
{
|
||||
"classname" "actor_furniture_triangle"
|
||||
"origin" "-134 330 26"
|
||||
}
|
||||
// entity 19
|
||||
{
|
||||
"classname" "actor_furniture_computertower"
|
||||
"origin" "-112 275 27"
|
||||
"angles" "0 180 0"
|
||||
}
|
||||
// entity 20
|
||||
{
|
||||
"classname" "actor_furniture_can"
|
||||
"origin" "-150 278 36"
|
||||
}
|
||||
// entity 21
|
||||
{
|
||||
"classname" "actor_furniture_box"
|
||||
"origin" "-146 266 38"
|
||||
}
|
||||
// entity 22
|
||||
{
|
||||
"classname" "actor_chair"
|
||||
"origin" "-128 276 24"
|
||||
}
|
||||
// entity 23
|
||||
{
|
||||
"classname" "actor_chair"
|
||||
"origin" "-140 342 24"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2573,6 +2573,11 @@
|
|||
}
|
||||
// entity 195
|
||||
{
|
||||
"classname" "actor_filing_cabinet"
|
||||
"origin" "144 712 24"
|
||||
}
|
||||
// entity 196
|
||||
{
|
||||
"classname" "func_group"
|
||||
"_tb_type" "_tb_layer"
|
||||
"_tb_name" "Shrouds"
|
||||
|
|
@ -2580,7 +2585,7 @@
|
|||
"_tb_layer_sort_index" "0"
|
||||
"_tb_layer_hidden" "1"
|
||||
}
|
||||
// entity 196
|
||||
// entity 197
|
||||
{
|
||||
"classname" "func_shroud"
|
||||
"targetname" "secret_001"
|
||||
|
|
@ -2596,7 +2601,7 @@
|
|||
( 128 800 48 ) ( 128 800 49 ) ( 128 801 48 ) Manual/Black [ 0 1 0 0 ] [ 0 0 -1 -4 ] 180 1 1
|
||||
}
|
||||
}
|
||||
// entity 197
|
||||
// entity 198
|
||||
{
|
||||
"classname" "func_group"
|
||||
"_tb_type" "_tb_layer"
|
||||
|
|
@ -2604,7 +2609,7 @@
|
|||
"_tb_id" "15"
|
||||
"_tb_layer_sort_index" "1"
|
||||
}
|
||||
// entity 198
|
||||
// entity 199
|
||||
{
|
||||
"classname" "func_group"
|
||||
"_tb_type" "_tb_group"
|
||||
|
|
@ -2614,7 +2619,7 @@
|
|||
"_tb_transformation" "1 0 0 -508 0 1 0 576 0 0 1 32 0 0 0 1"
|
||||
"_tb_layer" "15"
|
||||
}
|
||||
// entity 199
|
||||
// entity 200
|
||||
{
|
||||
"classname" "func_group"
|
||||
"_tb_type" "_tb_group"
|
||||
|
|
@ -2701,7 +2706,7 @@
|
|||
( -160 528 16 ) ( -160 528 17 ) ( -160 529 16 ) Manual/Chevron_2 [ 0 1 0 0 ] [ 0 0 -1 -8 ] 0 1 1
|
||||
}
|
||||
}
|
||||
// entity 200
|
||||
// entity 201
|
||||
{
|
||||
"classname" "func_group"
|
||||
"_tb_type" "_tb_group"
|
||||
|
|
|
|||
30
3D/Scenes/Props/Chair_3D.tscn
Normal file
30
3D/Scenes/Props/Chair_3D.tscn
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://dmwtysh7eijon"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_q4vm8"]
|
||||
[ext_resource type="Resource" uid="uid://bpreje4f8ok62" path="res://Resources/Bullets/3D/Explosion_3D.tres" id="2_hbvng"]
|
||||
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_jiv17"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://sg77hbw6lo6r" path="res://Resources/Sprites/Chair.tres" id="5_265cv"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_2libs"]
|
||||
height = 0.564575
|
||||
radius = 0.321777
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_q4vm8")
|
||||
Indestructible = true
|
||||
ExplosionData = ExtResource("2_hbvng")
|
||||
DamageResistances = Array[ExtResource("3_jiv17")]([])
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0376587, 0)
|
||||
shape = SubResource("CylinderShape3D_2libs")
|
||||
|
||||
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
|
||||
transform = Transform3D(0.70710677, -0.49999997, 0.49999997, 0, 0.70710677, 0.70710677, -0.70710677, -0.49999997, 0.49999997, 0, 0, 0)
|
||||
pixel_size = 0.05
|
||||
texture_filter = 0
|
||||
sprite_frames = ExtResource("5_265cv")
|
||||
animation = &"Spin"
|
||||
frame_progress = 0.36955565
|
||||
15
3D/Scenes/Props/Filing_Cabinet_3D.tscn
Normal file
15
3D/Scenes/Props/Filing_Cabinet_3D.tscn
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://ckcp087lqlsge"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c8wundtddmiaa" path="res://3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.gltf" id="1_ja0jw"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(0.994617, 1.07367, 0.540756)
|
||||
|
||||
[node name="FilingCabinet" type="StaticBody3D"]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00414919, 0.0126071, -0.00992589)
|
||||
shape = SubResource("BoxShape3D_hsg1w")
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("1_ja0jw")]
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://pwaweics6iqm"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_xkcss"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckcp087lqlsge" path="res://3D/Scenes/Props/Filing_Cabinet_3D.tscn" id="2_xkcss"]
|
||||
[ext_resource type="Script" uid="uid://ldfqjtq0br35" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_xkcss"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_xkcss")
|
||||
target_map_editor = 1
|
||||
rotation_offset = Vector3(0, 180, 0)
|
||||
scene_file = ExtResource("2_xkcss")
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_filing_cabinet"
|
||||
description = "Filing Cabinet"
|
||||
base_classes = Array[Resource]([ExtResource("1_xkcss")])
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/actor_filing_cabinet.glb\"",
|
||||
"size": AABB(-4, -8, -8, 4, 8, 8)
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDPointClass" load_steps=5 format=3 uid="uid://umbceo5tcxni"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_t13cn"]
|
||||
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="2_qg3x2"]
|
||||
[ext_resource type="PackedScene" uid="uid://dmwtysh7eijon" path="res://3D/Scenes/Props/Chair_3D.tscn" id="3_t13cn"]
|
||||
[ext_resource type="Script" uid="uid://cxsqwtsqd8w33" path="res://addons/func_godot/src/fgd/func_godot_fgd_point_class.gd" id="4_v58ve"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("4_v58ve")
|
||||
scene_file = ExtResource("3_t13cn")
|
||||
apply_rotation_on_map_build = false
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_chair"
|
||||
description = "Chair"
|
||||
base_classes = Array[Resource]([ExtResource("1_t13cn"), ExtResource("2_qg3x2")])
|
||||
class_properties = {
|
||||
"health": 5.0
|
||||
}
|
||||
meta_properties = {
|
||||
"model": "{ \"path\": \"textures\\special/chair.png\", \"scale\": 1 }",
|
||||
"size": AABB(-8, -8, -8, 8, 8, 8)
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=49 format=3 uid="uid://b700sa4be6dfa"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=51 format=3 uid="uid://b700sa4be6dfa"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://ia1t5p4mhom3" path="res://3D/TrenchBroom/EntityDefinitions/point/lights/light_omni.tres" id="1_7vcj1"]
|
||||
[ext_resource type="Script" uid="uid://drlmgulwbjwqu" path="res://addons/func_godot/src/fgd/func_godot_fgd_file.gd" id="1_lykim"]
|
||||
|
|
@ -48,7 +48,9 @@
|
|||
[ext_resource type="Resource" uid="uid://b4cf1i0x46ej4" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/Actor_Emitter_Floor.tres" id="45_b4ckg"]
|
||||
[ext_resource type="Resource" uid="uid://chytq0646of5n" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/Actor_Locker.tres" id="46_dyoc0"]
|
||||
[ext_resource type="Resource" uid="uid://dvpi4kx2visc0" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/Actor_Level_Teleporter.tres" id="47_pa845"]
|
||||
[ext_resource type="Resource" uid="uid://pwaweics6iqm" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/actor_Filing_Cabinet.tres" id="48_lb3ub"]
|
||||
[ext_resource type="Resource" uid="uid://umbceo5tcxni" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/actor_chair.tres" id="49_8hbdx"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_lykim")
|
||||
entity_definitions = Array[Resource]([ExtResource("1_7vcj1"), ExtResource("2_u7uvb"), ExtResource("3_u7uvb"), ExtResource("4_1nmxk"), ExtResource("5_ljb2x"), ExtResource("6_seuvu"), ExtResource("7_fmwex"), ExtResource("8_c8m8m"), ExtResource("9_14sjf"), ExtResource("10_xik3w"), ExtResource("11_dgiqm"), ExtResource("12_1teik"), ExtResource("13_f0hti"), ExtResource("14_6ld6e"), ExtResource("15_g8j5j"), ExtResource("16_7h4of"), ExtResource("17_m3sbm"), ExtResource("18_m3sbm"), ExtResource("19_hvhb8"), ExtResource("20_3v5us"), ExtResource("21_g67cj"), ExtResource("22_iy67w"), ExtResource("23_b5lmu"), ExtResource("24_ndas4"), ExtResource("25_n7wsi"), ExtResource("26_v48k5"), ExtResource("27_ombvk"), ExtResource("28_31lma"), ExtResource("29_louv0"), ExtResource("30_wfgfu"), ExtResource("31_elv2e"), ExtResource("32_elv2e"), ExtResource("33_aawmv"), ExtResource("34_wy0ht"), ExtResource("35_3jqmy"), ExtResource("36_p5b6l"), ExtResource("37_53o7h"), ExtResource("38_mdgca"), ExtResource("39_d6b4f"), ExtResource("40_l3pck"), ExtResource("41_q8hab"), ExtResource("42_ekplg"), ExtResource("43_d7qk0"), ExtResource("44_k6g2u"), ExtResource("45_b4ckg"), ExtResource("46_dyoc0"), ExtResource("47_pa845")])
|
||||
entity_definitions = Array[Resource]([ExtResource("1_7vcj1"), ExtResource("2_u7uvb"), ExtResource("3_u7uvb"), ExtResource("4_1nmxk"), ExtResource("5_ljb2x"), ExtResource("6_seuvu"), ExtResource("7_fmwex"), ExtResource("8_c8m8m"), ExtResource("9_14sjf"), ExtResource("10_xik3w"), ExtResource("11_dgiqm"), ExtResource("12_1teik"), ExtResource("13_f0hti"), ExtResource("14_6ld6e"), ExtResource("15_g8j5j"), ExtResource("16_7h4of"), ExtResource("17_m3sbm"), ExtResource("18_m3sbm"), ExtResource("19_hvhb8"), ExtResource("20_3v5us"), ExtResource("21_g67cj"), ExtResource("22_iy67w"), ExtResource("23_b5lmu"), ExtResource("24_ndas4"), ExtResource("25_n7wsi"), ExtResource("26_v48k5"), ExtResource("27_ombvk"), ExtResource("28_31lma"), ExtResource("29_louv0"), ExtResource("30_wfgfu"), ExtResource("31_elv2e"), ExtResource("32_elv2e"), ExtResource("33_aawmv"), ExtResource("34_wy0ht"), ExtResource("35_3jqmy"), ExtResource("36_p5b6l"), ExtResource("37_53o7h"), ExtResource("38_mdgca"), ExtResource("39_d6b4f"), ExtResource("40_l3pck"), ExtResource("41_q8hab"), ExtResource("42_ekplg"), ExtResource("43_d7qk0"), ExtResource("44_k6g2u"), ExtResource("45_b4ckg"), ExtResource("46_dyoc0"), ExtResource("47_pa845"), ExtResource("48_lb3ub"), ExtResource("49_8hbdx")])
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
87
Resources/Sprites/Chair.tres
Normal file
87
Resources/Sprites/Chair.tres
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
[gd_resource type="SpriteFrames" load_steps=10 format=3 uid="uid://sg77hbw6lo6r"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c8rj2wjj7ho3j" path="res://Sprites/Props/Chair.png" id="1_xdjk7"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yxrrg"]
|
||||
atlas = ExtResource("1_xdjk7")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_eq5fp"]
|
||||
atlas = ExtResource("1_xdjk7")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vlpit"]
|
||||
atlas = ExtResource("1_xdjk7")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hgjbl"]
|
||||
atlas = ExtResource("1_xdjk7")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3qtkp"]
|
||||
atlas = ExtResource("1_xdjk7")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ge7ok"]
|
||||
atlas = ExtResource("1_xdjk7")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t37n8"]
|
||||
atlas = ExtResource("1_xdjk7")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fu0sf"]
|
||||
atlas = ExtResource("1_xdjk7")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[resource]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yxrrg")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Down",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_eq5fp")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vlpit")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hgjbl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3qtkp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ge7ok")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_t37n8")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Spin",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fu0sf")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Up",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
|
@ -1,93 +1,9 @@
|
|||
[gd_scene load_steps=15 format=3 uid="uid://bjb1xv0ny1qim"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bjb1xv0ny1qim"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c8rj2wjj7ho3j" path="res://Sprites/Props/Chair.png" id="1_a0rvv"]
|
||||
[ext_resource type="Script" uid="uid://0hfmpf6i0icv" path="res://Scripts/Actors/Chair.cs" id="1_yxrrg"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://sg77hbw6lo6r" path="res://Resources/Sprites/Chair.tres" id="2_eq5fp"]
|
||||
[ext_resource type="Script" uid="uid://rlevd6krqglv" path="res://Scripts/Components/SpriteAnimationStartupRotator.cs" id="3_eq5fp"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yxrrg"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_eq5fp"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vlpit"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hgjbl"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3qtkp"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ge7ok"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t37n8"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fu0sf"]
|
||||
atlas = ExtResource("1_a0rvv")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_hgjbl"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yxrrg")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Down",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_eq5fp")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vlpit")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hgjbl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3qtkp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ge7ok")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_t37n8")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Spin",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fu0sf")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Up",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_a0rvv"]
|
||||
size = Vector2(7, 10)
|
||||
|
||||
|
|
@ -101,7 +17,7 @@ script = ExtResource("1_yxrrg")
|
|||
SpinTime = 1.0
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_hgjbl")
|
||||
sprite_frames = ExtResource("2_eq5fp")
|
||||
animation = &"Down"
|
||||
script = ExtResource("3_eq5fp")
|
||||
|
||||
|
|
|
|||
|
|
@ -15,20 +15,26 @@ dest_files=["res://.godot/imported/Chair.png-71b51e6aaa3ae232f968e10fe552cd20.ct
|
|||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/mode=3
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
detect_3d/compress_to=0
|
||||
|
|
|
|||
BIN
textures/special/chair.png
(Stored with Git LFS)
Normal file
BIN
textures/special/chair.png
(Stored with Git LFS)
Normal file
Binary file not shown.
40
textures/special/chair.png.import
Normal file
40
textures/special/chair.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dg754in4iakey"
|
||||
path="res://.godot/imported/chair.png-9ed6f6a5c30ec48cc1c4a7c259671020.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/special/chair.png"
|
||||
dest_files=["res://.godot/imported/chair.png-9ed6f6a5c30ec48cc1c4a7c259671020.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=3
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
Loading…
Add table
Add a link
Reference in a new issue