5019: ten RTS maps built from terrain ops at load, with walls made of steep hills

Every chapter’s map in the next update is a list of 9 to about 120 ops (raise a landmass, sink a basin) run over a height grid when the mission loads. A 380 x 340 tile map builds in about 0.4 s in GDScript, so nothing is baked, and the look (jungle, sand, rock, foam) is drawn from the heights by the ground shader.

Walls are not a tile type. Any 4 m step between two neighbouring tiles is classed as cliff, nothing paths across a cliff, and the shader already draws steep ground as rock. So a wall is a chain of small steep hills six tiles apart. One long narrow ridge was tried first: its flanks were only cliff along the middle two fifths of it.

The same ops are mirrored in a Python tool that measures a map before the game loads it: how many separate ways there are between the two bases, and how wide the narrowest point of each is.

The released game is 5019, free on the Microsoft Store (open the Store app and search 5019). These maps come with update 1.2.

1 Like

A save file bit me on the way to 1.2.

A record wrote each unit as its index in the entity table. The table is the data files read in name order, so adding one building in the middle moved every index after it: 163 of 175 kinds were at a different number in the new build, and the format version had not changed, so the check that should have refused the file passed. An old save would have opened with most units turned into their neighbours.

Now the names are written once at the head of the file and the indices are read through them. Old files are read through a frozen copy of the old table. I checked it by unpacking the old release from git, having it write a save, and opening that in the new build.

1.2 is out (Store app, search 5019). The trailer:

1.2.5 is on the Store now.

The opponent used to move in groups. Now each of its units decides for itself: what to shoot, when to step back behind its own line, and when it is better spent where it stands. Flyers leave before a gun is in reach instead of after they are hit.

Ships are built on land beside the yard, and the crew sent aboard hauls the hull down to the water first.

dude it looks insane :star_struck:

1 Like

thanks!!

1.2.7 is on the Store now.

The opponent has no build order and no timers any more. It scores what it could do next with a model fitted to the engine’s own fights, and does whatever moves the score most. The three difficulty levels only change how often it looks and how far off its estimates are.

The opening cinematic: