mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 13:23:47 +00:00
Forcefield
This commit is contained in:
parent
7b2d32e727
commit
fe33f8d225
24 changed files with 398 additions and 8 deletions
1
3D/BlockbenchModels/Door/Door_Forcefield.bbmodel
Normal file
1
3D/BlockbenchModels/Door/Door_Forcefield.bbmodel
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"meta":{"format_version":"4.10","model_format":"free","box_uv":false},"name":"Door_Forcefield","model_identifier":"","visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"timeline_setups":[],"unhandled_root_fields":{},"resolution":{"width":128,"height":128},"elements":[{"name":"cuboid","color":7,"origin":[0,-8,0],"rotation":[0,0,0],"export":true,"visibility":true,"locked":false,"render_order":"default","allow_mirror_modeling":true,"vertices":{"UAFj":[16,24,0],"fUW9":[16,24,-1],"DNXB":[16,-8,0],"7HeK":[16,-8,-1],"Ggie":[-16,24,0],"roDK":[-16,24,-1],"Ki8S":[-16,-8,0],"KOjl":[-16,-8,-1]},"faces":{"r9KTNcAI":{"uv":{"7HeK":[34,32],"fUW9":[34,0],"DNXB":[33,32],"UAFj":[33,0]},"vertices":["UAFj","DNXB","fUW9","7HeK"],"texture":0},"Q6XFLVWA":{"uv":{"KOjl":[33,65],"Ki8S":[34,65],"roDK":[33,33],"Ggie":[34,33]},"vertices":["Ggie","roDK","Ki8S","KOjl"],"texture":0},"PWWWf3rK":{"uv":{"roDK":[35,0],"Ggie":[35,1],"fUW9":[67,0],"UAFj":[67,1]},"vertices":["UAFj","fUW9","Ggie","roDK"],"texture":0},"IEtbIHQy":{"uv":{"KOjl":[35,3],"7HeK":[67,3],"Ki8S":[35,2],"DNXB":[67,2]},"vertices":["DNXB","Ki8S","7HeK","KOjl"],"texture":0},"Y63AlbpZ":{"uv":{"Ki8S":[0,32],"DNXB":[32,32],"Ggie":[0,0],"UAFj":[32,0]},"vertices":["UAFj","Ggie","DNXB","Ki8S"],"texture":0},"IIGA2ap9":{"uv":{"KOjl":[32,65],"roDK":[32,33],"7HeK":[0,65],"fUW9":[0,33]},"vertices":["fUW9","7HeK","roDK","KOjl"],"texture":0}},"type":"mesh","uuid":"32f9f708-97cf-51d6-fe03-d435ab2292bd"}],"outliner":["32f9f708-97cf-51d6-fe03-d435ab2292bd"],"textures":[{"path":"K:\\godot\\cirno\\3D\\BlockbenchModels\\Door\\Door_Forcefield_Texture.png","name":"Door_Forcefield_Texture.png","folder":"block","namespace":"","id":"0","group":"","width":128,"height":128,"uv_width":128,"uv_height":128,"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":"aaf341b1-f068-a3f8-1876-c26161ac726f","relative_path":"Door_Forcefield_Texture.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAxNJREFUeF7t2yFuVVEYReFzFU3oAJogIEFgmAVIXCWKKRRUB1AFTAGFxCFhFpgKEhAkHUBJQL2mJBBI0P1e8q9OYO/utd4594q7/fh8slvw7+D+6+3Rxavdx6Pn2/tPX2mXJw/vbnAKEr1dC3DrzgMS/vPb+fpbAFJieOheCXD87AU9Ad69edkJcJM/iE6Am1z7/1l7dQL4OeY1SIB5zP/5jxMgAXoLmOxAJ8Bk+mutBEiAroDJDnQCTKbfFTCcfgIkQFfAcAcSIAF6C5jsQCfAZPo9BA6nnwAJ0BUw3IEESIDeAiY70AkwmX4PgcPpJ0ACdAUMdyABEqC3gMkOdAJMpt9D4HD6vwWQM/R1sFx/rXFfw9q59y99e/rhkn6S/fbx4XZ5drY7PD1NRuDHLwHuHd0G0Wt9ufi+EoBM/yc0Aez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48vc/DOQJboG/y7f48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PD0BOAJbIAHs/jw9ATgCWyAB7P48PQE4AlsgAez+PP0KRmS8nwOqrs0AAAAASUVORK5CYII="}]}
|
||||
BIN
3D/BlockbenchModels/Door/Door_Forcefield_Texture.png
(Stored with Git LFS)
Normal file
BIN
3D/BlockbenchModels/Door/Door_Forcefield_Texture.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
3D/BlockbenchModels/Door/Door_Forcefield_Texture.png.import
Normal file
34
3D/BlockbenchModels/Door/Door_Forcefield_Texture.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cm01vggkl5xw2"
|
||||
path="res://.godot/imported/Door_Forcefield_Texture.png-04d30e2b9a655cb5f2ecb05d237111b5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://3D/BlockbenchModels/Door/Door_Forcefield_Texture.png"
|
||||
dest_files=["res://.godot/imported/Door_Forcefield_Texture.png-04d30e2b9a655cb5f2ecb05d237111b5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=3
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
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/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/Door/Forcefield_Texture.pxc
Normal file
BIN
3D/BlockbenchModels/Door/Forcefield_Texture.pxc
Normal file
Binary file not shown.
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=373 format=4 uid="uid://c8gtrjf2xeue7"]
|
||||
[gd_scene load_steps=374 format=4 uid="uid://c8gtrjf2xeue7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://kno58homctew" path="res://addons/func_godot/src/map/func_godot_map.gd" id="1_n6h0p"]
|
||||
[ext_resource type="Script" uid="uid://crpgy1o73rtlx" path="res://Scripts/Utils/MapProxy3D.cs" id="1_pvlbf"]
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
[ext_resource type="Material" uid="uid://br4foqdn2f8ge" path="res://textures/Manual/Wall_Corner.tres" id="27_c4mw0"]
|
||||
[ext_resource type="Material" uid="uid://bijkqqi8bqi3c" path="res://textures/Floors/Floor26.tres" id="28_btjo4"]
|
||||
[ext_resource type="Material" uid="uid://fc0n5jo05seu" path="res://textures/Manual/Wall_Light_Test.tres" id="30_pvlbf"]
|
||||
[ext_resource type="Material" path="res://textures/Manual/Chevron.tres" id="30_um16p"]
|
||||
[ext_resource type="Material" uid="uid://dfs1tc2ry78pb" path="res://textures/Manual/Chevron.tres" id="30_um16p"]
|
||||
[ext_resource type="Material" uid="uid://0x6sr7ehv4t1" path="res://textures/Floors/Floor167.tres" id="31_bbydx"]
|
||||
[ext_resource type="Script" uid="uid://crjplbs250g75" path="res://3D/TrenchBroom/EntityScripts/Lights/light_spot.gd" id="31_c2mph"]
|
||||
[ext_resource type="Material" uid="uid://l3g1l0y47c7r" path="res://textures/Manual/Electric_Panel_Wall.tres" id="32_k4tgc"]
|
||||
|
|
@ -82,6 +82,7 @@
|
|||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="71_rfncj"]
|
||||
[ext_resource type="Resource" uid="uid://dy53gia1tmkah" path="res://Resources/Items/Points_Pickup.tres" id="72_51d8c"]
|
||||
[ext_resource type="Resource" uid="uid://bdpbekqhuuq4l" path="res://Resources/Items/Shield_Extend_Pickup.tres" id="77_mf5at"]
|
||||
[ext_resource type="PackedScene" uid="uid://dioiq4nb7kiet" path="res://3D/Scenes/Props/ForceField_3D.tscn" id="83_51d8c"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mf5at"]
|
||||
albedo_texture = ExtResource("25_btjo4")
|
||||
|
|
@ -3221,3 +3222,6 @@ omni_range = 64.946
|
|||
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
|
||||
visible = false
|
||||
navigation_mesh = SubResource("NavigationMesh_fi82p")
|
||||
|
||||
[node name="Door3d" parent="." instance=ExtResource("83_51d8c")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 44.9953, 2.00411, 21.5165)
|
||||
|
|
|
|||
50
3D/Scenes/Props/ForceField_3D.tscn
Normal file
50
3D/Scenes/Props/ForceField_3D.tscn
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://dioiq4nb7kiet"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://gc24sjyj47x6" path="res://Sprites/Actors/ForceFieldHorizontal.png" id="2_4cotp"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_7axon"]
|
||||
size = Vector3(1.99927, 2.00482, 0.140869)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hfile"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2serc"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nl1bd"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_q44q4"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hfile")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2serc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nl1bd")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Door3d" type="AnimatableBody3D" groups=["Solid"]]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00500488, 0.00234985, -0.00524902)
|
||||
shape = SubResource("BoxShape3D_7axon")
|
||||
|
||||
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.596)
|
||||
pixel_size = 0.06
|
||||
texture_filter = 0
|
||||
sprite_frames = SubResource("SpriteFrames_q44q4")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.581369
|
||||
Loading…
Add table
Add a link
Reference in a new issue