mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-20 21:07:17 +01:00
Added a scene for a Boar.
This commit is contained in:
parent
5a4bb1277e
commit
a7d2f50faa
61
game/models/entities/boar/Boar.tscn
Normal file
61
game/models/entities/boar/Boar.tscn
Normal file
@ -0,0 +1,61 @@
|
||||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://models/entities/boar/lower_leg.tres" type="MeshDataResource" id=1]
|
||||
[ext_resource path="res://models/entities/boar/boar_fur_albedo.png" type="Texture" id=2]
|
||||
[ext_resource path="res://worlds/test_world/environments/default_env.tres" type="Environment3D" id=4]
|
||||
[ext_resource path="res://textures/world/grass/grass_albedo.png" type="Texture" id=5]
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=5]
|
||||
flags_vertex_lighting = true
|
||||
albedo_color = Color( 0.145098, 0.145098, 0.145098, 1 )
|
||||
albedo_texture = ExtResource( 2 )
|
||||
|
||||
[sub_resource type="CubeMesh" id=2]
|
||||
size = Vector3( 1, 1, 1 )
|
||||
|
||||
[sub_resource type="CubeMesh" id=3]
|
||||
size = Vector3( 4, 1, 4 )
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=4]
|
||||
flags_vertex_lighting = true
|
||||
albedo_color = Color( 0.145098, 0.145098, 0.145098, 1 )
|
||||
albedo_texture = ExtResource( 5 )
|
||||
|
||||
[node name="Boar" type="Spatial"]
|
||||
|
||||
[node name="LowerLeg" type="MeshDataInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0645008, 0, -0.820011 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 5 )
|
||||
|
||||
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
||||
transform = Transform( 0.727426, 0.542714, -0.419896, -0.662594, 0.71463, -0.224217, 0.178385, 0.441322, 0.87944, -7.56755, -7.92697, 7.18822 )
|
||||
light_energy = 6.714
|
||||
|
||||
[node name="DirectionalLight2" type="DirectionalLight" parent="."]
|
||||
transform = Transform( 0.804894, 0.467212, 0.365867, 0, -0.616541, 0.787323, 0.593419, -0.633711, -0.49625, 7.6211, 4.52883, -8.65958 )
|
||||
light_energy = 6.714
|
||||
|
||||
[node name="FullPreview" type="Spatial" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.87249, 0, 0 )
|
||||
__meta__ = {
|
||||
"_editor_description_": "Z+ -> Front"
|
||||
}
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.45079, 0.5, -5.56819 )
|
||||
mesh = SubResource( 2 )
|
||||
|
||||
[node name="MeshInstance2" type="MeshInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.69456, -0.5, 0.0802026 )
|
||||
mesh = SubResource( 3 )
|
||||
material/0 = SubResource( 4 )
|
||||
|
||||
[node name="MeshInstance3" type="MeshInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.31501, -0.5, -1.17679 )
|
||||
mesh = SubResource( 3 )
|
||||
material/0 = SubResource( 4 )
|
||||
|
||||
[node name="WorldEnvironment3D" type="WorldEnvironment3D" parent="."]
|
||||
environment = ExtResource( 4 )
|
47
game/models/entities/boar/boar_fur.tres
Normal file
47
game/models/entities/boar/boar_fur.tres
Normal file
@ -0,0 +1,47 @@
|
||||
[gd_resource type="MMMaterial" load_steps=8 format=2]
|
||||
|
||||
[sub_resource type="MMNodeUniversalProperty" id=8]
|
||||
default_type = 5
|
||||
output_slot_type = 0
|
||||
|
||||
[sub_resource type="MMFbmNoise" id=9]
|
||||
graph_position = Vector2( 20, 60 )
|
||||
output_properties = [ SubResource( 8 ) ]
|
||||
image = SubResource( 8 )
|
||||
type = 1
|
||||
scale = Vector2( 5, 5 )
|
||||
|
||||
[sub_resource type="MMNodeUniversalProperty" id=10]
|
||||
default_type = 5
|
||||
output_slot_type = 0
|
||||
|
||||
[sub_resource type="MMNodeUniversalProperty" id=11]
|
||||
default_type = 1
|
||||
default_float = 1.0
|
||||
input_slot_type = 6
|
||||
slot_name = ">>> Input1 "
|
||||
input_property = SubResource( 8 )
|
||||
|
||||
[sub_resource type="MMColorize" id=12]
|
||||
graph_position = Vector2( 280, 80 )
|
||||
input_properties = [ SubResource( 11 ) ]
|
||||
output_properties = [ SubResource( 10 ) ]
|
||||
points = PoolRealArray( 0, 0.0390625, 0.0239754, 0.00457764, 1, 0.135593, 0, 0, 0, 1, 0.338983, 0.0351562, 0.0236807, 0.00892639, 1, 1, 0.15625, 0.0926876, 0.0250244, 1 )
|
||||
image = SubResource( 10 )
|
||||
input = SubResource( 11 )
|
||||
|
||||
[sub_resource type="MMNodeUniversalProperty" id=13]
|
||||
default_type = 5
|
||||
input_slot_type = 6
|
||||
slot_name = "image"
|
||||
input_property = SubResource( 10 )
|
||||
|
||||
[sub_resource type="MMOutputImage" id=14]
|
||||
graph_position = Vector2( 620, 140 )
|
||||
input_properties = [ SubResource( 13 ) ]
|
||||
image = SubResource( 13 )
|
||||
postfix = "_albedo"
|
||||
|
||||
[resource]
|
||||
image_size = Vector2( 64, 64 )
|
||||
nodes = [ SubResource( 9 ), SubResource( 12 ), SubResource( 14 ) ]
|
BIN
game/models/entities/boar/boar_fur_albedo.png
Normal file
BIN
game/models/entities/boar/boar_fur_albedo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
35
game/models/entities/boar/boar_fur_albedo.png.import
Normal file
35
game/models/entities/boar/boar_fur_albedo.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/boar_fur_albedo.png-9c4a6c63e5f9c7cf567b3651daba70e8.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://models/entities/boar/boar_fur_albedo.png"
|
||||
dest_files=[ "res://.import/boar_fur_albedo.png-9c4a6c63e5f9c7cf567b3651daba70e8.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=1
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=false
|
||||
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
|
6
game/models/entities/boar/lower_leg.tres
Normal file
6
game/models/entities/boar/lower_leg.tres
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_resource type="MeshDataResource" format=2]
|
||||
|
||||
[resource]
|
||||
array = [ PoolVector3Array( -0.0457141, 0.00714293, 0.05, -0.0457141, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, 0.0542858, 0.00714293, 0.05, -0.0457141, 0.00714293, -0.05, -0.0457141, 0.507143, -0.05, 0.0542858, 0.507143, -0.05, 0.0542858, 0.00714293, -0.05, -0.0457141, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, -0.0457141, 0.507143, -0.05, 0.0542858, 0.507143, -0.05, 0.0542858, 0.507143, -0.05 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.544258, 0.5, 0.986842, 0.5, 0.986842, 0.58114, 0.544258, 0.58114, 0.455742, 0.5, 0.0131579, 0.5, 0.0131579, 0.58114, 0.455742, 0.58114, 0.544259, 0.0942983, 0.544258, 0.986842, 0.544258, 0.013158, 0.455742, 0.0942983, 0.455742, 0.986842, 0.455742, 0.0131579 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ]
|
||||
aabb = AABB( -0.0457141, 0.00714293, 0, 0.0999999, 0.5, 0 )
|
||||
seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 )
|
Loading…
Reference in New Issue
Block a user