A client is shot, blasted and killed, and watches a player die.
python3 scripts/client_view_test.py /path/to/CoD2 --protocol {115|118} [--binary PATH] [--server PATH]
Runs the dedicated server with scripts/contact_test.py's mod, joins its target
as a minimal client and then a real client (cod2_linux), which the mod places
in front of the target, facing it. The target shoots the client and throws a
grenade at it, then twice the test has the mod kill the target (rcon
contact_phase kill): the client draws the corpse the server clones and
predicts its own moves meanwhile. Last the mod kills the client
(killmover), which spawns again. The client must still run without a crash
report, and the hits, deaths and spawns must all have happened; the
players' bone controllers it traces (COD2_TRACE_CONTROLLERS) must stay finite
and within 180 degrees.
The client opens a window and needs a CD key in ~/.cod2/preferences; without
one the test is skipped (exit 0). Exits with 0 when all of that holds.