blockout 4 work
This commit is contained in:
BIN
assets/LevelBlockouts/blockout4.blend
Normal file
BIN
assets/LevelBlockouts/blockout4.blend
Normal file
Binary file not shown.
73
assets/LevelBlockouts/blockout4.blend.import
Normal file
73
assets/LevelBlockouts/blockout4.blend.import
Normal file
@@ -0,0 +1,73 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://xerc06hjfnbf"
|
||||
path="res://.godot/imported/blockout4.blend-09626ba81819df6e978449c4b620fe7d.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/LevelBlockouts/blockout4.blend"
|
||||
dest_files=["res://.godot/imported/blockout4.blend-09626ba81819df6e978449c4b620fe7d.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
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=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"CeilingLight": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/path": "res://assets/materials/prototype/CeilingLight.tres"
|
||||
},
|
||||
"Walls": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/path": "res://assets/materials/prototype/tadaoando.tres"
|
||||
}
|
||||
},
|
||||
"meshes": {
|
||||
"blockout4_Cube_002": {
|
||||
"generate/lightmap_uv": 1,
|
||||
"generate/lods": 0,
|
||||
"generate/shadow_meshes": 0,
|
||||
"lods/normal_merge_angle": 60.0,
|
||||
"lods/normal_split_angle": 25.0,
|
||||
"save_to_file/enabled": false,
|
||||
"save_to_file/path": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
BIN
assets/LevelBlockouts/blockout4.blend.unwrap_cache
Normal file
BIN
assets/LevelBlockouts/blockout4.blend.unwrap_cache
Normal file
Binary file not shown.
BIN
assets/LevelBlockouts/blockout4.blend1
Normal file
BIN
assets/LevelBlockouts/blockout4.blend1
Normal file
Binary file not shown.
BIN
assets/UI/Edit Files/0.25x/Cursor 1@0.25x.png
Normal file
BIN
assets/UI/Edit Files/0.25x/Cursor 1@0.25x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 978 B |
34
assets/UI/Edit Files/0.25x/Cursor 1@0.25x.png.import
Normal file
34
assets/UI/Edit Files/0.25x/Cursor 1@0.25x.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dikd00p6ytu3f"
|
||||
path="res://.godot/imported/Cursor 1@0.25x.png-19a8187c54d914cc2590e36923fbafd5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/UI/Edit Files/0.25x/Cursor 1@0.25x.png"
|
||||
dest_files=["res://.godot/imported/Cursor 1@0.25x.png-19a8187c54d914cc2590e36923fbafd5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
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=1
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://20csd6dmwj4y"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://20csd6dmwj4y"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/JumpPlatform.gd" id="1_uy07y"]
|
||||
[ext_resource type="AudioStream" uid="uid://ddrlaj0ghgepn" path="res://assets/Audio/bang-4-SBA-300001718.wav" id="2_na0u8"]
|
||||
@@ -9,13 +9,10 @@ size = Vector3(1, 0.1, 1)
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ur8dk"]
|
||||
albedo_color = Color(0.983324, 0, 0.213816, 1)
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_g882c"]
|
||||
data = PackedVector3Array(-0.5, 0.05, 0.5, 0.5, 0.05, 0.5, -0.5, -0.05, 0.5, 0.5, 0.05, 0.5, 0.5, -0.05, 0.5, -0.5, -0.05, 0.5, 0.5, 0.05, -0.5, -0.5, 0.05, -0.5, 0.5, -0.05, -0.5, -0.5, 0.05, -0.5, -0.5, -0.05, -0.5, 0.5, -0.05, -0.5, 0.5, 0.05, 0.5, 0.5, 0.05, -0.5, 0.5, -0.05, 0.5, 0.5, 0.05, -0.5, 0.5, -0.05, -0.5, 0.5, -0.05, 0.5, -0.5, 0.05, -0.5, -0.5, 0.05, 0.5, -0.5, -0.05, -0.5, -0.5, 0.05, 0.5, -0.5, -0.05, 0.5, -0.5, -0.05, -0.5, 0.5, 0.05, 0.5, -0.5, 0.05, 0.5, 0.5, 0.05, -0.5, -0.5, 0.05, 0.5, -0.5, 0.05, -0.5, 0.5, 0.05, -0.5, -0.5, -0.05, 0.5, 0.5, -0.05, 0.5, -0.5, -0.05, -0.5, 0.5, -0.05, 0.5, 0.5, -0.05, -0.5, -0.5, -0.05, -0.5)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_t3rus"]
|
||||
size = Vector3(1, 0.25, 1)
|
||||
|
||||
[node name="JumpPlatform" type="StaticBody3D"]
|
||||
[node name="JumpPlatform" type="Node3D"]
|
||||
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0.09984, 0)
|
||||
script = ExtResource("1_uy07y")
|
||||
|
||||
@@ -23,9 +20,6 @@ script = ExtResource("1_uy07y")
|
||||
mesh = SubResource("BoxMesh_doed0")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_ur8dk")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("ConcavePolygonShape3D_g882c")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
||||
@@ -327,8 +327,8 @@ tracks/7/keys = {
|
||||
|
||||
[sub_resource type="Animation" id="Animation_bsc1a"]
|
||||
resource_name = "shoot"
|
||||
length = 0.1
|
||||
step = 0.01
|
||||
length = 0.125
|
||||
step = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
@@ -336,7 +336,7 @@ tracks/0/path = NodePath("mac10:position")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.03, 0.1),
|
||||
"times": PackedFloat32Array(0, 0.03, 0.125),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, 0, 0), Vector3(0, 0.187845, 0.217808), Vector3(0, 0, 0)]
|
||||
@@ -348,7 +348,7 @@ tracks/1/path = NodePath("mac10:rotation")
|
||||
tracks/1/interp = 2
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.03, 0.1),
|
||||
"times": PackedFloat32Array(0, 0.03, 0.125),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, -1.5708, 0), Vector3(-1.15092e-08, -1.5708, -0.266442), Vector3(0, -1.5708, 0)]
|
||||
@@ -360,7 +360,7 @@ tracks/2/path = NodePath("mac10/chargerpull:position")
|
||||
tracks/2/interp = 2
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.04, 0.1),
|
||||
"times": PackedFloat32Array(0, 0.04, 0.125),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, 0, 0), Vector3(1, 0, 0), Vector3(0, 0, 0)]
|
||||
@@ -372,7 +372,7 @@ tracks/3/path = NodePath("mac10/Trigger:rotation")
|
||||
tracks/3/interp = 2
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0, 0.01, 0.1),
|
||||
"times": PackedFloat32Array(0, 0.01, 0.125),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, 0, -0.209061), Vector3(1.82515e-06, 6.88119e-07, 0.336512), Vector3(0, 0, -0.209061)]
|
||||
@@ -384,7 +384,7 @@ tracks/4/path = NodePath("mac10/SpotLight3D:light_energy")
|
||||
tracks/4/interp = 2
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0, 0.03, 0.1),
|
||||
"times": PackedFloat32Array(0, 0.03, 0.125),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 2.0, 0.0]
|
||||
|
||||
@@ -6,10 +6,9 @@
|
||||
[ext_resource type="Texture2D" uid="uid://blrqd7fw5g4hn" path="res://assets/materials/94_tadao ando concrete plates-seamless_hr/94_tadao ando concrete_NORM (Custom).jpg" id="4_7t6g2"]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color(0.400698, 0.400698, 0.400698, 1)
|
||||
albedo_color = Color(0.450648, 0.450648, 0.450648, 1)
|
||||
albedo_texture = ExtResource("1_wceq1")
|
||||
normal_enabled = true
|
||||
normal_scale = 2.0
|
||||
normal_texture = ExtResource("4_7t6g2")
|
||||
ao_enabled = true
|
||||
ao_texture = ExtResource("2_rhxpx")
|
||||
|
||||
@@ -105,7 +105,7 @@ blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_vu2bt")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_pa20f"]
|
||||
size = Vector3(1.55273, 1.02148, 0.10762)
|
||||
size = Vector3(1.5, 1.5, 0.108)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_alm7w"]
|
||||
size = Vector3(1.54395, 1, 0.982422)
|
||||
|
||||
@@ -27,7 +27,7 @@ HelperFuncs="*res://scripts/HelperFuncs.gd"
|
||||
[display]
|
||||
|
||||
window/size/mode=3
|
||||
mouse_cursor/custom_image="res://assets/UI/Edit Files/0.5x/Cursor 1@0.5x.png"
|
||||
mouse_cursor/custom_image="res://assets/UI/Edit Files/0.25x/Cursor 1@0.25x.png"
|
||||
|
||||
[editor]
|
||||
|
||||
|
||||
BIN
scenes/blockout_4.exr
Normal file
BIN
scenes/blockout_4.exr
Normal file
Binary file not shown.
26
scenes/blockout_4.exr.import
Normal file
26
scenes/blockout_4.exr.import
Normal file
@@ -0,0 +1,26 @@
|
||||
[remap]
|
||||
|
||||
importer="2d_array_texture"
|
||||
type="CompressedTexture2DArray"
|
||||
uid="uid://myvofofmq2n4"
|
||||
path="res://.godot/imported/blockout_4.exr-98ad055ca9dd4ef80e30398a0270967a.ctexarray"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/blockout_4.exr"
|
||||
dest_files=["res://.godot/imported/blockout_4.exr-98ad055ca9dd4ef80e30398a0270967a.ctexarray"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=3
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/channel_pack=1
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
slices/horizontal=1
|
||||
slices/vertical=4
|
||||
BIN
scenes/blockout_4.lmbake
Normal file
BIN
scenes/blockout_4.lmbake
Normal file
Binary file not shown.
39
scenes/blockout_4.tscn
Normal file
39
scenes/blockout_4.tscn
Normal file
@@ -0,0 +1,39 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://breenfpt04iua"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_8g3mj"]
|
||||
[ext_resource type="PackedScene" uid="uid://xerc06hjfnbf" path="res://assets/LevelBlockouts/blockout4.blend" id="1_038d8"]
|
||||
[ext_resource type="PackedScene" uid="uid://brl0bsqjl5dg3" path="res://assets/mac_10.tscn" id="2_7eop6"]
|
||||
[ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="4_ykmsc"]
|
||||
[ext_resource type="PackedScene" uid="uid://df34olntmk0wl" path="res://assets/vent_1.tscn" id="5_hc1cs"]
|
||||
[ext_resource type="PackedScene" uid="uid://20csd6dmwj4y" path="res://assets/jump_platform.tscn" id="6_p3qak"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_q4t3f"]
|
||||
background_energy_multiplier = 0.0
|
||||
tonemap_mode = 2
|
||||
ssr_enabled = true
|
||||
ssao_enabled = true
|
||||
ssil_enabled = true
|
||||
sdfgi_enabled = true
|
||||
sdfgi_use_occlusion = true
|
||||
glow_enabled = true
|
||||
glow_bloom = 0.2
|
||||
|
||||
[node name="Blockout4" type="Node3D" node_paths=PackedStringArray("player")]
|
||||
script = ExtResource("1_8g3mj")
|
||||
player = NodePath("Player")
|
||||
gun_1 = ExtResource("2_7eop6")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_q4t3f")
|
||||
|
||||
[node name="blockout4" parent="." instance=ExtResource("1_038d8")]
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("4_ykmsc")]
|
||||
transform = Transform3D(1, 0.000164476, 0.000583754, -0.000165075, 0.999999, 0.00104027, -0.000583585, -0.00104036, 0.999999, 1.3803, 1.11359, 2.15686)
|
||||
|
||||
[node name="Vent1" parent="." instance=ExtResource("5_hc1cs")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.71, 5.67755)
|
||||
|
||||
[node name="JumpPlatform" parent="." instance=ExtResource("6_p3qak")]
|
||||
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 34.3221, 6.80971, 12.7129)
|
||||
jump_amount = 30
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
extends StaticBody3D
|
||||
extends Node3D
|
||||
|
||||
@export var jump_amount = 20
|
||||
@export var stamina_replenish = true
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@tool
|
||||
extends Control
|
||||
|
||||
|
||||
|
||||
@@ -222,4 +222,4 @@ func load_resource_path(array):
|
||||
return final_array
|
||||
|
||||
func shot_fired():
|
||||
null_data_check(shots_fired, 1)
|
||||
shots_fired += 1 #null_data_check(shots_fired, 1)
|
||||
|
||||
Reference in New Issue
Block a user