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.4 KB
Raw Blame
# Tech building respawn (GitHub #23): two tech buildings die and come back a minute later.
#
# The derrick dies into a ruin that KeepObjectDie keeps; the reinforcement pad dies through DestroyDie
# and leaves nothing.  The Crusaders then park on the derrick's spot and leave again, so the derrick's
# TECH RESPAWN "back" line should come in late by about as long as the tanks stood there, and the
# pad's on time.  The pad's footprint touches the map's GermanPub01, which stood there before it and
# does not hold it back.
#
#   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 6000
#     -techrespawn 1 -scenario techrespawn -logPrefix techrespawn_
#
# See mobstress.txt for the line grammar.

30    spawn      1  TechOilDerrick          1  760 920
30    spawn      1  TechReinforcementPad    1  1060 920
30    spawn      0  AmericaTankCrusader     6  900 1150  40

60    attack     0  AmericaTankCrusader     1  TechOilDerrick
900   attack     0  AmericaTankCrusader     1  TechReinforcementPad

# the derrick has been down since roughly frame 400; one tank sits on its spot across the due frame
1500  move       0  AmericaTankCrusader     760 920
3000  move       0  AmericaTankCrusader     900 1300