The classic Warcraft 3 map.
This is a TypeScript map. Object editing, terraining, and other World Editor data still live in the .w3x; the custom
code is written in TypeScript and transpiled to Lua via typescript-to-lua. Layout:
map.w3x— base map opened in the World Editor (settings, objects, terrain — no custom code).src— TypeScript source for the map's custom logic.scripts— Deno scripts that drive the build.temp— build outputs (out.lua,combined.lua,release.w3x,<map name>.w3x).
- Deno 2.x.
deno task buildCompiles src/**/*.ts to a single temp/out.lua, concatenates it with map.w3x/war3map.lua, and packs the result into
temp/release.w3x (and temp/<map name>.w3x).
deno task testdeno task lint
deno task fmtAnyone is welcome to contribute; just open a pull request and I'll review it. I strongly recommend joining the Discord
and discussing ideas first before doing any work. Please make sure tests pass with deno task test.