Added weapons and decals
This commit is contained in:
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