diff --git a/game/reconstructed/mechdmg.cpp b/game/reconstructed/mechdmg.cpp index 2c6517f..8b12682 100644 --- a/game/reconstructed/mechdmg.cpp +++ b/game/reconstructed/mechdmg.cpp @@ -278,6 +278,7 @@ Mech__DamageZone::Mech__DamageZone( // the authored ram economy. if (getenv("BT_DMG_LOG")) DEBUG_STREAM << "[zone-armor] zone=" << damageZoneIndex + << " '" << (const char *)damageZoneName << "'" << " armorPts=" << defaultArmorPoints << " raw={" << rawScale[0] << "," << rawScale[1] << "," << rawScale[2] << "," << rawScale[3] << "," << rawScale[4] << "}" diff --git a/scratchpad/night9/zonesweep.sh b/scratchpad/night9/zonesweep.sh new file mode 100644 index 0000000..4e8b70e --- /dev/null +++ b/scratchpad/night9/zonesweep.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +# #110 coverage: dump EVERY chassis's zone-cascade authoring (no combat -- just +# boot, let the mech build, capture the [zone-armor] table, exit). +set -x +. /c/git/bt411/scratchpad/night6/bench_common.sh +cd /c/git/bt411/content || exit 1 +V="$1" +taskkill //F //IM btl4.exe > /dev/null 2>&1 +sleep 2 +sed "s/^map=.*/map=grass/; s/^time=.*/time=day/; 0,/^vehicle=.*/s//vehicle=$V/" MP.EGG > ZS.EGG +rm -f zonesweep_$V.log +export BT_DMG_LOG=1 +bt_launch zonesweep_$V.log ZS.EGG 0x03 +sleep 55 +taskkill //F //IM btl4.exe > /dev/null 2>&1 +sleep 2