Skip to content

Instantly share code, notes, and snippets.

@Drumsin
Last active June 11, 2022 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Drumsin/08f5dd250c2a9071217ec9d02ed5cfc5 to your computer and use it in GitHub Desktop.
Save Drumsin/08f5dd250c2a9071217ec9d02ed5cfc5 to your computer and use it in GitHub Desktop.
AoE4 Generated Map Function: Diagonal Cross
--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