Defuse win
This commit is contained in:
parent
215598c63b
commit
8535dba9cd
10 changed files with 151 additions and 21 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dtbpyfdawb02b"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dtbpyfdawb02b"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://boftqgpgqf56g" path="res://scripts/weapon_system/bomb/active_bomb.gd" id="1_avh0g"]
|
||||
[ext_resource type="PackedScene" uid="uid://dftij0fdq3lbr" path="res://models/weapons/Bomb.glb" id="1_yh58y"]
|
||||
|
|
@ -8,7 +8,12 @@ properties/0/path = NodePath(".:position")
|
|||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
|
||||
[node name="ActiveBomb" type="Node3D"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_avh0g"]
|
||||
size = Vector3(1, 0.23214722, 0.8808594)
|
||||
|
||||
[node name="ActiveBomb" type="CharacterBody3D"]
|
||||
collision_layer = 64
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_avh0g")
|
||||
|
||||
[node name="Bomb" parent="." instance=ExtResource("1_yh58y")]
|
||||
|
|
@ -16,3 +21,13 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1307683, 0)
|
|||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_yh58y")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1431427, 0.06738281)
|
||||
shape = SubResource("BoxShape3D_avh0g")
|
||||
|
||||
[node name="DefuseTimer" type="Timer" parent="."]
|
||||
wait_time = 10.0
|
||||
one_shot = true
|
||||
|
||||
[connection signal="timeout" from="DefuseTimer" to="." method="on_defuse_timeout"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue