162 lines
4.4 KiB
Text
162 lines
4.4 KiB
Text
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://scenes/Game/Character/Character.gd" type="Script" id=1]
|
|
[ext_resource path="res://game_scene/character_infos_billboard.tscn" type="PackedScene" id=2]
|
|
|
|
[sub_resource type="SphereShape" id=1]
|
|
|
|
radius = 0.897042
|
|
|
|
[sub_resource type="SphereMesh" id=2]
|
|
|
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
|
radius = 1.0
|
|
height = 2.0
|
|
radial_segments = 64
|
|
rings = 32
|
|
is_hemisphere = false
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
|
|
render_priority = 0
|
|
flags_transparent = false
|
|
flags_unshaded = false
|
|
flags_vertex_lighting = false
|
|
flags_no_depth_test = false
|
|
flags_use_point_size = false
|
|
flags_world_triplanar = false
|
|
flags_fixed_size = false
|
|
flags_albedo_tex_force_srgb = false
|
|
vertex_color_use_as_albedo = false
|
|
vertex_color_is_srgb = false
|
|
params_diffuse_mode = 0
|
|
params_specular_mode = 0
|
|
params_blend_mode = 0
|
|
params_cull_mode = 0
|
|
params_depth_draw_mode = 0
|
|
params_line_width = 1.0
|
|
params_point_size = 1.0
|
|
params_billboard_mode = 0
|
|
params_grow = false
|
|
params_use_alpha_scissor = false
|
|
albedo_color = Color( 1, 1, 1, 1 )
|
|
metallic = 0.0
|
|
metallic_specular = 0.5
|
|
metallic_texture_channel = 0
|
|
roughness = 0.0
|
|
roughness_texture_channel = 0
|
|
emission_enabled = false
|
|
normal_enabled = false
|
|
rim_enabled = false
|
|
clearcoat_enabled = false
|
|
anisotropy_enabled = false
|
|
ao_enabled = false
|
|
depth_enabled = false
|
|
subsurf_scatter_enabled = false
|
|
transmission_enabled = false
|
|
refraction_enabled = false
|
|
detail_enabled = false
|
|
uv1_scale = Vector3( 1, 1, 1 )
|
|
uv1_offset = Vector3( 0, 0, 0 )
|
|
uv1_triplanar = false
|
|
uv1_triplanar_sharpness = 1.0
|
|
uv2_scale = Vector3( 1, 1, 1 )
|
|
uv2_offset = Vector3( 0, 0, 0 )
|
|
uv2_triplanar = false
|
|
uv2_triplanar_sharpness = 1.0
|
|
proximity_fade_enable = false
|
|
distance_fade_enable = false
|
|
|
|
[node name="Character" type="KinematicBody" index="0"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 0.589355, 0, 0, 0, 1, -0.0409546, 1.06519, 6.02408 )
|
|
input_ray_pickable = true
|
|
input_capture_on_drag = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
axis_lock_linear_x = false
|
|
axis_lock_linear_y = false
|
|
axis_lock_linear_z = false
|
|
axis_lock_angular_x = false
|
|
axis_lock_angular_y = false
|
|
axis_lock_angular_z = false
|
|
collision/safe_margin = 0.001
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Axis Lock", "Transform", "collision" ]
|
|
|
|
[node name="Camera_rotation_helper" type="Spatial" parent="." index="0"]
|
|
|
|
editor/display_folded = true
|
|
|
|
[node name="Camera" type="Camera" parent="Camera_rotation_helper" index="0"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 0.972208, 0.397244, 0, -0.137979, 0.972208, 0, 6.00296, 1.22667 )
|
|
keep_aspect = 1
|
|
cull_mask = 1048575
|
|
environment = null
|
|
h_offset = 0.0
|
|
v_offset = 0.0
|
|
doppler_tracking = 0
|
|
projection = 0
|
|
current = false
|
|
fov = 70.0
|
|
size = 1.0
|
|
near = 0.05
|
|
far = 100.0
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="." index="1"]
|
|
|
|
transform = Transform( 0.364654, 0, 0, 0, -2.47558e-008, -0.566346, 0, 0.313738, -1.37139e-008, 0.0505983, 4.32164, 0 )
|
|
shape = SubResource( 1 )
|
|
disabled = false
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="." index="2"]
|
|
|
|
editor/display_folded = true
|
|
transform = Transform( 0.281766, 0, 0, 0, 0.491282, 0, 0, 0, 0.26834, 0.0433697, 4.3256, 0 )
|
|
layers = 1
|
|
material_override = null
|
|
cast_shadow = 1
|
|
extra_cull_margin = 0.0
|
|
use_in_baked_light = false
|
|
lod_min_distance = 0.0
|
|
lod_min_hysteresis = 0.0
|
|
lod_max_distance = 0.0
|
|
lod_max_hysteresis = 0.0
|
|
mesh = SubResource( 2 )
|
|
skeleton = NodePath("..")
|
|
material/0 = SubResource( 3 )
|
|
_sections_unfolded = [ "material" ]
|
|
|
|
[node name="Flashlight" type="SpotLight" parent="MeshInstance" index="0"]
|
|
|
|
transform = Transform( 1.74358, 0, 0, 0, 0.999973, 0.0124571, 0, -0.00792279, 1.83077, -0.0756186, 0.00765181, -1.31515 )
|
|
layers = 1
|
|
light_color = Color( 1, 1, 1, 1 )
|
|
light_energy = 2.0
|
|
light_indirect_energy = 2.0
|
|
light_negative = false
|
|
light_specular = 0.5
|
|
light_bake_mode = 1
|
|
light_cull_mask = -1
|
|
shadow_enabled = true
|
|
shadow_color = Color( 0, 0, 0, 1 )
|
|
shadow_bias = 0.15
|
|
shadow_contact = 0.0
|
|
shadow_reverse_cull_face = true
|
|
editor_only = false
|
|
spot_range = 9.90764
|
|
spot_attenuation = 1.0
|
|
spot_angle = 22.2473
|
|
spot_angle_attenuation = 1.0
|
|
_sections_unfolded = [ "Light", "Shadow" ]
|
|
|
|
[node name="infos_spatial" type="Spatial" parent="." index="3"]
|
|
|
|
transform = Transform( 0.281766, 0, 0, 0, 0.491282, 0, 0, 0, 0.26834, 0.0433697, 5.31268, 0 )
|
|
|
|
[node name="character_infos_billboard" parent="infos_spatial" index="0" instance=ExtResource( 2 )]
|
|
|
|
|