mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:05:34 +00:00
Mapping and direction code
This commit is contained in:
parent
c1f83736f0
commit
944249d408
26 changed files with 1453 additions and 536 deletions
1
3D/BlockbenchModels/Switch/Switch.bbmodel
Normal file
1
3D/BlockbenchModels/Switch/Switch.bbmodel
Normal file
File diff suppressed because one or more lines are too long
1
3D/BlockbenchModels/Switch/Switch.gltf
Normal file
1
3D/BlockbenchModels/Switch/Switch.gltf
Normal file
File diff suppressed because one or more lines are too long
42
3D/BlockbenchModels/Switch/Switch.gltf.import
Normal file
42
3D/BlockbenchModels/Switch/Switch.gltf.import
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://crxls5gk3wgin"
|
||||
path="res://.godot/imported/Switch.gltf-8914c99fb2103d6bdcac0db657c31e11.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://3D/BlockbenchModels/Switch/Switch.gltf"
|
||||
dest_files=["res://.godot/imported/Switch.gltf-8914c99fb2103d6bdcac0db657c31e11.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/Switch/Switch_0.png
(Stored with Git LFS)
Normal file
BIN
3D/BlockbenchModels/Switch/Switch_0.png
(Stored with Git LFS)
Normal file
Binary file not shown.
43
3D/BlockbenchModels/Switch/Switch_0.png.import
Normal file
43
3D/BlockbenchModels/Switch/Switch_0.png.import
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://nr444fep3diy"
|
||||
path="res://.godot/imported/Switch_0.png-d1d34dc8a6359d39d22b2f33cc22ad5e.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "c242a4c3f0fae22081381fd1b86506af"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://3D/BlockbenchModels/Switch/Switch_0.png"
|
||||
dest_files=["res://.godot/imported/Switch_0.png-d1d34dc8a6359d39d22b2f33cc22ad5e.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/Switch/Switch_Texture.png
(Stored with Git LFS)
Normal file
BIN
3D/BlockbenchModels/Switch/Switch_Texture.png
(Stored with Git LFS)
Normal file
Binary file not shown.
40
3D/BlockbenchModels/Switch/Switch_Texture.png.import
Normal file
40
3D/BlockbenchModels/Switch/Switch_Texture.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ckddpaefmtp5x"
|
||||
path="res://.godot/imported/Switch_Texture.png-1320f81b89a3f3dc2845275bcfd6ea36.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://3D/BlockbenchModels/Switch/Switch_Texture.png"
|
||||
dest_files=["res://.godot/imported/Switch_Texture.png-1320f81b89a3f3dc2845275bcfd6ea36.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_switch.glb
Normal file
BIN
3D/MapModels/actor_switch.glb
Normal file
Binary file not shown.
133
3D/Maps/Emitters.map
Normal file
133
3D/Maps/Emitters.map
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
// Game: FuncGodot
|
||||
// Format: Valve
|
||||
// entity 0
|
||||
{
|
||||
"mapversion" "220"
|
||||
"wad" ""
|
||||
"classname" "worldspawn"
|
||||
// brush 0
|
||||
{
|
||||
( -4 52 -16 ) ( -4 52 -15 ) ( -4 51 -16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( 60 -76 16 ) ( 60 -76 17 ) ( 61 -76 16 ) __TB_empty [ 1 -1.8369701987210297e-16 0 4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( -68 52 -16 ) ( -68 51 -16 ) ( -67 52 -16 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ -1 1.8369701987210297e-16 0 -4 ] 180 1 1
|
||||
( 60 -76 16 ) ( 61 -76 16 ) ( 60 -77 16 ) Floors/Floor242 [ -1.8369701987210297e-16 -1 0 -12 ] [ -1 1.8369701987210297e-16 0 -4 ] 0 1 1
|
||||
( -68 52 -16 ) ( -67 52 -16 ) ( -68 52 -15 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( 12 52 -16 ) ( 12 51 -16 ) ( 12 52 -15 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 0 1 1
|
||||
}
|
||||
// brush 1
|
||||
{
|
||||
( -68 -60 16 ) ( -68 -60 17 ) ( -68 -61 16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -4 ] [ 0 0 -1 0 ] 180 1 1
|
||||
( 60 -68 24 ) ( 60 -68 25 ) ( 61 -68 24 ) __TB_empty [ 1 -1.8369701987210297e-16 0 4 ] [ 0 0 -1 0 ] 180 1 1
|
||||
( -68 -60 16 ) ( -68 -61 16 ) ( -67 -60 16 ) __TB_empty [ 1.8369701987210297e-16 1 0 4 ] [ -1 1.8369701987210297e-16 0 -4 ] 90 1 1
|
||||
( 60 -68 48 ) ( 61 -68 48 ) ( 60 -69 48 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -4 ] [ -1 1.8369701987210297e-16 0 -4 ] 180 1 1
|
||||
( -68 -60 16 ) ( -67 -60 16 ) ( -68 -60 17 ) Floors/Floor247 [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 180 1 1
|
||||
( 60 -68 24 ) ( 60 -69 24 ) ( 60 -68 25 ) __TB_empty [ 1.8369701987210297e-16 1 0 4 ] [ 0 0 -1 0 ] 180 1 1
|
||||
}
|
||||
// brush 2
|
||||
{
|
||||
( 12 52 -16 ) ( 12 52 -15 ) ( 12 51 -16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 180 1 1
|
||||
( -68 -12 -16 ) ( -68 -12 -15 ) ( -67 -12 -16 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 0 1 1
|
||||
( -68 52 -16 ) ( -68 51 -16 ) ( -67 52 -16 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ -1 1.8369701987210297e-16 0 -4 ] 180 1 1
|
||||
( 60 -76 16 ) ( 61 -76 16 ) ( 60 -77 16 ) Floors/Floor242 [ -1.8369701987210297e-16 -1 0 -12 ] [ -1 1.8369701987210297e-16 0 -4 ] 0 1 1
|
||||
( -68 4 -16 ) ( -67 4 -16 ) ( -68 4 -15 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( 60 -76 16 ) ( 60 -77 16 ) ( 60 -76 17 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ 0 0 -1 0 ] 270 1 1
|
||||
}
|
||||
// brush 3
|
||||
{
|
||||
( -68 52 -16 ) ( -68 52 -15 ) ( -68 51 -16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( -68 -12 -16 ) ( -68 -12 -15 ) ( -67 -12 -16 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 0 1 1
|
||||
( -68 52 -16 ) ( -68 51 -16 ) ( -67 52 -16 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ -1 1.8369701987210297e-16 0 -4 ] 180 1 1
|
||||
( 60 -76 16 ) ( 61 -76 16 ) ( 60 -77 16 ) Floors/Floor242 [ -1.8369701987210297e-16 -1 0 -12 ] [ -1 1.8369701987210297e-16 0 -4 ] 0 1 1
|
||||
( -68 4 -16 ) ( -67 4 -16 ) ( -68 4 -15 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( -4 52 -16 ) ( -4 51 -16 ) ( -4 52 -15 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 90 1 1
|
||||
}
|
||||
// brush 4
|
||||
{
|
||||
( -68 52 -16 ) ( -68 52 -15 ) ( -68 51 -16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( 60 -76 16 ) ( 60 -76 17 ) ( 61 -76 16 ) __TB_empty [ 1 -1.8369701987210297e-16 0 4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( -68 52 -16 ) ( -68 51 -16 ) ( -67 52 -16 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ -1 1.8369701987210297e-16 0 -4 ] 180 1 1
|
||||
( 60 -76 16 ) ( 61 -76 16 ) ( 60 -77 16 ) Floors/Floor103 [ -1.8369701987210297e-16 -1 0 -12 ] [ -1 1.8369701987210297e-16 0 -4 ] 0 1 1
|
||||
( -68 -12 -16 ) ( -67 -12 -16 ) ( -68 -12 -15 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 180 1 1
|
||||
( -4 52 -16 ) ( -4 51 -16 ) ( -4 52 -15 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 90 1 1
|
||||
}
|
||||
// brush 5
|
||||
{
|
||||
( -68 52 -16 ) ( -68 52 -15 ) ( -68 51 -16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( -68 4 -16 ) ( -68 4 -15 ) ( -67 4 -16 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 90 1 1
|
||||
( -68 52 -16 ) ( -68 51 -16 ) ( -67 52 -16 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ -1 1.8369701987210297e-16 0 -4 ] 180 1 1
|
||||
( 60 -76 16 ) ( 61 -76 16 ) ( 60 -77 16 ) Floors/Floor103 [ -1.8369701987210297e-16 -1 0 -12 ] [ -1 1.8369701987210297e-16 0 -4 ] 0 1 1
|
||||
( -68 52 -16 ) ( -67 52 -16 ) ( -68 52 -15 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( -4 52 -16 ) ( -4 51 -16 ) ( -4 52 -15 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 90 1 1
|
||||
}
|
||||
// brush 6
|
||||
{
|
||||
( 12 52 -16 ) ( 12 52 -15 ) ( 12 51 -16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 180 1 1
|
||||
( 60 -76 16 ) ( 60 -76 17 ) ( 61 -76 16 ) __TB_empty [ 1 -1.8369701987210297e-16 0 4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( -68 52 -16 ) ( -68 51 -16 ) ( -67 52 -16 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ -1 1.8369701987210297e-16 0 -4 ] 180 1 1
|
||||
( 60 -76 16 ) ( 61 -76 16 ) ( 60 -77 16 ) Floors/Floor103 [ -1.8369701987210297e-16 -1 0 -12 ] [ -1 1.8369701987210297e-16 0 -4 ] 0 1 1
|
||||
( -68 -12 -16 ) ( -67 -12 -16 ) ( -68 -12 -15 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 180 1 1
|
||||
( 60 -76 16 ) ( 60 -77 16 ) ( 60 -76 17 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ 0 0 -1 0 ] 270 1 1
|
||||
}
|
||||
// brush 7
|
||||
{
|
||||
( 12 52 -16 ) ( 12 52 -15 ) ( 12 51 -16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 180 1 1
|
||||
( -68 4 -16 ) ( -68 4 -15 ) ( -67 4 -16 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 90 1 1
|
||||
( -68 52 -16 ) ( -68 51 -16 ) ( -67 52 -16 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ -1 1.8369701987210297e-16 0 -4 ] 180 1 1
|
||||
( 60 -76 16 ) ( 61 -76 16 ) ( 60 -77 16 ) Floors/Floor103 [ -1.8369701987210297e-16 -1 0 -12 ] [ -1 1.8369701987210297e-16 0 -4 ] 0 1 1
|
||||
( -68 52 -16 ) ( -67 52 -16 ) ( -68 52 -15 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( 60 -76 16 ) ( 60 -77 16 ) ( 60 -76 17 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ 0 0 -1 0 ] 270 1 1
|
||||
}
|
||||
// brush 8
|
||||
{
|
||||
( -76 -68 24 ) ( -76 -68 25 ) ( -76 -69 24 ) __TB_empty [ -3.6739403974420594e-16 -1 0 -4 ] [ 0 0 -1 0 ] 90 1 1
|
||||
( -76 -68 24 ) ( -77 -68 24 ) ( -76 -68 25 ) __TB_empty [ 1 -3.6739403974420594e-16 0 -20 ] [ 0 0 -1 0 ] 90 1 1
|
||||
( -68 60 16 ) ( -69 60 16 ) ( -68 59 16 ) __TB_empty [ 1 -3.6739403974420594e-16 0 -20 ] [ 3.6739403974420594e-16 1 0 4 ] 270 1 1
|
||||
( -76 -68 48 ) ( -76 -69 48 ) ( -77 -68 48 ) __TB_empty [ -1 3.6739403974420594e-16 0 20 ] [ 3.6739403974420594e-16 1 0 4 ] 180 1 1
|
||||
( -68 68 16 ) ( -68 68 17 ) ( -69 68 16 ) __TB_empty [ -1 3.6739403974420594e-16 0 20 ] [ 0 0 -1 0 ] 0 1 1
|
||||
( -68 60 16 ) ( -68 59 16 ) ( -68 60 17 ) Floors/Floor247 [ 3.6739403974420594e-16 1 0 4 ] [ 0 0 -1 0 ] 90 1 1
|
||||
}
|
||||
// brush 9
|
||||
{
|
||||
( -68 116 -16 ) ( -68 116 -15 ) ( -68 115 -16 ) __TB_empty [ -1.8369701987210297e-16 -1 0 -12 ] [ 0 0 -1 0 ] 90 1 1
|
||||
( -68 52 -16 ) ( -68 52 -15 ) ( -67 52 -16 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 270 1 1
|
||||
( -68 116 -16 ) ( -68 115 -16 ) ( -67 116 -16 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ -1 1.8369701987210297e-16 0 -4 ] 270 1 1
|
||||
( 60 -12 16 ) ( 61 -12 16 ) ( 60 -13 16 ) Floors/Floor242 [ -1.8369701987210297e-16 -1 0 -12 ] [ -1 1.8369701987210297e-16 0 -4 ] 90 1 1
|
||||
( -68 68 -16 ) ( -67 68 -16 ) ( -68 68 -15 ) __TB_empty [ -1 1.8369701987210297e-16 0 -4 ] [ 0 0 -1 0 ] 0 1 1
|
||||
( 60 -12 16 ) ( 60 -13 16 ) ( 60 -12 17 ) __TB_empty [ 1.8369701987210297e-16 1 0 12 ] [ 0 0 -1 0 ] 0 1 1
|
||||
}
|
||||
}
|
||||
// entity 1
|
||||
{
|
||||
"classname" "actor_controlpad"
|
||||
"origin" "-64 -48 28"
|
||||
"angles" "0 0 0"
|
||||
}
|
||||
// entity 2
|
||||
{
|
||||
"classname" "actor_emitter_wall"
|
||||
"origin" "-64 -4 20"
|
||||
"angles" "0 180 0"
|
||||
"script_path" "res://Resources/BulletScripts/Emitter_Trap_Single_Forward.tres"
|
||||
"emit_on_start" "0"
|
||||
}
|
||||
// entity 3
|
||||
{
|
||||
"classname" "actor_emitter_wall"
|
||||
"origin" "4 -56 20"
|
||||
"angles" "0 -90 0"
|
||||
"script_path" "res://Resources/BulletScripts/Emitter_Trap_Single_Forward.tres"
|
||||
"emit_on_start" "1"
|
||||
}
|
||||
// entity 4
|
||||
{
|
||||
"classname" "actor_emitter_wall"
|
||||
"origin" "56 60 20"
|
||||
"angles" "0 0 0"
|
||||
"script_path" "res://Resources/BulletScripts/Emitter_Trap_Single_Forward.tres"
|
||||
"emit_on_start" "0"
|
||||
}
|
||||
// entity 5
|
||||
{
|
||||
"classname" "marker_spawn"
|
||||
"origin" "-40 -40 22"
|
||||
}
|
||||
14
3D/Maps/Emitters.map.import
Normal file
14
3D/Maps/Emitters.map.import
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[remap]
|
||||
|
||||
importer="func_godot.map"
|
||||
type="Resource"
|
||||
uid="uid://onijl4hpep1u"
|
||||
path="res://.godot/imported/Emitters.map-020561928e7c59c13a0548dc043fee46.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://3D/Maps/Emitters.map"
|
||||
dest_files=["res://.godot/imported/Emitters.map-020561928e7c59c13a0548dc043fee46.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
File diff suppressed because it is too large
Load diff
42
3D/Scenes/Props/Switch_3D.tscn
Normal file
42
3D/Scenes/Props/Switch_3D.tscn
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://ctic4wsg3mibx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qxh76ahgexqa" path="res://Scripts/Interactables/Switch3D.cs" id="1_lgsyu"]
|
||||
[ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_t6fpe"]
|
||||
[ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_jopg7"]
|
||||
[ext_resource type="AudioStream" uid="uid://myr6n2c1u503" path="res://SFX/581602__samsterbirdies__beep-error.mp3" id="4_bbsqt"]
|
||||
[ext_resource type="PackedScene" uid="uid://crxls5gk3wgin" path="res://3D/BlockbenchModels/Switch/Switch.gltf" id="5_lgsyu"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_itd0i"]
|
||||
radius = 0.868968
|
||||
|
||||
[node name="Switch" type="Area3D" node_paths=PackedStringArray("Targets") groups=["Interactable"]]
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_lgsyu")
|
||||
Targets = []
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0)
|
||||
visible = false
|
||||
pixel_size = 0.1
|
||||
texture_filter = 0
|
||||
texture = ExtResource("2_t6fpe")
|
||||
hframes = 4
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("SphereShape3D_itd0i")
|
||||
|
||||
[node name="ActivationSound" type="AudioStreamPlayer3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15351868)
|
||||
stream = ExtResource("3_jopg7")
|
||||
bus = &"Effects"
|
||||
|
||||
[node name="DenySound" type="AudioStreamPlayer3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15351868)
|
||||
stream = ExtResource("4_bbsqt")
|
||||
bus = &"Effects"
|
||||
|
||||
[node name="blockbench_export2" parent="." instance=ExtResource("5_lgsyu")]
|
||||
|
||||
[editable path="blockbench_export2"]
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=6 format=3 uid="uid://cuhhjj6kx74i0"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_8v8rk"]
|
||||
[ext_resource type="Resource" uid="uid://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="2_8wvoc"]
|
||||
[ext_resource type="Resource" uid="uid://bd4h6ha84s74b" path="res://3D/TrenchBroom/EntityDefinitions/base/activation_type_base.tres" id="3_oqfhk"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctic4wsg3mibx" path="res://3D/Scenes/Props/Switch_3D.tscn" id="4_8v8rk"]
|
||||
[ext_resource type="Script" uid="uid://ldfqjtq0br35" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="5_1s5ny"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("5_1s5ny")
|
||||
target_map_editor = 1
|
||||
rotation_offset = Vector3(0, 180, 0)
|
||||
scene_file = ExtResource("4_8v8rk")
|
||||
apply_scale_on_map_build = false
|
||||
classname = "actor_switch"
|
||||
description = "Toggleable Switch"
|
||||
base_classes = Array[Resource]([ExtResource("1_8v8rk"), ExtResource("2_8wvoc"), ExtResource("3_oqfhk")])
|
||||
meta_properties = {
|
||||
"model": "\"3D/MapModels/actor_controlpad.glb\"",
|
||||
"size": AABB(-4, -4, -4, 4, 4, 4)
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=55 format=3 uid="uid://b700sa4be6dfa"]
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=56 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"]
|
||||
|
|
@ -54,7 +54,8 @@
|
|||
[ext_resource type="Resource" uid="uid://cmdgqpq5e1duq" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/marker_spawn.tres" id="51_mwau1"]
|
||||
[ext_resource type="Resource" uid="uid://cd8kf5wey5n8n" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/EnemySpawners/marker_spawn_enemy.tres" id="52_v4gel"]
|
||||
[ext_resource type="Resource" uid="uid://n7nb0h11j0nh" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/ItemSpawners/marker_spawn_item.tres" id="53_k53o0"]
|
||||
[ext_resource type="Resource" uid="uid://cuhhjj6kx74i0" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/actor_switch.tres" id="54_k53o0"]
|
||||
|
||||
[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"), ExtResource("48_lb3ub"), ExtResource("49_8hbdx"), ExtResource("50_xpy40"), ExtResource("51_mwau1"), ExtResource("52_v4gel"), ExtResource("53_k53o0")])
|
||||
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"), ExtResource("50_xpy40"), ExtResource("51_mwau1"), ExtResource("52_v4gel"), ExtResource("53_k53o0"), ExtResource("54_k53o0")])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue