Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,21 @@ supervised homologation qualification by exact reviewed image digest.
Rollback: revert this configuration commit, rebuild through the existing
workspace pipeline from reviewed master revisions and obtain operator approval
before deployment. Existing artifacts are unchanged by catalog edits.

The final Promod feature candidate declares `bot_use_names=1` and
`bot_sd_objectives=1`. `modes/promod/botnames.txt` mixes the requested COD4 and
fictional American military names. Keep each line unique ignoring case, at most
31 ASCII bytes, using letters, numbers, spaces, dots and hyphens. Names apply at
bot creation; existing players are never renamed. The matching engine and
workspace changes are required: packaging binds this file into configuration
identity and installs it as root `scriptdata/botnames.txt`.

S&D retains native bomb ownership and full plant/defuse timers. This is a
candidate pending independent review, mandatory CI, supported-map qualification
and supervised real-client gameplay. No deployment is authorized. After this
focused feature delivery, return all three repositories to feature freeze.
Rollback uses the previous reviewed engine/config/workspace artifact together.

Development is frozen outside focused qualification and remediation of this
final candidate. No additional features, deployment or bridge activation are
authorized by this PR.
15 changes: 15 additions & 0 deletions modes/promod/botnames.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Capt. Price
Soap MacTavish
Gaz
Sgt. Griggs
Lt. Vasquez
Sgt. Jackson
Capt. MacMillan
Sgt. Miller
Cpl. Johnson
Pvt. Walker
Lt. Anderson
Sgt. Thompson
Cpl. Davis
Pvt. Carter
Capt. Mitchell
4 changes: 4 additions & 0 deletions modes/promod/server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ set g_voteCooldown "5"
// The engine default is off; do not override an explicit private choice here.
set bot_fill_limit "12"
set sv_mapRotationCurrent ""

// Names apply at bot creation; native S&D interactions keep Promod timers.
set bot_use_names "1"
set bot_sd_objectives "1"
18 changes: 18 additions & 0 deletions tests/test_military_names.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from pathlib import Path
import re
import unittest
ROOT = Path(__file__).resolve().parents[1]


class MilitaryNames(unittest.TestCase):
def test_configured_pool_contains_both_groups_and_fits_native_limits(self):
names = (ROOT / 'modes/promod/botnames.txt').read_text().splitlines()
self.assertEqual(len(names), 15)
self.assertEqual(len(set(n.lower() for n in names)), 15)
self.assertTrue({'Capt. Price', 'Soap MacTavish', 'Capt. MacMillan',
'Sgt. Miller', 'Capt. Mitchell'}.issubset(names))
self.assertTrue(all(len(n) <= 31 and re.fullmatch('[A-Za-z0-9. -]+', n) for n in names))
cfg = (ROOT / 'modes/promod/server.cfg').read_text()
self.assertIn('set bot_use_names "1"', cfg)
self.assertIn('set bot_sd_objectives "1"', cfg)
self.assertNotIn('bot_use_names', (ROOT / 'modes/zombies/server.cfg').read_text())
Loading