diff --git a/README.md b/README.md index 7ee5fdf..8d10708 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/modes/promod/botnames.txt b/modes/promod/botnames.txt new file mode 100644 index 0000000..1268784 --- /dev/null +++ b/modes/promod/botnames.txt @@ -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 diff --git a/modes/promod/server.cfg b/modes/promod/server.cfg index c243156..4fcc40f 100644 --- a/modes/promod/server.cfg +++ b/modes/promod/server.cfg @@ -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" diff --git a/tests/test_military_names.py b/tests/test_military_names.py new file mode 100644 index 0000000..33a0b2b --- /dev/null +++ b/tests/test_military_names.py @@ -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())