f20d532add
- New server/scripts/round/round_manager.gd with: - RoundPhase enum (WARMUP, PREP, LIVE, POST) - Round life cycle: warmup -> prep (15s) -> live (105s) -> post (8s) - Team elimination detection using entity->peer->team mappings - Time-expired round ending (default: CT wins) - Economy hooks: win money (250), loss money (900 escalating to 900), kill bonus (00) - All requested signals: round_phase_changed, round_started, round_ended, match_point, warmup_ended, round_economy_data - Updated GameServer: - Creates and wires RoundManager in _ready() - Connects DamageProcessor.player_killed -> round tracking + elimination detection - Added peer_to_entity mapping for backwards entity lookup - Added RCON command handler (_on_rcon_command) for start_match/end_round - Updated RCON command handler: - Added start_match and end_round to dispatch list and help text
34 lines
951 B
Plaintext
34 lines
951 B
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="1"]
|
|
albedo_color = Color(0.45, 0.45, 0.45, 1.0)
|
|
roughness = 0.8
|
|
metallic = 0.0
|
|
resource_name = "grey_stairs"
|
|
|
|
[node name="Stairs" type="CSGCombiner3D"]
|
|
use_collision = false
|
|
visibility_range_end = 40.0
|
|
visibility_range_end_margin = 5.0
|
|
|
|
[node name="Step1" type="CSGBox3D" parent="Stairs"]
|
|
operation = 0
|
|
size = Vector3(2, 0.25, 0.5)
|
|
material = SubResource("1")
|
|
use_collision = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.125, 0.75)
|
|
|
|
[node name="Step2" type="CSGBox3D" parent="Stairs"]
|
|
operation = 0
|
|
size = Vector3(2, 0.25, 0.5)
|
|
material = SubResource("1")
|
|
use_collision = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.375, 0.25)
|
|
|
|
[node name="Step3" type="CSGBox3D" parent="Stairs"]
|
|
operation = 0
|
|
size = Vector3(2, 0.25, 0.5)
|
|
material = SubResource("1")
|
|
use_collision = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.625, -0.25)
|