add aht textures
This commit is contained in:
parent
863d6b409a
commit
0711617853
BIN
assets/models/ant.glb
(Stored with Git LFS)
BIN
assets/models/ant.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/aphid.glb
(Stored with Git LFS)
BIN
assets/models/aphid.glb
(Stored with Git LFS)
Binary file not shown.
@ -33,8 +33,9 @@ animation/import_rest_as_RESET=true
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"@MATERIAL:0": {
|
||||
"use_external/path": "res://resources/materials/aphid_material.tres"
|
||||
"aphid_mat": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/path": "res://resources/materials/aphid_mat.tres"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
assets/textures/items/honeydew.png
(Stored with Git LFS)
BIN
assets/textures/items/honeydew.png
(Stored with Git LFS)
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://pbcyrj6uvp40"
|
||||
path.s3tc="res://.godot/imported/honeydew.png-bd1d59692920d0f506a1dd7f5c6e85b7.s3tc.ctex"
|
||||
path.bptc="res://.godot/imported/honeydew.png-bd1d59692920d0f506a1dd7f5c6e85b7.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
@ -12,12 +12,12 @@ metadata={
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/textures/items/honeydew.png"
|
||||
dest_files=["res://.godot/imported/honeydew.png-bd1d59692920d0f506a1dd7f5c6e85b7.s3tc.ctex"]
|
||||
dest_files=["res://.godot/imported/honeydew.png-bd1d59692920d0f506a1dd7f5c6e85b7.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
|
||||
BIN
assets/textures/units/ant_gatherer_albedo.png
(Stored with Git LFS)
Normal file
BIN
assets/textures/units/ant_gatherer_albedo.png
(Stored with Git LFS)
Normal file
Binary file not shown.
35
assets/textures/units/ant_gatherer_albedo.png.import
Normal file
35
assets/textures/units/ant_gatherer_albedo.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://5so6y60hbpdn"
|
||||
path.bptc="res://.godot/imported/ant_gatherer_albedo.png-e6a59ac4697cbda7b89aba71d0490a5f.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/textures/units/ant_gatherer_albedo.png"
|
||||
dest_files=["res://.godot/imported/ant_gatherer_albedo.png-e6a59ac4697cbda7b89aba71d0490a5f.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
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/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
assets/textures/units/ant_nitwit_albedo.png
(Stored with Git LFS)
Normal file
BIN
assets/textures/units/ant_nitwit_albedo.png
(Stored with Git LFS)
Normal file
Binary file not shown.
35
assets/textures/units/ant_nitwit_albedo.png.import
Normal file
35
assets/textures/units/ant_nitwit_albedo.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dbmukruk1sjqu"
|
||||
path.bptc="res://.godot/imported/ant_nitwit_albedo.png-753aa0af84c7bfc9e24eff1e2f21f5d1.bptc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/textures/units/ant_nitwit_albedo.png"
|
||||
dest_files=["res://.godot/imported/ant_nitwit_albedo.png-753aa0af84c7bfc9e24eff1e2f21f5d1.bptc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=true
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
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/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
@ -1,4 +1,7 @@
|
||||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://b68amtoih28uv"]
|
||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://b68amtoih28uv"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://5so6y60hbpdn" path="res://assets/textures/units/ant_gatherer_albedo.png" id="1_mk0rf"]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color(0.427362, 0.310254, 0.0821833, 1)
|
||||
shading_mode = 0
|
||||
albedo_texture = ExtResource("1_mk0rf")
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://djj2dnbws3ee5"]
|
||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://djj2dnbws3ee5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dbmukruk1sjqu" path="res://assets/textures/units/ant_nitwit_albedo.png" id="1_04vsm"]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color(0.351705, 0.303438, 0.356593, 1)
|
||||
shading_mode = 0
|
||||
albedo_texture = ExtResource("1_04vsm")
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://c1owthx1hbtik"]
|
||||
|
||||
[resource]
|
||||
shading_mode = 0
|
||||
vertex_color_use_as_albedo = true
|
||||
metallic_specular = 0.0
|
||||
|
||||
@ -1,13 +1,11 @@
|
||||
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://c33we3533cr8k"]
|
||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://c33we3533cr8k"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://pbcyrj6uvp40" path="res://assets/textures/items/honeydew.png" id="1_rqagm"]
|
||||
[ext_resource type="Texture2D" uid="uid://dd6t6xl0lnns5" path="res://assets/textures/items/honeydew_normal.png" id="2_juvr3"]
|
||||
|
||||
[resource]
|
||||
transparency = 2
|
||||
alpha_scissor_threshold = 0.5
|
||||
alpha_antialiasing_mode = 0
|
||||
shading_mode = 0
|
||||
albedo_texture = ExtResource("1_rqagm")
|
||||
normal_enabled = true
|
||||
normal_texture = ExtResource("2_juvr3")
|
||||
billboard_mode = 1
|
||||
|
||||
@ -23,9 +23,11 @@ bones/22/rotation = Quaternion(0.0294712, -6.21995e-15, 4.35675e-07, 0.999566)
|
||||
bones/23/rotation = Quaternion(0.0294712, -5.33139e-15, 4.35675e-07, 0.999566)
|
||||
bones/24/rotation = Quaternion(0.0294712, -6.21995e-15, 4.35675e-07, 0.999566)
|
||||
bones/25/rotation = Quaternion(0.0294712, -5.33139e-15, 4.35675e-07, 0.999566)
|
||||
bones/26/scale = Vector3(1, 1, 1)
|
||||
bones/27/scale = Vector3(1, 1, 1)
|
||||
bones/32/scale = Vector3(1, 1, 1)
|
||||
bones/34/scale = Vector3(1, 1, 1)
|
||||
bones/35/scale = Vector3(1, 1, 1)
|
||||
bones/36/scale = Vector3(1, 1, 1)
|
||||
bones/41/scale = Vector3(1, 1, 1)
|
||||
bones/43/scale = Vector3(1, 1, 1)
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://bw8cabkva3k4f"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://bw8cabkva3k4f"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c70vx0utm5knp" path="res://scenes/units/abstract/unit.tscn" id="1_ghhpv"]
|
||||
[ext_resource type="Script" path="res://scripts/units/aphid.gd" id="2_c6sy4"]
|
||||
[ext_resource type="PackedScene" uid="uid://ch02ae8fj2lhh" path="res://assets/models/aphid.glb" id="2_vtmi4"]
|
||||
[ext_resource type="Material" uid="uid://f5ibq3dhugoo" path="res://resources/materials/aphid_mat.tres" id="3_b828p"]
|
||||
[ext_resource type="AudioStream" uid="uid://bqt1xdorarhoi" path="res://assets/audio/units/aphid_move.wav" id="5_f4mon"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_f1f0e"]
|
||||
@ -35,8 +34,17 @@ script = ExtResource("2_c6sy4")
|
||||
|
||||
[node name="AphidModel" parent="." index="0" instance=ExtResource("2_vtmi4")]
|
||||
|
||||
[node name="aphid" parent="AphidModel" index="0"]
|
||||
surface_material_override/0 = ExtResource("3_b828p")
|
||||
[node name="Skeleton3D" parent="AphidModel/Armature" index="0"]
|
||||
bones/2/rotation = Quaternion(3.38449e-07, 0.863712, 0.503987, 5.80021e-07)
|
||||
bones/3/rotation = Quaternion(0.526107, 8.35521e-14, -7.06609e-07, 0.850418)
|
||||
bones/6/rotation = Quaternion(-3.38449e-07, 0.863712, 0.503987, -5.80021e-07)
|
||||
bones/7/rotation = Quaternion(0.526107, -8.35521e-14, 7.06609e-07, 0.850418)
|
||||
bones/10/rotation = Quaternion(-0.235443, 0.235445, -0.666758, 0.666758)
|
||||
bones/11/rotation = Quaternion(-0.235443, 0.235445, -0.666758, 0.666758)
|
||||
bones/12/scale = Vector3(1, 1, 1)
|
||||
bones/13/rotation = Quaternion(-0.235443, -0.235445, 0.666758, 0.666758)
|
||||
bones/14/rotation = Quaternion(-0.235443, -0.235445, 0.666758, 0.666758)
|
||||
bones/15/scale = Vector3(1, 1, 1)
|
||||
|
||||
[node name="AnimationTree" parent="." index="1"]
|
||||
root_node = NodePath("../AphidModel")
|
||||
|
||||
@ -26,7 +26,7 @@ sky_material = SubResource("ProceduralSkyMaterial_po5ks")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_nnr3k"]
|
||||
background_mode = 1
|
||||
background_color = Color(0.266667, 0.227451, 0.196078, 1)
|
||||
background_color = Color(0.25098, 0.231373, 0.207843, 1)
|
||||
sky = SubResource("Sky_au5yl")
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(0.688926, 0.561215, 0.460104, 1)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
extends Area3D
|
||||
class_name Gathering
|
||||
|
||||
const ANTHILL_DEPOSIT_RADIUS: float = 0.5
|
||||
const ANTHILL_DEPOSIT_RADIUS: float = 0.75
|
||||
|
||||
enum State {
|
||||
WAITING_FOR_NEW_ITEMS,
|
||||
@ -242,7 +242,7 @@ func _on_nav_agent_navigation_finished() -> void:
|
||||
|
||||
if (
|
||||
state == State.DEPOSITING
|
||||
and global_position.distance_to(_unit.anthill.global_position) < 1
|
||||
and global_position.distance_to(_unit.anthill.global_position) < 2
|
||||
):
|
||||
_deposit()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user