143 lines
67 KiB
Plaintext
143 lines
67 KiB
Plaintext
|
[gd_scene load_steps=22 format=2]
|
||
|
|
||
|
[ext_resource path="res://projectiles/rpg_bow.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://assets/all_gbs/textures/efx_smoke_ring_b.tga" type="Texture" id=2]
|
||
|
[ext_resource path="res://assets/audio/Sounds/SR_RPGSH.xx_raik.gzp.wav" type="AudioStream" id=3]
|
||
|
[ext_resource path="res://addons/Trail/trail_3d.gd" type="Script" id=4]
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=1]
|
||
|
roughness = 0.0
|
||
|
|
||
|
[sub_resource type="SphereMesh" id=2]
|
||
|
material = SubResource( 1 )
|
||
|
radius = 0.1
|
||
|
height = 0.2
|
||
|
is_hemisphere = true
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape" id=14]
|
||
|
points = PoolVector3Array( 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.199094, 0.00950561, 0.000931712, 0.199094, 0.00945983, 0.00185445, 0.199094, 0.00932296, 0.00275933, 0.199094, 0.0090963, 0.00363764, 0.199094, 0.00878203, 0.00448091, 0.199094, 0.00838319, 0.00528103, 0.199094, 0.00790362, 0.00603029, 0.199094, 0.00734793, 0.00672148, 0.199094, 0.00672148, 0.00734793, 0.199094, 0.00603029, 0.00790362, 0.199094, 0.00528103, 0.00838319, 0.199094, 0.00448091, 0.00878203, 0.199094, 0.00363764, 0.0090963, 0.199094, 0.00275933, 0.00932296, 0.199094, 0.00185445, 0.00945983, 0.199094, 0.000931712, 0.00950561, 0.199094, 5.8205e-19, 0.00945983, 0.199094, -0.000931712, 0.00932296, 0.199094, -0.00185445, 0.0090963, 0.199094, -0.00275933, 0.00878203, 0.199094, -0.00363764, 0.00838319, 0.199094, -0.00448091, 0.00790362, 0.199094, -0.00528103, 0.00734793, 0.199094, -0.00603029, 0.00672148, 0.199094, -0.00672148, 0.00603029, 0.199094, -0.00734793, 0.00528103, 0.199094, -0.00790362, 0.00448091, 0.199094, -0.00838319, 0.00363764, 0.199094, -0.00878203, 0.00275933, 0.199094, -0.0090963, 0.00185445, 0.199094, -0.00932296, 0.000931712, 0.199094, -0.00945983, 1.1641e-18, 0.199094, -0.00950561, -0.000931712, 0.199094, -0.00945983, -0.00185445, 0.199094, -0.00932296, -0.00275933, 0.199094, -0.0090963, -0.00363764, 0.199094, -0.00878203, -0.00448091, 0.199094, -0.00838319, -0.00528103, 0.199094, -0.00790362, -0.00603029, 0.199094, -0.00734793, -0.00672148, 0.199094, -0.00672148, -0.00734793, 0.199094, -0.00603029, -0.00790362, 0.199094, -0.00528103, -0.00838319, 0.199094, -0.00448091, -0.00878203, 0.199094, -0.00363764, -0.0090963, 0.199094, -0.00275933, -0.00932296, 0.199094, -0.00185445, -0.00945983, 0.199094, -0.000931712, -0.00950561, 0.199094, -1.74615e-18, -0.00945983, 0.199094, 0.000931712, -0.00932296, 0.199094, 0.00185445, -0.0090963, 0.199094, 0.00275933, -0.00878203, 0.199094, 0.00363764, -0.00838319, 0.199094, 0.00448091, -0.00790362, 0.199094, 0.00528103, -0.00734793, 0.199094, 0.00603029, -0.00672148, 0.199094, 0.00672148, -0.00603029, 0.199094, 0.00734793, -0.00528103, 0.199094, 0.00790362, -0.00448091, 0.199094, 0.00838319, -0.00363764, 0.199094, 0.00878203, -0.00275933, 0.199094, 0.0090963, -0.00185445, 0.199094, 0.00932296, -0.000931712, 0.199094, 0.00945983, -2.3282e-18, 0.199094, 0.00950561, 0, 0.196386, 0.0189251, 0.00185499, 0.196386, 0.018834, 0.00369211, 0.196386, 0.0185615, 0.00549367, 0.196386, 0.0181102, 0.00724233, 0.196386, 0.0174845, 0.00892124, 0.196386, 0.0166905, 0.0105142, 0.196386, 0.0157357, 0.012006, 0.196386, 0.0146293, 0.0133821, 0.196386, 0.0133821, 0.0146293, 0.196386, 0.012006, 0.0157357, 0.196386, 0.0105142, 0.0166905, 0.196386, 0.00892124, 0.0174845, 0.196386, 0.00724233, 0.0181102, 0.196386, 0.00549367, 0.0185615, 0.196386, 0.00369211, 0.018834, 0.196386, 0.00185499, 0.0189251, 0.196386, 1.15883e-18, 0.018834, 0.196386, -0.00185499, 0.0185615, 0.196386, -0.00369211, 0.0181102, 0.196386, -0.00549367, 0.0174845, 0.196386, -0.00724233, 0.0166905, 0.196386, -0.00892124, 0.0157357, 0.196386, -0.0105142, 0.0146293, 0.196386, -0.012006, 0.0133821, 0.196386, -0.0133821, 0.012006, 0.196386, -0.0146293, 0.0105142, 0.196386, -0.0157357, 0.00892124, 0.196386, -0.0166905, 0.00724233, 0.196386, -0.0174845, 0.00549367, 0.196386, -0.0181102, 0.00369211, 0.196386, -0.0185615, 0.00185499, 0.196386, -0.018834, 2.31766e-18, 0.196386, -0.0189251, -0.0018
|
||
|
|
||
|
[sub_resource type="Gradient" id=4]
|
||
|
offsets = PoolRealArray( 0.680412, 1 )
|
||
|
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 0 )
|
||
|
|
||
|
[sub_resource type="GradientTexture" id=5]
|
||
|
gradient = SubResource( 4 )
|
||
|
|
||
|
[sub_resource type="Curve" id=6]
|
||
|
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
|
||
|
|
||
|
[sub_resource type="CurveTexture" id=7]
|
||
|
curve = SubResource( 6 )
|
||
|
|
||
|
[sub_resource type="ParticlesMaterial" id=8]
|
||
|
gravity = Vector3( 0, 0, 0 )
|
||
|
scale = 20.0
|
||
|
scale_curve = SubResource( 7 )
|
||
|
color_ramp = SubResource( 5 )
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=9]
|
||
|
flags_transparent = true
|
||
|
vertex_color_use_as_albedo = true
|
||
|
params_blend_mode = 1
|
||
|
params_cull_mode = 2
|
||
|
albedo_texture = ExtResource( 2 )
|
||
|
emission_enabled = true
|
||
|
emission = Color( 0.533333, 1, 0.945098, 1 )
|
||
|
emission_energy = 0.5
|
||
|
emission_operator = 0
|
||
|
emission_on_uv2 = false
|
||
|
|
||
|
[sub_resource type="QuadMesh" id=10]
|
||
|
material = SubResource( 9 )
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=17]
|
||
|
flags_transparent = true
|
||
|
flags_unshaded = true
|
||
|
vertex_color_use_as_albedo = true
|
||
|
params_blend_mode = 1
|
||
|
albedo_texture = ExtResource( 2 )
|
||
|
uv1_scale = Vector3( 2, 2, 2 )
|
||
|
|
||
|
[sub_resource type="CylinderMesh" id=18]
|
||
|
material = SubResource( 17 )
|
||
|
top_radius = 0.01
|
||
|
bottom_radius = 0.4
|
||
|
height = 0.4
|
||
|
|
||
|
[sub_resource type="ParticlesMaterial" id=11]
|
||
|
gravity = Vector3( 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=12]
|
||
|
flags_transparent = true
|
||
|
flags_unshaded = true
|
||
|
albedo_color = Color( 1, 1, 1, 0.470588 )
|
||
|
|
||
|
[sub_resource type="CapsuleMesh" id=13]
|
||
|
material = SubResource( 12 )
|
||
|
radius = 0.05
|
||
|
|
||
|
[sub_resource type="Curve" id=16]
|
||
|
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.459459, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
||
|
|
||
|
[sub_resource type="Gradient" id=15]
|
||
|
offsets = PoolRealArray( 0, 0.48, 1 )
|
||
|
colors = PoolColorArray( 0, 1, 0.460938, 1, 0.0375366, 0.636304, 0.960938, 1, 0.925781, 0.0397797, 0.309733, 1 )
|
||
|
|
||
|
[node name="Spatial" type="RigidBody"]
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||
|
transform = Transform( 1.91069e-15, 4.37114e-08, -1, 1, -4.37114e-08, 0, -4.37114e-08, -1, -4.37114e-08, 0, 0, 0 )
|
||
|
mesh = SubResource( 2 )
|
||
|
material/0 = null
|
||
|
|
||
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||
|
transform = Transform( 1.91069e-15, 4.37114e-08, -1, 1, -4.37114e-08, 0, -4.37114e-08, -1, -4.37114e-08, 0, 0, 0 )
|
||
|
shape = SubResource( 14 )
|
||
|
|
||
|
[node name="Smoke" type="Particles" parent="."]
|
||
|
visible = false
|
||
|
amount = 15
|
||
|
lifetime = 2.0
|
||
|
speed_scale = 0.8
|
||
|
local_coords = false
|
||
|
process_material = SubResource( 8 )
|
||
|
draw_pass_1 = SubResource( 10 )
|
||
|
|
||
|
[node name="Smoke2" type="Particles" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0 )
|
||
|
amount = 20
|
||
|
lifetime = 2.0
|
||
|
speed_scale = 0.8
|
||
|
local_coords = false
|
||
|
process_material = SubResource( 8 )
|
||
|
draw_pass_1 = SubResource( 18 )
|
||
|
|
||
|
[node name="OmniLight" type="OmniLight" parent="."]
|
||
|
transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 0.05, 0, 0, 0 )
|
||
|
light_color = Color( 0.607843, 0.992157, 0.964706, 1 )
|
||
|
omni_range = 20.0
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||
|
stream = ExtResource( 3 )
|
||
|
autoplay = true
|
||
|
|
||
|
[node name="Trail" type="Particles" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.103962 )
|
||
|
visible = false
|
||
|
amount = 50
|
||
|
lifetime = 4.0
|
||
|
local_coords = false
|
||
|
process_material = SubResource( 11 )
|
||
|
draw_pass_1 = SubResource( 13 )
|
||
|
|
||
|
[node name="Trail3D" type="ImmediateGeometry" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.021327 )
|
||
|
script = ExtResource( 4 )
|
||
|
distance = 10.0
|
||
|
lifetime = 10.0
|
||
|
base_width = 0.2
|
||
|
width_profile = SubResource( 16 )
|
||
|
color_gradient = SubResource( 15 )
|