giants-godot/projectiles/default.tscn

86 lines
58 KiB
Plaintext
Raw Normal View History

2021-09-22 18:04:03 +02:00
[gd_scene load_steps=14 format=2]
2021-09-08 18:36:41 +02:00
2021-09-22 18:04:03 +02:00
[ext_resource path="res://entities/genericprojectile.gd" type="Script" id=1]
2021-09-08 18:36:41 +02:00
[ext_resource path="res://assets/all_gbs/textures/b_spark.tx_lev1.gzp.tga" type="Texture" id=3]
[sub_resource type="CapsuleMesh" id=1]
[sub_resource type="SpatialMaterial" id=2]
flags_transparent = true
flags_unshaded = true
albedo_color = Color( 1, 0, 1, 1 )
uv1_scale = Vector3( 5, 5, 5 )
[sub_resource type="ConvexPolygonShape" id=3]
points = PoolVector3Array( 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, 0, 1.5, 0, -0.173648, 1.48481, 0.0170205, -0.172812, 1.48481, 0.0338771, -0.170312, 1.48481, 0.0504074, -0.166171, 1.48481, 0.0664523, -0.16043, 1.48481, 0.0818572, -0.153144, 1.48481, 0.0964738, -0.144383, 1.48481, 0.110161, -0.134232, 1.48481, 0.122788, -0.122788, 1.48481, 0.134232, -0.110161, 1.48481, 0.144383, -0.0964738, 1.48481, 0.153144, -0.0818572, 1.48481, 0.16043, -0.0664523, 1.48481, 0.166171, -0.0504074, 1.48481, 0.170312, -0.0338771, 1.48481, 0.172812, -0.0170205, 1.48481, 0.173648, -1.06329e-17, 1.48481, 0.172812, 0.0170205, 1.48481, 0.170312, 0.0338771, 1.48481, 0.166171, 0.0504074, 1.48481, 0.16043, 0.0664523, 1.48481, 0.153144, 0.0818572, 1.48481, 0.144383, 0.0964738, 1.48481, 0.134232, 0.110161, 1.48481, 0.122788, 0.122788, 1.48481, 0.110161, 0.134232, 1.48481, 0.0964738, 0.144383, 1.48481, 0.0818572, 0.153144, 1.48481, 0.0664523, 0.16043, 1.48481, 0.0504074, 0.166171, 1.48481, 0.0338771, 0.170312, 1.48481, 0.0170205, 0.172812, 1.48481, 2.12658e-17, 0.173648, 1.48481, -0.0170205, 0.172812, 1.48481, -0.0338771, 0.170312, 1.48481, -0.0504074, 0.166171, 1.48481, -0.0664523, 0.16043, 1.48481, -0.0818572, 0.153144, 1.48481, -0.0964738, 0.144383, 1.48481, -0.110161, 0.134232, 1.48481, -0.122788, 0.122788, 1.48481, -0.134232, 0.110161, 1.48481, -0.144383, 0.0964738, 1.48481, -0.153144, 0.0818572, 1.48481, -0.16043, 0.0664523, 1.48481, -0.166171, 0.0504074, 1.48481, -0.170312, 0.0338771, 1.48481, -0.172812, 0.0170205, 1.48481, -0.173648, 3.18987e-17, 1.48481, -0.172812, -0.0170205, 1.48481, -0.170312, -0.0338771, 1.48481, -0.166171, -0.0504074, 1.48481, -0.16043, -0.0664523, 1.48481, -0.153144, -0.0818572, 1.48481, -0.144383, -0.0964738, 1.48481, -0.134232, -0.110161, 1.48481, -0.122788, -0.122788, 1.48481, -0.110161, -0.134232, 1.48481, -0.0964738, -0.144383, 1.48481, -0.0818572, -0.153144, 1.48481, -0.0664523, -0.16043, 1.48481, -0.0504074, -0.166171, 1.48481, -0.0338771, -0.170312, 1.48481, -0.0170205, -0.172812, 1.48481, -4.25315e-17, -0.173648, 1.48481, 0, -0.34202, 1.43969, 0.0335238, -0.340373, 1.43969, 0.0667248, -0.335448, 1.43969, 0.0992832, -0.327293, 1.43969, 0.130885, -0.315985, 1.43969, 0.161227, -0.301635, 1.43969, 0.190016, -0.284379, 1.43969, 0.216975, -0.264385, 1.43969, 0.241845, -0.241845, 1.43969, 0.264385, -0.216975, 1.43969, 0.284379, -0.190016, 1.43969, 0.301635, -0.161227, 1.43969, 0.315985, -0.130885, 1.43969, 0.327293, -0.0992832, 1.43969, 0.335448, -0.0667248, 1.43969, 0.340373, -0.0335238, 1.43969, 0.34202, -2.09427e-17, 1.43969, 0.340373, 0.0335238, 1.43969, 0.335448, 0.0667248, 1.43969, 0.327293, 0.0992832, 1.43969, 0.315985, 0.130885, 1.43969, 0.301635, 0.161227, 1.43969, 0.284379, 0.190016, 1.43969, 0.264385, 0.216975, 1.43969, 0.241845, 0.241845, 1.43969, 0.216975, 0.264385, 1.43969, 0.190016, 0.284379, 1.43969, 0.161227, 0.301635, 1.43969, 0.130885, 0.315985, 1.43969, 0.0992832, 0.327293, 1.43969, 0.0667248, 0.335448, 1.43969, 0.0335238, 0.340373, 1.43969, 4.18854e-17, 0.34202, 1.43969, -0.0335238, 0.340373, 1.43969, -0.0667248, 0.335448, 1.43969, -0.0992832, 0.327293, 1.43969, -0.130885, 0.315985, 1.43969, -0.161227, 0.301635, 1.43969, -0.190016, 0.284379, 1.43969, -0.216975, 0.264385, 1.43969, -0.241845, 0.241845, 1.43969, -0.264385, 0.216975, 1.43969, -0.284379, 0.190016, 1.43969, -0.301635, 0.161227, 1.43969, -0.315985, 0.130885, 1.43969, -0.327293, 0.
[sub_resource type="Gradient" id=4]
offsets = PoolRealArray( 0.00970874, 0.514563, 1 )
colors = PoolColorArray( 0.996094, 0.011673, 0.86535, 1, 0.894531, 0.562576, 0.850443, 1, 0.969116, 0.0117188, 1, 1 )
[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( 0.515873, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=7]
curve = SubResource( 6 )
[sub_resource type="ParticlesMaterial" id=8]
emission_shape = 2
emission_box_extents = Vector3( 1, 1, 1.5 )
gravity = Vector3( 0, 0, 0 )
scale = 0.1
scale_random = 1.0
scale_curve = SubResource( 7 )
color_ramp = SubResource( 5 )
[sub_resource type="SpatialMaterial" id=9]
flags_transparent = true
flags_unshaded = true
vertex_color_use_as_albedo = true
params_blend_mode = 1
params_billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
albedo_texture = ExtResource( 3 )
[sub_resource type="QuadMesh" id=10]
material = SubResource( 9 )
[sub_resource type="PlaneMesh" id=11]
2021-09-22 18:04:03 +02:00
[node name="Projectile" type="RigidBody"]
gravity_scale = 0.0
2021-09-08 18:36:41 +02:00
script = ExtResource( 1 )
2021-10-10 15:51:46 +02:00
bullet_speed = 1000.0
lifetime = 2.0
2021-09-08 18:36:41 +02:00
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 1, 0.000276685, 0, -0.00347565 )
mesh = SubResource( 1 )
material/0 = SubResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 1, 0.000276685, 0, -0.00347565 )
shape = SubResource( 3 )
[node name="OmniLight" type="OmniLight" parent="."]
light_color = Color( 1, 0, 1, 1 )
omni_range = 20.0
[node name="Particles" type="Particles" parent="."]
transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 1, 0.000276685, 0, -0.00347565 )
amount = 50
local_coords = false
process_material = SubResource( 8 )
draw_pass_1 = SubResource( 10 )
[node name="MeshInstance2" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0806748, 0 )
visible = false
mesh = SubResource( 11 )
material/0 = null