Files
shawn b0c83af092 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>
2026-07-02 20:55:20 -04:00

99 lines
3.4 KiB
Plaintext

[gd_scene load_steps=17 format=3 uid="uid://6212jkmbikjq"]
[ext_resource type="Script" path="res://examples/forest-brawl/scripts/displacer.gd" id="1_acukw"]
[ext_resource type="Script" path="res://examples/forest-brawl/scripts/explosion.gd" id="2_g53bu"]
[ext_resource type="AudioStream" uid="uid://cuu7355mjw0qm" path="res://examples/forest-brawl/sounds/boom1.wav" id="3_kw7x7"]
[ext_resource type="Script" path="res://examples/forest-brawl/scripts/play-random-3d.gd" id="4_vsx6y"]
[ext_resource type="AudioStream" uid="uid://dk44nxlwr3m1o" path="res://examples/forest-brawl/sounds/boom2.wav" id="5_yr2wj"]
[ext_resource type="AudioStream" uid="uid://yyc2x2137nqa" path="res://examples/forest-brawl/sounds/boom3.wav" id="6_fihgd"]
[sub_resource type="SphereShape3D" id="SphereShape3D_0scc6"]
radius = 2.0
[sub_resource type="Gradient" id="Gradient_32qlm"]
interpolation_mode = 2
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_nqkbc"]
gradient = SubResource("Gradient_32qlm")
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 0.5)
metadata/_snap_enabled = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kb3qh"]
transparency = 1
blend_mode = 1
depth_draw_mode = 2
shading_mode = 0
vertex_color_use_as_albedo = true
vertex_color_is_srgb = true
albedo_texture = SubResource("GradientTexture2D_nqkbc")
uv1_scale = Vector3(2, 1, 1)
uv1_offset = Vector3(0.5, 0, 0)
billboard_mode = 1
billboard_keep_scale = true
proximity_fade_enabled = true
proximity_fade_distance = 0.25
[sub_resource type="SphereMesh" id="SphereMesh_5d23i"]
material = SubResource("StandardMaterial3D_kb3qh")
radial_segments = 16
rings = 8
[sub_resource type="Curve" id="Curve_t4jmr"]
_data = [Vector2(0, 0), 0.0, 14.9413, 0, 0, Vector2(0.0942029, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -3.0072, 0.0, 0, 0]
point_count = 3
[sub_resource type="Gradient" id="Gradient_6w0nn"]
interpolation_mode = 2
offsets = PackedFloat32Array(0, 0.57561, 1)
colors = PackedColorArray(1, 0.7, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0)
[sub_resource type="SphereShape3D" id="SphereShape3D_ddj8d"]
radius = 2.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6rsal"]
transparency = 1
albedo_color = Color(1, 0, 0, 0.25098)
[sub_resource type="SphereMesh" id="SphereMesh_k5smf"]
material = SubResource("StandardMaterial3D_6rsal")
radius = 2.0
height = 4.0
[node name="Explosion" type="Area3D"]
gravity = 0.0
script = ExtResource("1_acukw")
duration = 1.0
strength = 64.0
shape = SubResource("SphereShape3D_0scc6")
[node name="Explosion Particles" type="CPUParticles3D" parent="."]
amount = 32
explosiveness = 0.8
local_coords = true
mesh = SubResource("SphereMesh_5d23i")
emission_shape = 1
emission_sphere_radius = 0.5
particle_flag_align_y = true
particle_flag_rotate_y = true
gravity = Vector3(0, 0, 0)
scale_amount_min = 0.5
scale_amount_max = 2.0
scale_amount_curve = SubResource("Curve_t4jmr")
color_ramp = SubResource("Gradient_6w0nn")
script = ExtResource("2_g53bu")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_ddj8d")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
visible = false
mesh = SubResource("SphereMesh_k5smf")
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
autoplay = true
script = ExtResource("4_vsx6y")
sounds = Array[AudioStream]([ExtResource("3_kw7x7"), ExtResource("5_yr2wj"), ExtResource("6_fihgd")])