WIP: Some updates
This commit is contained in:
parent
57a8f1fef3
commit
8e06eadf1d
@ -1,13 +1,13 @@
|
|||||||
extends Node3D
|
extends Node3D
|
||||||
class_name ServerNode
|
class_name ServerNode
|
||||||
|
|
||||||
var jumping := false
|
|
||||||
var player_node: PlayerNode
|
var player_node: PlayerNode
|
||||||
|
|
||||||
# TODO: Shoould not be defined here
|
# TODO: Shoould not be defined here
|
||||||
const DEFAULT_WEAPON := "ak"
|
const DEFAULT_WEAPON := "ak"
|
||||||
var first_slot_weapon: WeaponController
|
var first_slot_weapon: WeaponController
|
||||||
|
|
||||||
|
@export var jumping := false
|
||||||
@export var input_direction: Vector2
|
@export var input_direction: Vector2
|
||||||
@export var owner_id: int = 0
|
@export var owner_id: int = 0
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@ properties/2/replication_mode = 1
|
|||||||
properties/3/path = NodePath(".:input_direction")
|
properties/3/path = NodePath(".:input_direction")
|
||||||
properties/3/spawn = true
|
properties/3/spawn = true
|
||||||
properties/3/replication_mode = 1
|
properties/3/replication_mode = 1
|
||||||
|
properties/4/path = NodePath(".:jumping")
|
||||||
|
properties/4/spawn = true
|
||||||
|
properties/4/replication_mode = 1
|
||||||
|
|
||||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_8la7e"]
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_8la7e"]
|
||||||
properties/0/path = NodePath("SharedNode:position")
|
properties/0/path = NodePath("SharedNode:position")
|
||||||
@ -31,7 +34,7 @@ script = ExtResource("1_bau14")
|
|||||||
[node name="Character" parent="SharedNode" instance=ExtResource("3_eykxo")]
|
[node name="Character" parent="SharedNode" instance=ExtResource("3_eykxo")]
|
||||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, 0)
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, 0)
|
||||||
|
|
||||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
[node name="MainSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||||
replication_config = SubResource("SceneReplicationConfig_2dhi2")
|
replication_config = SubResource("SceneReplicationConfig_2dhi2")
|
||||||
|
|
||||||
[node name="ReconciliationTimer" type="Timer" parent="."]
|
[node name="ReconciliationTimer" type="Timer" parent="."]
|
||||||
|
Loading…
Reference in New Issue
Block a user