Added weapons and decals
This commit is contained in:
BIN
scenes/decals/blood.material
Normal file
BIN
scenes/decals/blood.material
Normal file
Binary file not shown.
51
scenes/decals/blood.tscn
Normal file
51
scenes/decals/blood.tscn
Normal file
@@ -0,0 +1,51 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=1]
|
||||
flags_unshaded = true
|
||||
vertex_color_use_as_albedo = true
|
||||
params_billboard_mode = 3
|
||||
params_use_alpha_scissor = true
|
||||
params_alpha_scissor_threshold = 0.7
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="QuadMesh" id=2]
|
||||
material = SubResource( 1 )
|
||||
size = Vector2( 0.02, 0.02 )
|
||||
|
||||
[sub_resource type="Curve" id=3]
|
||||
min_value = -360.0
|
||||
max_value = 360.0
|
||||
_data = [ Vector2( 0, -76.1539 ), 0.0, 0.0, 0, 0, Vector2( 0.893855, 76.1538 ), 0.0, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="Curve" id=4]
|
||||
max_value = 100.0
|
||||
_data = [ Vector2( 0, 15.3846 ), 0.0, 0.0, 0, 0, Vector2( 1, 6.73077 ), 0.0, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="Curve" id=5]
|
||||
_data = [ Vector2( 0, 0.384615 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.836538 ), 0.0, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="Gradient" id=6]
|
||||
offsets = PoolRealArray( 0, 0.45679 )
|
||||
colors = PoolColorArray( 0.964706, 0.00392157, 0.00392157, 1, 0.984375, 0.0269165, 0.0269165, 1 )
|
||||
|
||||
[node name="blood" type="CPUParticles"]
|
||||
emitting = false
|
||||
amount = 250
|
||||
lifetime = 0.7
|
||||
one_shot = true
|
||||
randomness = 0.4
|
||||
lifetime_randomness = 0.76
|
||||
mesh = SubResource( 2 )
|
||||
direction = Vector3( 0, 1, 0 )
|
||||
spread = 90.0
|
||||
gravity = Vector3( 0, 0.2, 0 )
|
||||
initial_velocity = 4.0
|
||||
initial_velocity_random = 0.2
|
||||
angular_velocity = 0.2
|
||||
angular_velocity_random = 0.5
|
||||
angular_velocity_curve = SubResource( 3 )
|
||||
damping_curve = SubResource( 4 )
|
||||
scale_amount_curve = SubResource( 5 )
|
||||
color_ramp = SubResource( 6 )
|
||||
168
scenes/decals/blood1-decal.gltf
Normal file
168
scenes/decals/blood1-decal.gltf
Normal file
File diff suppressed because one or more lines are too long
1064
scenes/decals/blood1-decal.gltf.import
Normal file
1064
scenes/decals/blood1-decal.gltf.import
Normal file
File diff suppressed because it is too large
Load Diff
BIN
scenes/decals/blood1-decal_blood-mesh.mesh
Normal file
BIN
scenes/decals/blood1-decal_blood-mesh.mesh
Normal file
Binary file not shown.
20
scenes/weapons/dagger_collision.tscn
Normal file
20
scenes/weapons/dagger_collision.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[sub_resource type="BoxShape" id=1]
|
||||
extents = Vector3( 0.0287175, 0.0259563, 0.0102432 )
|
||||
|
||||
[sub_resource type="BoxShape" id=2]
|
||||
extents = Vector3( 0.0197592, 0.0623342, 0.0109773 )
|
||||
|
||||
[node name="dagger_collision" type="Area" groups=[
|
||||
"weapon_hit",
|
||||
]]
|
||||
monitoring = false
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0501232, 0.183985, 0 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="CollisionShape2" type="CollisionShape" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00329322, 0.11248, 0 )
|
||||
shape = SubResource( 2 )
|
||||
BIN
scenes/weapons/sacrificial_dagger.bin
Normal file
BIN
scenes/weapons/sacrificial_dagger.bin
Normal file
Binary file not shown.
132
scenes/weapons/sacrificial_dagger.gltf
Normal file
132
scenes/weapons/sacrificial_dagger.gltf
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"asset" : {
|
||||
"generator" : "Khronos glTF Blender I/O v1.2.75",
|
||||
"version" : "2.0"
|
||||
},
|
||||
"scene" : 0,
|
||||
"scenes" : [
|
||||
{
|
||||
"name" : "Scene",
|
||||
"nodes" : [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes" : [
|
||||
{
|
||||
"mesh" : 0,
|
||||
"name" : "melee_sacrificial_dagger"
|
||||
}
|
||||
],
|
||||
"materials" : [
|
||||
{
|
||||
"doubleSided" : true,
|
||||
"emissiveFactor" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"name" : "village",
|
||||
"pbrMetallicRoughness" : {
|
||||
"baseColorTexture" : {
|
||||
"index" : 0,
|
||||
"texCoord" : 0
|
||||
},
|
||||
"metallicFactor" : 0,
|
||||
"roughnessFactor" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes" : [
|
||||
{
|
||||
"name" : "Dagger_Cylinder.035",
|
||||
"primitives" : [
|
||||
{
|
||||
"attributes" : {
|
||||
"POSITION" : 0,
|
||||
"NORMAL" : 1,
|
||||
"TEXCOORD_0" : 2
|
||||
},
|
||||
"indices" : 3,
|
||||
"material" : 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"textures" : [
|
||||
{
|
||||
"source" : 0
|
||||
}
|
||||
],
|
||||
"images" : [
|
||||
{
|
||||
"mimeType" : "image/png",
|
||||
"name" : "village",
|
||||
"uri" : "village.png"
|
||||
}
|
||||
],
|
||||
"accessors" : [
|
||||
{
|
||||
"bufferView" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 1123,
|
||||
"max" : [
|
||||
0.031233258545398712,
|
||||
0.19620095193386078,
|
||||
0.01108939852565527
|
||||
],
|
||||
"min" : [
|
||||
-0.07420481741428375,
|
||||
-0.05135456845164299,
|
||||
-0.01109620276838541
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 1,
|
||||
"componentType" : 5126,
|
||||
"count" : 1123,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 2,
|
||||
"componentType" : 5126,
|
||||
"count" : 1123,
|
||||
"type" : "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView" : 3,
|
||||
"componentType" : 5123,
|
||||
"count" : 2178,
|
||||
"type" : "SCALAR"
|
||||
}
|
||||
],
|
||||
"bufferViews" : [
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 13476,
|
||||
"byteOffset" : 0
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 13476,
|
||||
"byteOffset" : 13476
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 8984,
|
||||
"byteOffset" : 26952
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 4356,
|
||||
"byteOffset" : 35936
|
||||
}
|
||||
],
|
||||
"buffers" : [
|
||||
{
|
||||
"byteLength" : 40292,
|
||||
"uri" : "sacrificial_dagger.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
1064
scenes/weapons/sacrificial_dagger.gltf.import
Normal file
1064
scenes/weapons/sacrificial_dagger.gltf.import
Normal file
File diff suppressed because it is too large
Load Diff
5
scenes/weapons/sacrificial_dagger.tscn
Normal file
5
scenes/weapons/sacrificial_dagger.tscn
Normal file
@@ -0,0 +1,5 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/weapons/sacrificial_dagger.gltf" type="PackedScene" id=2]
|
||||
|
||||
[node name="sacrificial_dagger" instance=ExtResource( 2 )]
|
||||
BIN
scenes/weapons/village.material
Normal file
BIN
scenes/weapons/village.material
Normal file
Binary file not shown.
BIN
scenes/weapons/village.png
Normal file
BIN
scenes/weapons/village.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
37
scenes/weapons/village.png.import
Normal file
37
scenes/weapons/village.png.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path.s3tc="res://.import/village.png-dd33047e87d5b5087e172e6f76dacd91.s3tc.stex"
|
||||
path.etc2="res://.import/village.png-dd33047e87d5b5087e172e6f76dacd91.etc2.stex"
|
||||
metadata={
|
||||
"imported_formats": [ "s3tc", "etc2" ],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/weapons/village.png"
|
||||
dest_files=[ "res://.import/village.png-dd33047e87d5b5087e172e6f76dacd91.s3tc.stex", "res://.import/village.png-dd33047e87d5b5087e172e6f76dacd91.etc2.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
||||
Reference in New Issue
Block a user