Added Dagger, Axe and Sword.

main
Martin Felis 2024-09-30 17:00:16 +02:00
parent 784cc92240
commit 921a8c1eff
13 changed files with 179 additions and 1 deletions

BIN
assets/tools/Axe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://myyurouw1kui"
path="res://.godot/imported/Axe.png-aa3d12476973663125147a0b97002b99.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/tools/Axe.png"
dest_files=["res://.godot/imported/Axe.png-aa3d12476973663125147a0b97002b99.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

5
assets/tools/Axe.tscn Normal file
View File

@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=3 uid="uid://d2m3w0egvoh22"]
[ext_resource type="PackedScene" uid="uid://cm6xrri1euein" path="res://assets/3rdparty/KayKit_Adventurers_1.0_EXTRA/Assets/axe_1handed.gltf" id="1_lf7b1"]
[node name="axe_1handed2" instance=ExtResource("1_lf7b1")]

BIN
assets/tools/Dagger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b7ip5162fo6jc"
path="res://.godot/imported/Dagger.png-2b576045d3280994d2fcdcdaaa3f4f1d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/tools/Dagger.png"
dest_files=["res://.godot/imported/Dagger.png-2b576045d3280994d2fcdcdaaa3f4f1d.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

5
assets/tools/Dagger.tscn Normal file
View File

@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=3 uid="uid://d0gvv2ddnk8gf"]
[ext_resource type="PackedScene" uid="uid://20v2mjpyxm15" path="res://assets/3rdparty/KayKit_Adventurers_1.0_EXTRA/Assets/dagger.gltf" id="1_3dufl"]
[node name="dagger2" instance=ExtResource("1_3dufl")]

BIN
assets/tools/Sword.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dudsmx6hrni7v"
path="res://.godot/imported/Sword.png-b9e7a186a29398140cdd217908396a65.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/tools/Sword.png"
dest_files=["res://.godot/imported/Sword.png-b9e7a186a29398140cdd217908396a65.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

5
assets/tools/Sword.tscn Normal file
View File

@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=3 uid="uid://b0hxoadcvbumx"]
[ext_resource type="PackedScene" uid="uid://ddt2ameyjmbht" path="res://assets/3rdparty/KayKit_Adventurers_1.0_EXTRA/Assets/sword_1handed.gltf" id="1_mee4c"]
[node name="sword_1handed2" instance=ExtResource("1_mee4c")]

14
data/items/axe.tres Normal file
View File

@ -0,0 +1,14 @@
[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://cktn5p1wetkve"]
[ext_resource type="Texture2D" uid="uid://myyurouw1kui" path="res://assets/tools/Axe.png" id="1_dlqed"]
[ext_resource type="Script" path="res://model/item.gd" id="1_tec3u"]
[ext_resource type="PackedScene" uid="uid://d2m3w0egvoh22" path="res://assets/tools/Axe.tscn" id="2_ju1vu"]
[resource]
script = ExtResource("1_tec3u")
name = "Axe"
scene = ExtResource("2_ju1vu")
icon = ExtResource("1_dlqed")
max_stack_size = 1
is_tool = true
is_buildable = false

14
data/items/dagger.tres Normal file
View File

@ -0,0 +1,14 @@
[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://bob26ycbled6r"]
[ext_resource type="Texture2D" uid="uid://b7ip5162fo6jc" path="res://assets/tools/Dagger.png" id="1_afk8v"]
[ext_resource type="Script" path="res://model/item.gd" id="1_p2ipn"]
[ext_resource type="PackedScene" uid="uid://d0gvv2ddnk8gf" path="res://assets/tools/Dagger.tscn" id="2_xqhva"]
[resource]
script = ExtResource("1_p2ipn")
name = "Dagger"
scene = ExtResource("2_xqhva")
icon = ExtResource("1_afk8v")
max_stack_size = 1
is_tool = true
is_buildable = false

14
data/items/sword.tres Normal file
View File

@ -0,0 +1,14 @@
[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://cbitlk81jxwfa"]
[ext_resource type="Texture2D" uid="uid://dudsmx6hrni7v" path="res://assets/tools/Sword.png" id="1_gprhx"]
[ext_resource type="Script" path="res://model/item.gd" id="1_pr3as"]
[ext_resource type="PackedScene" uid="uid://b0hxoadcvbumx" path="res://assets/tools/Sword.tscn" id="2_ym223"]
[resource]
script = ExtResource("1_pr3as")
name = "Sword"
scene = ExtResource("2_ym223")
icon = ExtResource("1_gprhx")
max_stack_size = 1
is_tool = true
is_buildable = false

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=3 uid="uid://dmagdl5pi6jdj"]
[gd_scene load_steps=21 format=3 uid="uid://dmagdl5pi6jdj"]
[ext_resource type="MeshLibrary" uid="uid://dcpuitbu16j1a" path="res://assets/mesh_library.tres" id="1_q0eym"]
[ext_resource type="PackedScene" uid="uid://da5r82nvypfk4" path="res://objects/pickup_item.tscn" id="2_ccr0r"]
@ -6,6 +6,9 @@
[ext_resource type="Resource" uid="uid://bn5j38jbwlj1f" path="res://data/items/stick.tres" id="5_uqakj"]
[ext_resource type="Resource" uid="uid://c1ll2snhgv3m1" path="res://data/items/treelog.tres" id="6_l0uqq"]
[ext_resource type="Resource" uid="uid://det51k1t422rq" path="res://data/items/pickaxe.tres" id="7_3sab5"]
[ext_resource type="Resource" uid="uid://bob26ycbled6r" path="res://data/items/dagger.tres" id="7_pt3bs"]
[ext_resource type="Resource" uid="uid://cbitlk81jxwfa" path="res://data/items/sword.tres" id="8_45auf"]
[ext_resource type="Resource" uid="uid://cktn5p1wetkve" path="res://data/items/axe.tres" id="9_xhfx0"]
[ext_resource type="PackedScene" uid="uid://ccjcjputsddrd" path="res://assets/scene_props/tree_pine.tscn" id="11_5olon"]
[ext_resource type="Texture2D" uid="uid://bq3b1hxl5ojh6" path="res://assets/icons/npc_emotes/attention.tres" id="12_3vn8y"]
[ext_resource type="PackedScene" uid="uid://2q8dhf61a7os" path="res://assets/characters/engineer.tscn" id="13_t16lh"]
@ -57,6 +60,22 @@ item = ExtResource("7_3sab5")
[node name="Item5" parent="Objects" instance=ExtResource("2_ccr0r")]
item = ExtResource("6_l0uqq")
[node name="Item6" parent="Objects" instance=ExtResource("2_ccr0r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.54708, -4.88758e-06, -1.3686)
item = ExtResource("3_pdr1o")
[node name="Item7" parent="Objects" instance=ExtResource("2_ccr0r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.01305, -5.00679e-06, -0.929556)
item = ExtResource("7_pt3bs")
[node name="Item8" parent="Objects" instance=ExtResource("2_ccr0r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.424436, -5.126e-06, -1.00475)
item = ExtResource("8_45auf")
[node name="Item9" parent="Objects" instance=ExtResource("2_ccr0r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.309352, -5.00679e-06, -1.02607)
item = ExtResource("9_xhfx0")
[node name="Decorations" type="Node3D" parent="."]
[node name="TreePine" parent="Decorations" instance=ExtResource("11_5olon")]