first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[gd_scene format=3 uid="uid://pjv5ptit5tvg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bp4miwy6defwl" path="res://addons/Weapons/Scripts/Ammunition/AmmoRefillerScript.gd" id="1_bsrep"]
|
||||
[ext_resource type="PackedScene" uid="uid://cyxdexqmowyvh" path="res://addons/Addon Assets/Weapon Models/AmmunitionBox/ammobox_low.glb" id="2_8nqyo"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_vfsrg"]
|
||||
size = Vector3(0.974533, 0.752262, 1.42589)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_diulm"]
|
||||
size = Vector3(1.90394, 1.28174, 2.08409)
|
||||
|
||||
[node name="AmmoRefiller" type="StaticBody3D" unique_id=1413490376]
|
||||
collision_layer = 64
|
||||
collision_mask = 121
|
||||
script = ExtResource("1_bsrep")
|
||||
|
||||
[node name="Hitbox" type="CollisionShape3D" parent="." unique_id=855968420]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0297165, -0.00481224, 0.00307465)
|
||||
shape = SubResource("BoxShape3D_vfsrg")
|
||||
|
||||
[node name="DetectArea" type="Area3D" parent="." unique_id=1561253085]
|
||||
collision_layer = 64
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="DetectArea" unique_id=834866130]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0385975, 0.274414, -0.0104526)
|
||||
shape = SubResource("BoxShape3D_diulm")
|
||||
|
||||
[node name="Model" parent="." unique_id=92899466 instance=ExtResource("2_8nqyo")]
|
||||
transform = Transform3D(-2.84124e-07, 0, 6.5, 0, 6.5, 0, -6.5, 0, -2.84124e-07, 0, -0.0915464, 0)
|
||||
|
||||
[connection signal="area_entered" from="DetectArea" to="." method="_on_detect_area_area_entered"]
|
||||
@@ -0,0 +1,9 @@
|
||||
[gd_scene format=3 uid="uid://0gq5270ogtxu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cf1nbn3eqdof8" path="res://addons/Weapons/Images/BulletHoleDecal.png" id="1_d0hng"]
|
||||
|
||||
[node name="BulletDecal" type="Node3D" unique_id=1126630367]
|
||||
|
||||
[node name="Decal" type="Decal" parent="." unique_id=559746448]
|
||||
size = Vector3(0.2, 0.2, 0.2)
|
||||
texture_albedo = ExtResource("1_d0hng")
|
||||
@@ -0,0 +1,50 @@
|
||||
[gd_scene format=3 uid="uid://x8oniabn746q"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://br3rf0u4bxs67" path="res://addons/Weapons/Images/MuzzleFlash.png" id="1_f6nr6"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_64eh8"]
|
||||
transparency = 1
|
||||
albedo_texture = ExtResource("1_f6nr6")
|
||||
emission_enabled = true
|
||||
emission = Color(0.941176, 0.623529, 0, 1)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_yutl4"]
|
||||
_data = [Vector2(0, 0.496705), 0.0, 0.0, 0, 0, Vector2(0.765351, 0.485997), 0.0, 0.0, 0, 0, Vector2(1, 0.0286427), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_oq8qr"]
|
||||
curve = SubResource("Curve_yutl4")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3amic"]
|
||||
emission_shape_offset = Vector3(0, 0.05, 0)
|
||||
angle_min = -90.0
|
||||
angle_max = 90.0
|
||||
direction = Vector3(0, 0, 0)
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_curve = SubResource("CurveTexture_oq8qr")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3q3wu"]
|
||||
transparency = 4
|
||||
albedo_texture = ExtResource("1_f6nr6")
|
||||
emission_enabled = true
|
||||
emission = Color(0.811765, 0.313726, 0.0431373, 1)
|
||||
emission_energy_multiplier = 0.1
|
||||
billboard_mode = 3
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_hkd1h"]
|
||||
material = SubResource("StandardMaterial3D_3q3wu")
|
||||
size = Vector2(0.25, 0.25)
|
||||
|
||||
[node name="MuzzleFlashParticles" type="GPUParticles3D" unique_id=1820802449]
|
||||
material_override = SubResource("StandardMaterial3D_64eh8")
|
||||
emitting = false
|
||||
amount = 3
|
||||
lifetime = 0.04
|
||||
one_shot = true
|
||||
explosiveness = 0.6
|
||||
local_coords = true
|
||||
process_material = SubResource("ParticleProcessMaterial_3amic")
|
||||
draw_pass_1 = SubResource("QuadMesh_hkd1h")
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user