Last active
June 11, 2022 03:37
-
-
Save Drumsin/08f5dd250c2a9071217ec9d02ed5cfc5 to your computer and use it in GitHub Desktop.
AoE4 Generated Map Function: Diagonal Cross
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--draws a diagonal cross | |
--copy and paste code to preview at https://aoe4.app/ | |
for i = 1, gridSize do | |
terrainLayoutResult[i][i].terrainType = tt_lake_shallow | |
terrainLayoutResult[gridSize - i + 1][i].terrainType = tt_lake_shallow | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment