forked from unfa/liblast
Implemented blood decals and bullet hit decals.
parent
fb395c090f
commit
35086b6373
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
"connections": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"label": "Graph",
|
||||||
|
"longdesc": "",
|
||||||
|
"name": "@@275",
|
||||||
|
"node_position": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
|
"export_paths": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"name": "Material",
|
||||||
|
"node_position": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"albedo_color": {
|
||||||
|
"a": 1,
|
||||||
|
"b": 1,
|
||||||
|
"g": 1,
|
||||||
|
"r": 1,
|
||||||
|
"type": "Color"
|
||||||
|
},
|
||||||
|
"ao": 1,
|
||||||
|
"depth_scale": 0.5,
|
||||||
|
"emission_energy": 1,
|
||||||
|
"flags_transparent": false,
|
||||||
|
"metallic": 0,
|
||||||
|
"normal": 1,
|
||||||
|
"roughness": 1,
|
||||||
|
"size": 11,
|
||||||
|
"sss": 0
|
||||||
|
},
|
||||||
|
"type": "material"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"shortdesc": "",
|
||||||
|
"type": "graph"
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{"name":"@@275","type":"graph","parameters":{},"node_position":{"x":0,"y":0},"label":"Graph","shortdesc":"","longdesc":"","nodes":[{"name":"Material","type":"material","parameters":{"albedo_color":{"type":"Color","r":1,"g":1,"b":1,"a":1},"metallic":1,"roughness":0,"emission_energy":1,"normal":1,"ao":1,"depth_scale":0.5,"flags_transparent":false,"sss":0,"size":11},"node_position":{"x":1856,"y":-24},"export_paths":{}},{"name":"image","type":"image","parameters":{"image":"/data/Projects/Games/Liblast/Asset Sources/Decals/Puddle.svg"},"node_position":{"x":-728,"y":28.5}},{"name":"gaussian_blur","type":"gaussian_blur","parameters":{"param0":10,"param1":222.5,"param2":0},"node_position":{"x":-525,"y":22.5}},{"name":"gaussian_blur_2","type":"gaussian_blur","parameters":{"param0":10,"param1":222.5,"param2":0},"node_position":{"x":-226.5,"y":5}},{"name":"gaussian_blur_3","type":"gaussian_blur","parameters":{"param0":10,"param1":222.5,"param2":0},"node_position":{"x":60.5,"y":2}},{"name":"gaussian_blur_4","type":"gaussian_blur","parameters":{"param0":10,"param1":222.5,"param2":0},"node_position":{"x":446.5,"y":-12}},{"name":"gaussian_blur_5","type":"gaussian_blur","parameters":{"param0":10,"param1":222.5,"param2":0},"node_position":{"x":724.5,"y":-28}},{"name":"normal_map","type":"normal_map","parameters":{"param2":0,"param0":10,"param1":-10.64,"param4":1},"node_position":{"x":1278,"y":16.5}},{"name":"tones_map","type":"tones_map","parameters":{"in_min":0,"in_max":1,"out_min":0,"out_max":0.9},"node_position":{"x":977,"y":-63.5}},{"name":"tones_map_2","type":"tones_map","parameters":{"in_min":0,"in_max":1,"out_min":0,"out_max":0.09},"node_position":{"x":-668,"y":-159.5}},{"name":"fast_blur","type":"fast_blur","parameters":{"param0":11,"param1":100,"param2":8},"node_position":{"x":1513,"y":-99.5}}],"connections":[{"from":"gaussian_blur","from_port":0,"to":"gaussian_blur_2","to_port":0},{"from":"gaussian_blur_2","from_port":0,"to":"gaussian_blur_3","to_port":0},{"from":"gaussian_blur_3","from_port":0,"to":"gaussian_blur_4","to_port":0},{"from":"gaussian_blur_4","from_port":0,"to":"gaussian_blur_5","to_port":0},{"from":"gaussian_blur_5","from_port":0,"to":"tones_map","to_port":0},{"from":"tones_map","from_port":0,"to":"normal_map","to_port":0},{"from":"image","from_port":0,"to":"tones_map_2","to_port":0},{"from":"tones_map_2","from_port":0,"to":"gaussian_blur","to_port":0},{"from":"normal_map","from_port":0,"to":"fast_blur","to_port":0},{"from":"fast_blur","from_port":0,"to":"Material","to_port":4}]}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -22,6 +22,7 @@ extends CharacterBody3D
|
||||||
@onready var weapon = $Head/Camera/Hand/Weapon
|
@onready var weapon = $Head/Camera/Hand/Weapon
|
||||||
|
|
||||||
var gibs_vfx = preload("res://Assets/Effects/Gibs.tscn")
|
var gibs_vfx = preload("res://Assets/Effects/Gibs.tscn")
|
||||||
|
var blood_decal = preload("res://Assets/Decals/Blood/BloodSplash.tscn")
|
||||||
|
|
||||||
# climb functions - temporarily disabled
|
# climb functions - temporarily disabled
|
||||||
#@onready var body_height = body.shape.height
|
#@onready var body_height = body.shape.height
|
||||||
|
@ -226,6 +227,10 @@ func damage(hp: int):
|
||||||
get_tree().root.add_child(gibs)
|
get_tree().root.add_child(gibs)
|
||||||
gibs.global_transform = self.global_transform
|
gibs.global_transform = self.global_transform
|
||||||
|
|
||||||
|
var decal = blood_decal.instantiate()
|
||||||
|
get_tree().root.add_child(decal)
|
||||||
|
decal.global_transform = self.global_transform
|
||||||
|
|
||||||
#if get_tree().get_rpc_sender_id() != get_multiplayer_authority():
|
#if get_tree().get_rpc_sender_id() != get_multiplayer_authority():
|
||||||
# print ("Death requested by a non-master. Ignoring")
|
# print ("Death requested by a non-master. Ignoring")
|
||||||
# return
|
# return
|
||||||
|
|
|
@ -82,6 +82,7 @@ script = ExtResource( "1" )
|
||||||
|
|
||||||
[node name="Mesh" type="MeshInstance3D" parent="."]
|
[node name="Mesh" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.852763, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.852763, 0)
|
||||||
|
layers = 2
|
||||||
mesh = SubResource( "1" )
|
mesh = SubResource( "1" )
|
||||||
surface_material_override/0 = null
|
surface_material_override/0 = null
|
||||||
script = null
|
script = null
|
||||||
|
@ -133,6 +134,7 @@ script = null
|
||||||
|
|
||||||
[node name="Jetpack" type="MeshInstance3D" parent="."]
|
[node name="Jetpack" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.93832, 0.5022)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.93832, 0.5022)
|
||||||
|
layers = 2
|
||||||
material_override = SubResource( "StandardMaterial3D_y4s21" )
|
material_override = SubResource( "StandardMaterial3D_y4s21" )
|
||||||
mesh = SubResource( "CylinderMesh_8yana" )
|
mesh = SubResource( "CylinderMesh_8yana" )
|
||||||
surface_material_override/0 = null
|
surface_material_override/0 = null
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
extends Decal
|
||||||
|
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a = 2
|
||||||
|
# var b = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
global_rotate(Vector3.UP, randf_range(0, PI * 2) )
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
#func _process(delta):
|
||||||
|
# pass
|
|
@ -0,0 +1,17 @@
|
||||||
|
[gd_resource type="SpatialMaterial" load_steps=5 format=2]
|
||||||
|
[ext_resource path="BloodSplash_albedo.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="BloodSplash_orm.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="BloodSplash_normal.png" type="Texture" id=3]
|
||||||
|
[resource]
|
||||||
|
albedo_color = Color(1, 1, 1, 1)
|
||||||
|
albedo_texture = ExtResource( 1 )
|
||||||
|
metallic = 0
|
||||||
|
roughness = 1
|
||||||
|
roughness_texture = ExtResource( 2 )
|
||||||
|
roughness_texture_channel = 1
|
||||||
|
normal_enabled = true
|
||||||
|
normal_scale = 1
|
||||||
|
normal_texture = ExtResource( 3 )
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,97 @@
|
||||||
|
[gd_scene load_steps=7 format=3 uid="uid://c8v12nnksjylf"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://th4fli1vgo1a" path="res://Assets/Decals/Blood/BloodSplash_albedo.png" id="1_mp7s4"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://pobhi2vhmdpc" path="res://Assets/Decals/Blood/BloodSplash_normal.png" id="2_42art"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bosf0mht2450i" path="res://Assets/Decals/Blood/BloodSplash_orm.png" id="3_xbmi4"]
|
||||||
|
[ext_resource type="Script" path="res://Assets/Decals/Blood/BloodSplash.gd" id="4_ce55d"]
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_qf47y"]
|
||||||
|
resource_name = "Fade"
|
||||||
|
length = 30.0
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/path = NodePath(".:distance_fade_begin")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0, 15, 30),
|
||||||
|
"transitions": PackedFloat32Array(1, 1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [20.0, 20.0, -20.0]
|
||||||
|
}
|
||||||
|
tracks/1/type = "value"
|
||||||
|
tracks/1/path = NodePath(".:distance_fade_length")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PackedFloat32Array(0, 15, 30),
|
||||||
|
"transitions": PackedFloat32Array(1, 1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [20.0, 20.0, 0.0]
|
||||||
|
}
|
||||||
|
tracks/2/type = "method"
|
||||||
|
tracks/2/path = NodePath(".")
|
||||||
|
tracks/2/interp = 1
|
||||||
|
tracks/2/loop_wrap = true
|
||||||
|
tracks/2/imported = false
|
||||||
|
tracks/2/enabled = true
|
||||||
|
tracks/2/keys = {
|
||||||
|
"times": PackedFloat32Array(30),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"values": [{
|
||||||
|
"args": [],
|
||||||
|
"method": &"queue_free"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_q6bfj"]
|
||||||
|
length = 0.001
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/path = NodePath(".:distance_fade_begin")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [20.0]
|
||||||
|
}
|
||||||
|
tracks/1/type = "value"
|
||||||
|
tracks/1/path = NodePath(".:distance_fade_length")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [20.0]
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="BloodSplash" type="Decal"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3, 0)
|
||||||
|
extents = Vector3(2, 5, 2)
|
||||||
|
texture_albedo = ExtResource( "1_mp7s4" )
|
||||||
|
texture_normal = ExtResource( "2_42art" )
|
||||||
|
texture_orm = ExtResource( "3_xbmi4" )
|
||||||
|
normal_fade = 0.4
|
||||||
|
upper_fade = 0.332871
|
||||||
|
lower_fade = 0.356762
|
||||||
|
distance_fade_enabled = true
|
||||||
|
distance_fade_begin = 20.0
|
||||||
|
distance_fade_length = 20.0
|
||||||
|
cull_mask = 1
|
||||||
|
script = ExtResource( "4_ce55d" )
|
||||||
|
|
||||||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
|
autoplay = "Fade"
|
||||||
|
anims/Fade = SubResource( "Animation_qf47y" )
|
||||||
|
anims/RESET = SubResource( "Animation_q6bfj" )
|
||||||
|
blend_times = []
|
||||||
|
script = null
|
Binary file not shown.
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://th4fli1vgo1a"
|
||||||
|
path.s3tc="res://.godot/imported/BloodSplash_albedo.png-9695213797bd3780e56c718551ec2a34.s3tc.stex"
|
||||||
|
path.etc2="res://.godot/imported/BloodSplash_albedo.png-9695213797bd3780e56c718551ec2a34.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Decals/Blood/BloodSplash_albedo.png"
|
||||||
|
dest_files=["res://.godot/imported/BloodSplash_albedo.png-9695213797bd3780e56c718551ec2a34.s3tc.stex", "res://.godot/imported/BloodSplash_albedo.png-9695213797bd3780e56c718551ec2a34.etc2.stex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
compress/streamed=false
|
||||||
|
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/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
|
svg/scale=1.0
|
Binary file not shown.
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://pobhi2vhmdpc"
|
||||||
|
path.s3tc="res://.godot/imported/BloodSplash_normal.png-48c6b2f64daf5e7bfac0fed9fbe055a5.s3tc.stex"
|
||||||
|
path.etc2="res://.godot/imported/BloodSplash_normal.png-48c6b2f64daf5e7bfac0fed9fbe055a5.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Decals/Blood/BloodSplash_normal.png"
|
||||||
|
dest_files=["res://.godot/imported/BloodSplash_normal.png-48c6b2f64daf5e7bfac0fed9fbe055a5.s3tc.stex", "res://.godot/imported/BloodSplash_normal.png-48c6b2f64daf5e7bfac0fed9fbe055a5.etc2.stex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=1
|
||||||
|
compress/channel_pack=0
|
||||||
|
compress/streamed=false
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=1
|
||||||
|
roughness/src_normal="res://Assets/Decals/Blood/BloodSplash_normal.png"
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
|
svg/scale=1.0
|
Binary file not shown.
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://bosf0mht2450i"
|
||||||
|
path.s3tc="res://.godot/imported/BloodSplash_orm.png-55467babaeec4f231f18067f02470de0.s3tc.stex"
|
||||||
|
path.etc2="res://.godot/imported/BloodSplash_orm.png-55467babaeec4f231f18067f02470de0.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Decals/Blood/BloodSplash_orm.png"
|
||||||
|
dest_files=["res://.godot/imported/BloodSplash_orm.png-55467babaeec4f231f18067f02470de0.s3tc.stex", "res://.godot/imported/BloodSplash_orm.png-55467babaeec4f231f18067f02470de0.etc2.stex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
compress/streamed=false
|
||||||
|
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/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
|
svg/scale=1.0
|
|
@ -0,0 +1,33 @@
|
||||||
|
[gd_resource type="SpatialMaterial" load_steps=5 format=2]
|
||||||
|
[ext_resource path="BulletHitConcrete_albedo.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="BulletHitConcrete_orm.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="BulletHitConcrete_normal.png" type="Texture" id=3]
|
||||||
|
[ext_resource path="BulletHitConcrete_depth.png" type="Texture" id=4]
|
||||||
|
[resource]
|
||||||
|
albedo_color = Color(1, 1, 1, 1)
|
||||||
|
albedo_texture = ExtResource( 1 )
|
||||||
|
metallic = 1
|
||||||
|
metallic_texture = ExtResource( 2 )
|
||||||
|
metallic_texture_channel = 2
|
||||||
|
roughness = 1
|
||||||
|
roughness_texture = ExtResource( 2 )
|
||||||
|
roughness_texture_channel = 1
|
||||||
|
normal_enabled = true
|
||||||
|
normal_scale = 2
|
||||||
|
normal_texture = ExtResource( 3 )
|
||||||
|
ao_enabled = true
|
||||||
|
ao_light_affect = 1
|
||||||
|
ao_texture = ExtResource( 2 )
|
||||||
|
ao_on_uv2 = false
|
||||||
|
ao_texture_channel = 0
|
||||||
|
depth_enabled = true
|
||||||
|
depth_scale = 0.2
|
||||||
|
depth_deep_parallax = true
|
||||||
|
depth_min_layers = 8
|
||||||
|
depth_max_layers = 32
|
||||||
|
depth_flip_tangent = false
|
||||||
|
depth_flip_binormal = false
|
||||||
|
depth_texture = ExtResource( 4 )
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://cb584onhet4nd"
|
||||||
|
path.s3tc="res://.godot/imported/BulletHitConcrete_albedo.png-24e30a79b2d94838247468c1233ee1f7.s3tc.stex"
|
||||||
|
path.etc2="res://.godot/imported/BulletHitConcrete_albedo.png-24e30a79b2d94838247468c1233ee1f7.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Decals/BulletHits/BulletHitConcrete_albedo.png"
|
||||||
|
dest_files=["res://.godot/imported/BulletHitConcrete_albedo.png-24e30a79b2d94838247468c1233ee1f7.s3tc.stex", "res://.godot/imported/BulletHitConcrete_albedo.png-24e30a79b2d94838247468c1233ee1f7.etc2.stex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
compress/streamed=false
|
||||||
|
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/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
|
svg/scale=1.0
|
Binary file not shown.
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://72ubk3ck2lme"
|
||||||
|
path.s3tc="res://.godot/imported/BulletHitConcrete_depth.png-e17ef6e53c66a356888154adf91644ef.s3tc.stex"
|
||||||
|
path.etc2="res://.godot/imported/BulletHitConcrete_depth.png-e17ef6e53c66a356888154adf91644ef.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Decals/BulletHits/BulletHitConcrete_depth.png"
|
||||||
|
dest_files=["res://.godot/imported/BulletHitConcrete_depth.png-e17ef6e53c66a356888154adf91644ef.s3tc.stex", "res://.godot/imported/BulletHitConcrete_depth.png-e17ef6e53c66a356888154adf91644ef.etc2.stex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
compress/streamed=false
|
||||||
|
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/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
|
svg/scale=1.0
|
Binary file not shown.
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://bs08bclmrvacp"
|
||||||
|
path.s3tc="res://.godot/imported/BulletHitConcrete_normal.png-25f7efe7bb4460c96b9032bddabcd063.s3tc.stex"
|
||||||
|
path.etc2="res://.godot/imported/BulletHitConcrete_normal.png-25f7efe7bb4460c96b9032bddabcd063.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Decals/BulletHits/BulletHitConcrete_normal.png"
|
||||||
|
dest_files=["res://.godot/imported/BulletHitConcrete_normal.png-25f7efe7bb4460c96b9032bddabcd063.s3tc.stex", "res://.godot/imported/BulletHitConcrete_normal.png-25f7efe7bb4460c96b9032bddabcd063.etc2.stex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=1
|
||||||
|
compress/channel_pack=0
|
||||||
|
compress/streamed=false
|
||||||
|
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/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
|
svg/scale=1.0
|
Binary file not shown.
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://ddncj1g0e27m8"
|
||||||
|
path.s3tc="res://.godot/imported/BulletHitConcrete_orm.png-0698284ef21986015663c02ec973647c.s3tc.stex"
|
||||||
|
path.etc2="res://.godot/imported/BulletHitConcrete_orm.png-0698284ef21986015663c02ec973647c.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Decals/BulletHits/BulletHitConcrete_orm.png"
|
||||||
|
dest_files=["res://.godot/imported/BulletHitConcrete_orm.png-0698284ef21986015663c02ec973647c.s3tc.stex", "res://.godot/imported/BulletHitConcrete_orm.png-0698284ef21986015663c02ec973647c.etc2.stex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
compress/streamed=false
|
||||||
|
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/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
|
svg/scale=1.0
|
|
@ -1,9 +1,12 @@
|
||||||
[gd_scene load_steps=13 format=3 uid="uid://egphnvwk6cg"]
|
[gd_scene load_steps=16 format=3 uid="uid://egphnvwk6cg"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Assets/Effects/Impact.gd" id="1"]
|
[ext_resource type="Script" path="res://Assets/Effects/Impact.gd" id="1"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cguy76rs8e220" path="res://Assets/Effects/Flame.png" id="2"]
|
[ext_resource type="Texture2D" uid="uid://cguy76rs8e220" path="res://Assets/Effects/Flame.png" id="2"]
|
||||||
[ext_resource type="Shader" path="res://Assets/Effects/ImpactBlood.gdshader" id="3_4p01j"]
|
[ext_resource type="Shader" path="res://Assets/Effects/ImpactBlood.gdshader" id="3_4p01j"]
|
||||||
[ext_resource type="PackedScene" uid="uid://c5cwnfuw4go1b" path="res://Assets/Audio/SoundPlayer.tscn" id="3_ftpj2"]
|
[ext_resource type="PackedScene" uid="uid://c5cwnfuw4go1b" path="res://Assets/Audio/SoundPlayer.tscn" id="3_ftpj2"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://th4fli1vgo1a" path="res://Assets/Decals/Blood/BloodSplash_albedo.png" id="5_koq4p"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://pobhi2vhmdpc" path="res://Assets/Decals/Blood/BloodSplash_normal.png" id="6_ak8en"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bosf0mht2450i" path="res://Assets/Decals/Blood/BloodSplash_orm.png" id="7_b0035"]
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_es1gj"]
|
[sub_resource type="Animation" id="Animation_es1gj"]
|
||||||
length = 0.001
|
length = 0.001
|
||||||
|
@ -19,9 +22,34 @@ tracks/0/keys = {
|
||||||
"update": 0,
|
"update": 0,
|
||||||
"values": [0.0, 1.0]
|
"values": [0.0, 1.0]
|
||||||
}
|
}
|
||||||
|
tracks/1/type = "value"
|
||||||
|
tracks/1/path = NodePath("Decal:distance_fade_begin")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [10.0]
|
||||||
|
}
|
||||||
|
tracks/2/type = "value"
|
||||||
|
tracks/2/path = NodePath("Decal:distance_fade_length")
|
||||||
|
tracks/2/interp = 1
|
||||||
|
tracks/2/loop_wrap = true
|
||||||
|
tracks/2/imported = false
|
||||||
|
tracks/2/enabled = true
|
||||||
|
tracks/2/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [10.0]
|
||||||
|
}
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_fex44"]
|
[sub_resource type="Animation" id="Animation_fex44"]
|
||||||
resource_name = "Splat"
|
resource_name = "Splat"
|
||||||
|
length = 15.0
|
||||||
tracks/0/type = "value"
|
tracks/0/type = "value"
|
||||||
tracks/0/path = NodePath("MeshInstance3D:shader_params/o3007790_ANIM")
|
tracks/0/path = NodePath("MeshInstance3D:shader_params/o3007790_ANIM")
|
||||||
tracks/0/interp = 1
|
tracks/0/interp = 1
|
||||||
|
@ -34,6 +62,58 @@ tracks/0/keys = {
|
||||||
"update": 0,
|
"update": 0,
|
||||||
"values": [0.0, 1.0]
|
"values": [0.0, 1.0]
|
||||||
}
|
}
|
||||||
|
tracks/1/type = "method"
|
||||||
|
tracks/1/path = NodePath("MeshInstance3D")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PackedFloat32Array(0.3),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"values": [{
|
||||||
|
"args": [],
|
||||||
|
"method": &"queue_free"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
tracks/2/type = "value"
|
||||||
|
tracks/2/path = NodePath("Decal:distance_fade_begin")
|
||||||
|
tracks/2/interp = 1
|
||||||
|
tracks/2/loop_wrap = true
|
||||||
|
tracks/2/imported = false
|
||||||
|
tracks/2/enabled = true
|
||||||
|
tracks/2/keys = {
|
||||||
|
"times": PackedFloat32Array(5, 15),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [10.0, -10.0]
|
||||||
|
}
|
||||||
|
tracks/3/type = "value"
|
||||||
|
tracks/3/path = NodePath("Decal:distance_fade_length")
|
||||||
|
tracks/3/interp = 1
|
||||||
|
tracks/3/loop_wrap = true
|
||||||
|
tracks/3/imported = false
|
||||||
|
tracks/3/enabled = true
|
||||||
|
tracks/3/keys = {
|
||||||
|
"times": PackedFloat32Array(5, 15),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [10.0, 0.0]
|
||||||
|
}
|
||||||
|
tracks/4/type = "method"
|
||||||
|
tracks/4/path = NodePath(".")
|
||||||
|
tracks/4/interp = 1
|
||||||
|
tracks/4/loop_wrap = true
|
||||||
|
tracks/4/imported = false
|
||||||
|
tracks/4/enabled = true
|
||||||
|
tracks/4/keys = {
|
||||||
|
"times": PackedFloat32Array(15),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"values": [{
|
||||||
|
"args": [],
|
||||||
|
"method": &"queue_free"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="7"]
|
[sub_resource type="StandardMaterial3D" id="7"]
|
||||||
blend_mode = 3
|
blend_mode = 3
|
||||||
|
@ -73,7 +153,6 @@ blend_times = []
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
||||||
visible = false
|
|
||||||
emitting = false
|
emitting = false
|
||||||
amount = 32
|
amount = 32
|
||||||
lifetime = 3.0
|
lifetime = 3.0
|
||||||
|
@ -92,12 +171,10 @@ script = null
|
||||||
|
|
||||||
[node name="Timer" type="Timer" parent="."]
|
[node name="Timer" type="Timer" parent="."]
|
||||||
wait_time = 2.0
|
wait_time = 2.0
|
||||||
one_shot = true
|
|
||||||
autostart = true
|
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, -1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 0.00379224, 0)
|
transform = Transform3D(1, 0, 0, 0, -1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 0.00379224, -0.855044)
|
||||||
shader_params/o3007790_ANIM = 0.0
|
shader_params/o3007790_ANIM = 0.0
|
||||||
shader_params/o3007790_OFFSET = 0.0
|
shader_params/o3007790_OFFSET = 0.0
|
||||||
mesh = SubResource( "QuadMesh_xdhl5" )
|
mesh = SubResource( "QuadMesh_xdhl5" )
|
||||||
|
@ -107,11 +184,26 @@ script = null
|
||||||
[node name="SoundPlayer" parent="." instance=ExtResource( "3_ftpj2" )]
|
[node name="SoundPlayer" parent="." instance=ExtResource( "3_ftpj2" )]
|
||||||
SoundClip = "res://Assets/SFX/Weapons_BulletHitPlayer_01.wav"
|
SoundClip = "res://Assets/SFX/Weapons_BulletHitPlayer_01.wav"
|
||||||
AutoPlay = true
|
AutoPlay = true
|
||||||
|
RandomizePitch = 0.3
|
||||||
|
|
||||||
[node name="AudioStreamPlayer3D" parent="SoundPlayer" index="0"]
|
[node name="AudioStreamPlayer3D" parent="SoundPlayer" index="0"]
|
||||||
unit_db = -3.0
|
unit_db = -3.0
|
||||||
unit_size = 2.0
|
unit_size = 2.0
|
||||||
|
|
||||||
|
[node name="Decal" type="Decal" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 2.65704)
|
||||||
|
extents = Vector3(1, 3.66033, 1)
|
||||||
|
texture_albedo = ExtResource( "5_koq4p" )
|
||||||
|
texture_normal = ExtResource( "6_ak8en" )
|
||||||
|
texture_orm = ExtResource( "7_b0035" )
|
||||||
|
normal_fade = 0.397
|
||||||
|
upper_fade = 0.00618518
|
||||||
|
lower_fade = 0.178381
|
||||||
|
distance_fade_enabled = true
|
||||||
|
distance_fade_length = 10.0
|
||||||
|
cull_mask = 1
|
||||||
|
script = null
|
||||||
|
|
||||||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
||||||
|
|
||||||
[editable path="SoundPlayer"]
|
[editable path="SoundPlayer"]
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
[gd_scene load_steps=12 format=3 uid="uid://d1yx12uryxl26"]
|
[gd_scene load_steps=17 format=3 uid="uid://d1yx12uryxl26"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Assets/Effects/Impact.gd" id="1"]
|
[ext_resource type="Script" path="res://Assets/Effects/Impact.gd" id="1"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cguy76rs8e220" path="res://Assets/Effects/Flame.png" id="2"]
|
[ext_resource type="Texture2D" uid="uid://cguy76rs8e220" path="res://Assets/Effects/Flame.png" id="2"]
|
||||||
[ext_resource type="PackedScene" uid="uid://c5cwnfuw4go1b" path="res://Assets/Audio/SoundPlayer.tscn" id="3_oh3bk"]
|
[ext_resource type="PackedScene" uid="uid://c5cwnfuw4go1b" path="res://Assets/Audio/SoundPlayer.tscn" id="3_oh3bk"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cb584onhet4nd" path="res://Assets/Decals/BulletHits/BulletHitConcrete_albedo.png" id="4_6wvg3"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bs08bclmrvacp" path="res://Assets/Decals/BulletHits/BulletHitConcrete_normal.png" id="5_fr6k3"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://ddncj1g0e27m8" path="res://Assets/Decals/BulletHits/BulletHitConcrete_orm.png" id="6_0nm8w"]
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="1"]
|
[sub_resource type="StandardMaterial3D" id="1"]
|
||||||
blend_mode = 1
|
blend_mode = 1
|
||||||
|
@ -92,6 +95,113 @@ tracks/1/keys = {
|
||||||
"values": [1.0, 0.0]
|
"values": [1.0, 0.0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_itp5v"]
|
||||||
|
length = 0.001
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/path = NodePath("MeshInstance3D:shader_params/o3007790_ANIM")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0, 0.5),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [0.0, 1.0]
|
||||||
|
}
|
||||||
|
tracks/1/type = "value"
|
||||||
|
tracks/1/path = NodePath("Decal:distance_fade_begin")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [20.0]
|
||||||
|
}
|
||||||
|
tracks/2/type = "value"
|
||||||
|
tracks/2/path = NodePath("Decal:distance_fade_length")
|
||||||
|
tracks/2/interp = 1
|
||||||
|
tracks/2/loop_wrap = true
|
||||||
|
tracks/2/imported = false
|
||||||
|
tracks/2/enabled = true
|
||||||
|
tracks/2/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [10.0]
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_55he2"]
|
||||||
|
resource_name = "Splat"
|
||||||
|
length = 15.0
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/path = NodePath("MeshInstance3D:shader_params/o3007790_ANIM")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0, 0.3),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [0.0, 1.0]
|
||||||
|
}
|
||||||
|
tracks/1/type = "method"
|
||||||
|
tracks/1/path = NodePath("MeshInstance3D")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PackedFloat32Array(0.3),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"values": [{
|
||||||
|
"args": [],
|
||||||
|
"method": &"queue_free"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
tracks/2/type = "value"
|
||||||
|
tracks/2/path = NodePath("Decal:distance_fade_begin")
|
||||||
|
tracks/2/interp = 1
|
||||||
|
tracks/2/loop_wrap = true
|
||||||
|
tracks/2/imported = false
|
||||||
|
tracks/2/enabled = true
|
||||||
|
tracks/2/keys = {
|
||||||
|
"times": PackedFloat32Array(5, 15),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [10.0, -10.0]
|
||||||
|
}
|
||||||
|
tracks/3/type = "value"
|
||||||
|
tracks/3/path = NodePath("Decal:distance_fade_length")
|
||||||
|
tracks/3/interp = 1
|
||||||
|
tracks/3/loop_wrap = true
|
||||||
|
tracks/3/imported = false
|
||||||
|
tracks/3/enabled = true
|
||||||
|
tracks/3/keys = {
|
||||||
|
"times": PackedFloat32Array(5, 15),
|
||||||
|
"transitions": PackedFloat32Array(1, 1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [10.0, 0.0]
|
||||||
|
}
|
||||||
|
tracks/4/type = "method"
|
||||||
|
tracks/4/path = NodePath(".")
|
||||||
|
tracks/4/interp = 1
|
||||||
|
tracks/4/loop_wrap = true
|
||||||
|
tracks/4/imported = false
|
||||||
|
tracks/4/enabled = true
|
||||||
|
tracks/4/keys = {
|
||||||
|
"times": PackedFloat32Array(15),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"values": [{
|
||||||
|
"args": [],
|
||||||
|
"method": &"queue_free"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
|
||||||
[node name="Impact" type="Node3D"]
|
[node name="Impact" type="Node3D"]
|
||||||
script = ExtResource( "1" )
|
script = ExtResource( "1" )
|
||||||
|
|
||||||
|
@ -114,12 +224,11 @@ script = null
|
||||||
|
|
||||||
[node name="Timer" type="Timer" parent="."]
|
[node name="Timer" type="Timer" parent="."]
|
||||||
wait_time = 15.0
|
wait_time = 15.0
|
||||||
one_shot = true
|
|
||||||
autostart = true
|
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.00379224, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 1.06581e-14, 0, -1.06581e-14, 1, 0, 0.00379224, 0)
|
||||||
|
visible = false
|
||||||
mesh = SubResource( "6" )
|
mesh = SubResource( "6" )
|
||||||
surface_material_override/0 = null
|
surface_material_override/0 = null
|
||||||
script = null
|
script = null
|
||||||
|
@ -146,6 +255,27 @@ RandomizePitch = 0.1
|
||||||
unit_db = -8.0
|
unit_db = -8.0
|
||||||
unit_size = 2.0
|
unit_size = 2.0
|
||||||
|
|
||||||
|
[node name="AnimationPlayer2" type="AnimationPlayer" parent="."]
|
||||||
|
autoplay = "Splat"
|
||||||
|
anims/RESET = SubResource( "Animation_itp5v" )
|
||||||
|
anims/Splat = SubResource( "Animation_55he2" )
|
||||||
|
blend_times = []
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="Decal" type="Decal" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -0.0171875)
|
||||||
|
extents = Vector3(0.1, 0.5, 0.1)
|
||||||
|
texture_albedo = ExtResource( "4_6wvg3" )
|
||||||
|
texture_normal = ExtResource( "5_fr6k3" )
|
||||||
|
texture_orm = ExtResource( "6_0nm8w" )
|
||||||
|
upper_fade = 0.00618518
|
||||||
|
lower_fade = 0.023084
|
||||||
|
distance_fade_enabled = true
|
||||||
|
distance_fade_begin = 20.0
|
||||||
|
distance_fade_length = 10.0
|
||||||
|
cull_mask = 1
|
||||||
|
script = null
|
||||||
|
|
||||||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
||||||
|
|
||||||
[editable path="SoundPlayer"]
|
[editable path="SoundPlayer"]
|
||||||
|
|
|
@ -42,6 +42,12 @@ bones/0/pose = Transform3D(1, -1.42109e-14, -5.04871e-29, 1.42109e-14, 1, -3.587
|
||||||
bones/1/pose = Transform3D(1, 1.42109e-14, -2.01948e-28, -1.42109e-14, 1, -1.42109e-14, 0, 1.42109e-14, 1, 0, 0, 0)
|
bones/1/pose = Transform3D(1, 1.42109e-14, -2.01948e-28, -1.42109e-14, 1, -1.42109e-14, 0, 1.42109e-14, 1, 0, 0, 0)
|
||||||
bones/2/pose = Transform3D(1, 1.49012e-08, 1.49012e-08, -1.49012e-08, 1, 2.98023e-08, -1.49012e-08, -2.98023e-08, 1, 0, 0, 0)
|
bones/2/pose = Transform3D(1, 1.49012e-08, 1.49012e-08, -1.49012e-08, 1, 2.98023e-08, -1.49012e-08, -2.98023e-08, 1, 0, 0, 0)
|
||||||
|
|
||||||
|
[node name="Static" parent="Handgun/Handgun_Armature/Skeleton3D" index="0"]
|
||||||
|
layers = 2
|
||||||
|
|
||||||
|
[node name="Hand" parent="Handgun/HandArmature/Skeleton3D2" index="0"]
|
||||||
|
layers = 2
|
||||||
|
|
||||||
[node name="AnimationPlayer" parent="Handgun" index="4"]
|
[node name="AnimationPlayer" parent="Handgun" index="4"]
|
||||||
autoplay = "Default"
|
autoplay = "Default"
|
||||||
anims/Default = SubResource( "1" )
|
anims/Default = SubResource( "1" )
|
||||||
|
|
|
@ -89,7 +89,6 @@ script = null
|
||||||
|
|
||||||
[node name="Decals" type="Node3D" parent="."]
|
[node name="Decals" type="Node3D" parent="."]
|
||||||
transform = Transform3D(-0.965926, 0.258819, 4.2222e-08, 4.37114e-08, 1.43551e-22, 1, 0.258819, 0.965926, -1.13133e-08, 14.1763, 3.94448, 0.097948)
|
transform = Transform3D(-0.965926, 0.258819, 4.2222e-08, 4.37114e-08, 1.43551e-22, 1, 0.258819, 0.965926, -1.13133e-08, 14.1763, 3.94448, 0.097948)
|
||||||
visible = false
|
|
||||||
script = null
|
script = null
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_lock_": true
|
"_edit_lock_": true
|
||||||
|
@ -102,6 +101,7 @@ texture_albedo = ExtResource( "1_ucgnk" )
|
||||||
texture_normal = ExtResource( "2_lx0ok" )
|
texture_normal = ExtResource( "2_lx0ok" )
|
||||||
texture_orm = ExtResource( "3_j0uem" )
|
texture_orm = ExtResource( "3_j0uem" )
|
||||||
albedo_mix = 0.0
|
albedo_mix = 0.0
|
||||||
|
cull_mask = 1
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="Puddle2" type="Decal" parent="Decals"]
|
[node name="Puddle2" type="Decal" parent="Decals"]
|
||||||
|
@ -111,6 +111,7 @@ texture_albedo = ExtResource( "1_ucgnk" )
|
||||||
texture_normal = ExtResource( "2_lx0ok" )
|
texture_normal = ExtResource( "2_lx0ok" )
|
||||||
texture_orm = ExtResource( "3_j0uem" )
|
texture_orm = ExtResource( "3_j0uem" )
|
||||||
albedo_mix = 0.0
|
albedo_mix = 0.0
|
||||||
|
cull_mask = 1
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="Puddle4" type="Decal" parent="Decals"]
|
[node name="Puddle4" type="Decal" parent="Decals"]
|
||||||
|
@ -120,6 +121,7 @@ texture_albedo = ExtResource( "1_ucgnk" )
|
||||||
texture_normal = ExtResource( "2_lx0ok" )
|
texture_normal = ExtResource( "2_lx0ok" )
|
||||||
texture_orm = ExtResource( "3_j0uem" )
|
texture_orm = ExtResource( "3_j0uem" )
|
||||||
albedo_mix = 0.0
|
albedo_mix = 0.0
|
||||||
|
cull_mask = 1
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="Puddle3" type="Decal" parent="Decals"]
|
[node name="Puddle3" type="Decal" parent="Decals"]
|
||||||
|
@ -129,6 +131,7 @@ texture_albedo = ExtResource( "1_ucgnk" )
|
||||||
texture_normal = ExtResource( "2_lx0ok" )
|
texture_normal = ExtResource( "2_lx0ok" )
|
||||||
texture_orm = ExtResource( "3_j0uem" )
|
texture_orm = ExtResource( "3_j0uem" )
|
||||||
albedo_mix = 0.0
|
albedo_mix = 0.0
|
||||||
|
cull_mask = 1
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="Logo" type="Decal" parent="Decals"]
|
[node name="Logo" type="Decal" parent="Decals"]
|
||||||
|
@ -137,10 +140,10 @@ extents = Vector3(1, 0.0327708, 1)
|
||||||
texture_emission = ExtResource( "4_mci55" )
|
texture_emission = ExtResource( "4_mci55" )
|
||||||
emission_energy = 2.0
|
emission_energy = 2.0
|
||||||
albedo_mix = 0.0
|
albedo_mix = 0.0
|
||||||
|
cull_mask = 1
|
||||||
script = ExtResource( "5_yr76j" )
|
script = ExtResource( "5_yr76j" )
|
||||||
|
|
||||||
[node name="Lights" type="Node3D" parent="."]
|
[node name="Lights" type="Node3D" parent="."]
|
||||||
visible = false
|
|
||||||
script = null
|
script = null
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_lock_": true
|
"_edit_lock_": true
|
||||||
|
@ -231,7 +234,6 @@ script = null
|
||||||
|
|
||||||
[node name="ReflectionProbes" type="Node3D" parent="."]
|
[node name="ReflectionProbes" type="Node3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 12.8418, -0.943157)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 12.8418, -0.943157)
|
||||||
visible = false
|
|
||||||
script = null
|
script = null
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_lock_": true
|
"_edit_lock_": true
|
||||||
|
|
|
@ -0,0 +1,73 @@
|
||||||
|
[preset.0]
|
||||||
|
|
||||||
|
name="Linux/X11"
|
||||||
|
platform="Linux/X11"
|
||||||
|
runnable=true
|
||||||
|
custom_features=""
|
||||||
|
export_filter="all_resources"
|
||||||
|
include_filter="*.wav, *.sample"
|
||||||
|
exclude_filter=""
|
||||||
|
export_path="Builds/Liblast Linux.x86_64"
|
||||||
|
encryption_include_filters=""
|
||||||
|
encryption_exclude_filters=""
|
||||||
|
encrypt_pck=false
|
||||||
|
encrypt_directory=false
|
||||||
|
script_export_mode=0
|
||||||
|
script_encryption_key=""
|
||||||
|
|
||||||
|
[preset.0.options]
|
||||||
|
|
||||||
|
custom_template/debug=""
|
||||||
|
custom_template/release=""
|
||||||
|
binary_format/64_bits=true
|
||||||
|
binary_format/embed_pck=true
|
||||||
|
texture_format/bptc=false
|
||||||
|
texture_format/s3tc=true
|
||||||
|
texture_format/etc=false
|
||||||
|
texture_format/etc2=false
|
||||||
|
texture_format/no_bptc_fallbacks=true
|
||||||
|
|
||||||
|
[preset.1]
|
||||||
|
|
||||||
|
name="Windows Desktop"
|
||||||
|
platform="Windows Desktop"
|
||||||
|
runnable=true
|
||||||
|
custom_features=""
|
||||||
|
export_filter="all_resources"
|
||||||
|
include_filter="*.wav, *.sample"
|
||||||
|
exclude_filter=""
|
||||||
|
export_path="Builds/Liblast Windows.exe"
|
||||||
|
encryption_include_filters=""
|
||||||
|
encryption_exclude_filters=""
|
||||||
|
encrypt_pck=false
|
||||||
|
encrypt_directory=false
|
||||||
|
script_export_mode=0
|
||||||
|
script_encryption_key=""
|
||||||
|
|
||||||
|
[preset.1.options]
|
||||||
|
|
||||||
|
custom_template/debug=""
|
||||||
|
custom_template/release=""
|
||||||
|
binary_format/64_bits=true
|
||||||
|
binary_format/embed_pck=false
|
||||||
|
texture_format/bptc=false
|
||||||
|
texture_format/s3tc=true
|
||||||
|
texture_format/etc=false
|
||||||
|
texture_format/etc2=false
|
||||||
|
texture_format/no_bptc_fallbacks=true
|
||||||
|
codesign/enable=false
|
||||||
|
codesign/identity=""
|
||||||
|
codesign/password=""
|
||||||
|
codesign/timestamp=true
|
||||||
|
codesign/timestamp_server_url=""
|
||||||
|
codesign/digest_algorithm=1
|
||||||
|
codesign/description=""
|
||||||
|
codesign/custom_options=PackedStringArray()
|
||||||
|
application/icon=""
|
||||||
|
application/file_version=""
|
||||||
|
application/product_version=""
|
||||||
|
application/company_name=""
|
||||||
|
application/product_name=""
|
||||||
|
application/file_description=""
|
||||||
|
application/copyright=""
|
||||||
|
application/trademarks=""
|
|
@ -129,6 +129,8 @@ show_scoretab={
|
||||||
|
|
||||||
[layer_names]
|
[layer_names]
|
||||||
|
|
||||||
|
3d_render/layer_1="Map Geometry"
|
||||||
|
3d_render/layer_2="Character Models"
|
||||||
3d_physics/layer_1="World"
|
3d_physics/layer_1="World"
|
||||||
3d_physics/layer_2="Players"
|
3d_physics/layer_2="Players"
|
||||||
3d_physics/layer_3="Pickups"
|
3d_physics/layer_3="Pickups"
|
||||||
|
|
Loading…
Reference in New Issue