Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

1.9 KB
Raw Blame
# Infantry on a road: does a player-sized foot army clog a town street?
#
# Forty-eight mixed infantry, one right click, down the Alpine Assault street from 760,920 to
# 1400,1400: the line mobattack.txt and towncross.txt march, houses either side and a crossroads at
# 1310,1290 that turns any crowd into a column. Four templates so each arrive line is one class.
# The player's complaint (PLAYER-FEEDBACK-2026-09-20.md, "Units clogging and shoving in a crowd")
# is infantry blocking the road; HEADLESS STALL counts every stop of a second on the way.
#
#   generals.exe -headless -quickstart -noshellmap -observer -multiInstance -noFPSLimit
#     -map "Maps\Alpine Assault\Alpine Assault.map" -autoskirmish 2 -takeover
#     -side 0 FactionAmerica -side 1 FactionGLA -seed 1 -maxframes 3000
#     -scenario infroad -logPrefix infroad_
#
# 2026-10-04, main at 8c7195a1, seeds 1-3 (identical: nothing in this match draws on the seed):
# no stop of a second in any class. Last arrival, frames after the order: Rangers 990, Missile
# Defenders 878, Red Guard 746, Rebels 817. One soldier of each sent alone down the same street
# takes 993, 903, 759 and 849, so forty-eight on foot walk this road at free-flow speed. Infantry
# alone does not clog it; infconvoy.txt is where the stops come from.

30    spawn       0  AmericaInfantryRanger           16  760 920   18
30    spawn       0  AmericaInfantryMissileDefender  12  840 920   18
30    spawn       0  ChinaInfantryRedguard           12  760 1000  18
30    spawn       0  GLAInfantryRebel                 8  840 1000  18
60    playermove  0  *  1400 1400
# '*' takes the seat's dozer along; stop it so no vehicle is in the crowd
61    stop        0  AmericaVehicleDozer
60    arrive      0  AmericaInfantryRanger           1400 1400 200
60    arrive      0  AmericaInfantryMissileDefender  1400 1400 200
60    arrive      0  ChinaInfantryRedguard           1400 1400 200
60    arrive      0  GLAInfantryRebel                1400 1400 200