multiplayer
This commit is contained in:
parent
aa35ee5975
commit
0dc6247f91
22 changed files with 298 additions and 14 deletions
|
|
@ -1,3 +1,49 @@
|
|||
[gd_scene format=3 uid="uid://cheu6vds21er7"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cheu6vds21er7"]
|
||||
|
||||
[node name="Smoke" type="RigidBody3D"]
|
||||
[ext_resource type="Script" uid="uid://t5jjqwnkxgvo" path="res://scripts/smoke_grenade.gd" id="1_acmqr"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_acmqr"]
|
||||
bounce = 0.5
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_vb5ru"]
|
||||
radius = 0.1
|
||||
height = 0.5
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_acmqr"]
|
||||
frequency = 0.1141
|
||||
|
||||
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_rx0m8"]
|
||||
width = 128
|
||||
height = 128
|
||||
depth = 128
|
||||
noise = SubResource("FastNoiseLite_acmqr")
|
||||
|
||||
[sub_resource type="FogMaterial" id="FogMaterial_rx0m8"]
|
||||
resource_local_to_scene = true
|
||||
density = 8.0
|
||||
density_texture = SubResource("NoiseTexture3D_rx0m8")
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_acmqr"]
|
||||
radius = 0.1
|
||||
height = 0.5
|
||||
|
||||
[node name="Smoke" type="RigidBody3D" node_paths=PackedStringArray("fog")]
|
||||
physics_material_override = SubResource("PhysicsMaterial_acmqr")
|
||||
contact_monitor = true
|
||||
max_contacts_reported = 1
|
||||
script = ExtResource("1_acmqr")
|
||||
radius = 10.0
|
||||
fog = NodePath("FogVolume")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("CapsuleMesh_vb5ru")
|
||||
|
||||
[node name="FogVolume" type="FogVolume" parent="."]
|
||||
size = Vector3(0, 0, 0)
|
||||
shape = 0
|
||||
material = SubResource("FogMaterial_rx0m8")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("CapsuleShape3D_acmqr")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue