mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
Mapping and models
This commit is contained in:
parent
b64e096661
commit
8c2d7eae66
13 changed files with 1755 additions and 1608 deletions
54
Scenes/Weapons/base_generic_bullet_3D.tscn
Normal file
54
Scenes/Weapons/base_generic_bullet_3D.tscn
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://crcdug04y1dxy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cg6y36s7buapp" path="res://Scripts/Weapons/Bullet3D.cs" id="1_1hlxa"]
|
||||
[ext_resource type="Texture2D" uid="uid://dooyhu8vt63vm" path="res://Sprites/Bullets/mid_bullet_blue.png" id="2_1hlxa"]
|
||||
[ext_resource type="AudioStream" uid="uid://b3rm0vj6x54k4" path="res://SFX/th_knockoff_sfx/click_collect.wav" id="3_4sq4m"]
|
||||
[ext_resource type="Material" uid="uid://ogkwkokxevat" path="res://Resources/Particles/graze_particle_3D.tres" id="4_83jmy"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_pklkt"]
|
||||
radius = 0.161126
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t5ure"]
|
||||
vertex_color_use_as_albedo = true
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_nd0aw"]
|
||||
lightmap_size_hint = Vector2i(2, 2)
|
||||
material = SubResource("StandardMaterial3D_t5ure")
|
||||
size = Vector2(0.1, 0.1)
|
||||
orientation = 1
|
||||
|
||||
[node name="Bullet" type="Area3D" groups=["bullets"]]
|
||||
collision_layer = 136
|
||||
collision_mask = 87
|
||||
script = ExtResource("1_1hlxa")
|
||||
Speed = 200.0
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
||||
pixel_size = 0.05
|
||||
texture_filter = 0
|
||||
texture = ExtResource("2_1hlxa")
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("SphereShape3D_pklkt")
|
||||
|
||||
[node name="VisibleOnScreenNotifier" type="VisibleOnScreenNotifier3D" parent="."]
|
||||
|
||||
[node name="GrazeSound" type="AudioStreamPlayer3D" parent="."]
|
||||
stream = ExtResource("3_4sq4m")
|
||||
bus = &"Effects"
|
||||
|
||||
[node name="GrazeParticles" type="GPUParticles3D" parent="."]
|
||||
transform = Transform3D(0.70710677, 0.49999997, 0.49999997, 0, 0.70710677, -0.70710677, -0.70710677, 0.49999997, 0.49999997, 0, 0, 0)
|
||||
emitting = false
|
||||
amount = 2
|
||||
lifetime = 0.2
|
||||
one_shot = true
|
||||
local_coords = true
|
||||
process_material = ExtResource("4_83jmy")
|
||||
draw_pass_1 = SubResource("QuadMesh_nd0aw")
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue