Fresh start: replace with naxIO/netfox-cs-sample foundation
Complete replacement of the tactical-shooter project with the netfox-cs-sample (MIT) — a CS 1.6 inspired multiplayer FPS built with Godot 4 and netfox. ## What's new - Full CS-style gameplay: teams (T/CT), rounds, economy, buy menu - 6 weapons: Knife, Glock, USP, AK-47, M4A1, AWP - Bomb plant/defuse with 2 bombsites - Flashbang & smoke grenades - Proper netfox rollback netcode at 64 tick - Network popup UI for host/join - HUD, crosshair, round timer, scoreboard - All netfox singletons registered as autoloads (works in exported builds) ## Architecture - Listen-server (host from client, no dedicated server binary) - Multiplayer-fps game lives at examples/multiplayer-fps/ - Netfox addons registered as autoloads for exported build compat - Godot 4.7 with Forward+ renderer ## Removed - Old headless-server architecture (client_main, server_main, player.gd, etc.) - Custom netfox bootstrap with ENet fallback - Old ChaffGames FPS template (2,420 lines, 844 KB) - SimulationServer GDExtension stub - Godot-jolt physics (netfox sample uses default Godot physics) - Duplicate weapon_data.gd, anti_cheat.gd, round_manager.gd, etc. - Server browser API Python venv (87 MB) - test_range map and modular assets ## Preserved - Git history - Server config at config/default_server_config.cfg - Windows export preset - Build directory (gitignored) Co-authored-by: naxIO <naxIO@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://joecqmf51gl0"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_t3ujw"]
|
||||
interpolation_mode = 2
|
||||
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_6a55y"]
|
||||
gradient = SubResource("Gradient_t3ujw")
|
||||
width = 256
|
||||
height = 256
|
||||
fill = 1
|
||||
fill_from = Vector2(0.5, 0.5)
|
||||
fill_to = Vector2(0.75, 0.5)
|
||||
|
||||
[resource]
|
||||
transparency = 1
|
||||
shading_mode = 2
|
||||
specular_mode = 2
|
||||
albedo_color = Color(0.701961, 0.901961, 1, 1)
|
||||
albedo_texture = SubResource("GradientTexture2D_6a55y")
|
||||
rim_tint = 1.0
|
||||
texture_repeat = false
|
||||
billboard_mode = 1
|
||||
billboard_keep_scale = true
|
||||
proximity_fade_enabled = true
|
||||
@@ -0,0 +1,12 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bsbr5iwwmvkni"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://joecqmf51gl0" path="res://examples/forest-brawl/scenes/doodads/cloud-puff-material.tres" id="1_poiuj"]
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_o76l3"]
|
||||
material = ExtResource("1_poiuj")
|
||||
size = Vector2(16, 16)
|
||||
|
||||
[node name="Cloud Puff" type="MeshInstance3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.17294, 0)
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("QuadMesh_o76l3")
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://c12hb5btenkcy"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bsbr5iwwmvkni" path="res://examples/forest-brawl/scenes/doodads/cloud-puff.tscn" id="1_g3m5f"]
|
||||
|
||||
[node name="Clouds 1" type="Node3D"]
|
||||
|
||||
[node name="Cloud Puff" parent="." instance=ExtResource("1_g3m5f")]
|
||||
|
||||
[node name="Cloud Puff2" parent="." instance=ExtResource("1_g3m5f")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.61259, 1.17294, 0.902248)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff3" parent="." instance=ExtResource("1_g3m5f")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5049, 1.17294, 2.82576)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff4" parent="." instance=ExtResource("1_g3m5f")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.66857, 1.17294, -0.671089)
|
||||
skeleton = NodePath("")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://c5l8x303sjqhs"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bsbr5iwwmvkni" path="res://examples/forest-brawl/scenes/doodads/cloud-puff.tscn" id="1_inhlv"]
|
||||
|
||||
[node name="Clouds 2" type="Node3D"]
|
||||
|
||||
[node name="Cloud Puff" parent="." instance=ExtResource("1_inhlv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.87052, 1.17294, 1.65643)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff2" parent="." instance=ExtResource("1_inhlv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.82601, 0.801252, 2.57458)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff3" parent="." instance=ExtResource("1_inhlv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.89437, 0.801252, -2.56131)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff4" parent="." instance=ExtResource("1_inhlv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.24966, 1.12834, -0.138732)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff5" parent="." instance=ExtResource("1_inhlv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.18009, 0.756649, -0.0275192)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff6" parent="." instance=ExtResource("1_inhlv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.212608, 2.86806, -0.8603)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff7" parent="." instance=ExtResource("1_inhlv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.20852, 0.416291, -2.78978)
|
||||
skeleton = NodePath("")
|
||||
@@ -0,0 +1,45 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dq14vitb32x5p"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bsbr5iwwmvkni" path="res://examples/forest-brawl/scenes/doodads/cloud-puff.tscn" id="1_5rh3p"]
|
||||
|
||||
[node name="Clouds 3" type="Node3D"]
|
||||
|
||||
[node name="Cloud Puff" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.99559, 0)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff2" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.49789, 0, 4.6289)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff3" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.54156, 3.06295, 1.44107)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff4" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.02192, 0, -2.40179)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff5" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.30146, 0, 2.75114)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff6" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.2622, 0, -1.44107)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff7" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.57647, 0, -2.62013)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff8" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.54595, 0, 1.48474)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff9" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.829708, 0, 2.79481)
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Cloud Puff10" parent="." instance=ExtResource("1_5rh3p")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.57207, 0, -3.31883)
|
||||
skeleton = NodePath("")
|
||||
Reference in New Issue
Block a user