init
This commit is contained in:
commit
276d43613d
1687 changed files with 109059 additions and 0 deletions
31
prototype/scenes/player.tscn
Normal file
31
prototype/scenes/player.tscn
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://prototype/scripts/player_controller.gd" id="1_player"]
|
||||
[ext_resource type="Script" path="res://prototype/scripts/weapon_controller.gd" id="2_weapon"]
|
||||
|
||||
[sub_resource type="TorusMesh" id="TorusMesh_aim"]
|
||||
inner_radius = 0.2
|
||||
outer_radius = 0.3
|
||||
rings = 24
|
||||
ring_segments = 6
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="Mat_aim"]
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 0.85, 0.25, 1)
|
||||
no_depth_test = true
|
||||
render_priority = 1
|
||||
|
||||
[node name="Player" type="CharacterBody3D"]
|
||||
script = ExtResource("1_player")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
|
||||
[node name="Visual" type="Node3D" parent="."]
|
||||
|
||||
[node name="Weapon" type="Node3D" parent="Visual"]
|
||||
script = ExtResource("2_weapon")
|
||||
|
||||
[node name="AimMarker" type="MeshInstance3D" parent="."]
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("TorusMesh_aim")
|
||||
surface_material_override/0 = SubResource("Mat_aim")
|
||||
Loading…
Add table
Add a link
Reference in a new issue