My fork of Stratagus https://github.com/Wargus/stratagus
This will use the unit's Direction field to show different wall connections. The unit should be a building and have NumDirections = 16 and Flip = false. The wall unit didn't count in GetNumOpponents. When it attacked, AI didn't fight back and no warnings are shown. NOTE: need to modify triggers, so they won't count the wall units when calculating player's remaining units. Not needed for those games which don't use this feature. Wall mapping: Frame 0 - wall without connections. Frame 1 - wall with north connection. Frame 2 - wall with west connection. Frame 3 - wall with north and west connections. Frame 4 - wall with south connection. Frame 5 - wall with south and north connections. Frame 6 - wall with south and west connections. Frame 7 - wall with south, north and west connections. Frame 8 - wall with east connection. Frame 9 - wall with east and north connections. Frame 10 - wall with east and west connections. Frame 11 - wall with east, north and west connections. Frame 12 - wall with east and south connections. Frame 13 - wall with east, south and north connections. Frame 14 - wall with east, south and west connections. Frame 15 - wall with all connections. patch from Cybermind. |
||
---|---|---|
.bzr-builddeb | ||
cmake/modules | ||
debian | ||
doc | ||
gameheaders | ||
metaserver | ||
po | ||
src | ||
tools | ||
.bzrignore | ||
CMakeLists.txt | ||
COPYING | ||
README |
________________________________README_________________________________ _________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ | /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine Read 'doc/index.html' for general information and license information. Read 'doc/install.html' for Stratagus installation instructions. Read 'doc/changelog.html' for the Stratagus changelog.