Version 3.37 added the Saltglass Guild, a seventeenth civilization. The interesting part was not the five capital ships or the new trait. It was that, for the first time, the ships were not drawn by us. They came from a free pack of eleven spaceships by Quaternius, released into the public domain with a CC0 licence, and getting them to behave like our ships taught us a few things.
Eleven ships, one length each
The pack comes as OBJ files with a 2048-pixel texture each: five bigger ships and six small ones. We assigned the five largest to warships and the six smallest to the small-craft types, so a Saltglass fleet no longer shares its fighter shapes with anyone. Each ship has its own length in the game, because a Strongbox carrier should be a good deal longer than the little ship that flies beside it, and the pack was modelled at no common scale at all.
Our first set of lengths was wrong in an obvious way. Several ships came out far too wide for their length, because the lengths we had picked were too short for their wingspans. We fixed it by choosing a length for each ship and checking the resulting widths in a table, not by eye.
Which end is the front?
The files do not say which way a ship faces. In our game the nose points along the x axis, and an OBJ file might point it along any of three. A wrong guess still gives a handsome model that flies backwards. We rendered each from above and compared with the author’s own preview picture, where the engine flames sit at the back. All eleven noses pointed along +Z. That gave a rotation of the axes that keeps the ships the right way round, with no mirroring.
Writing the converter ourselves
We did not run a ready-made converter on the downloaded files. They came from the internet, and a small Python script of our own, reading the plain text of an OBJ, is easier to trust than a program we have not read. The script remaps the axes, centres each ship, scales it to its length, welds duplicate vertices, flips the texture’s vertical coordinate and writes a minimal binary glTF. It also shrinks each texture to 1024 pixels as a webp image. Eleven ships come to 2.8 MB.
The bug the tests could not see
Everything passed. The 93 battle hashes were unchanged, the data checks were clean, and then we opened the hangar in a real browser and saw a grey slab where the Strongbox should be. The cause was timing. The game builds a model the first time it needs one and keeps it. If that moment came before the ship’s files had finished downloading, the slab, our stand-in, was built and kept for good. The fix is a rule: a model built from a stand-in is never kept.
A second pair of eyes
After that we asked a separate agent, one that had not written any of the code, to check the whole release from the packaged file. It found things we had missed. One slow or missing Saltglass file made the game drop all of its 3D models for every civilization, not just the Guild’s. And the new trait, which was meant for hired ships, also applied to the allied station. Both were small and both were ours. The loading is now separate for the Guild’s hulls, and the station is left out of the trait.
It also caught a sentence in our notes that was not true. We had written that hostile Guild ships keep a red tint. They do not: only their engine flames are red. We changed the sentence, not the ships.
What we still do not know
The Guild’s small craft have a few thousand triangles each, more than our older fighters, and some battles field hundreds of them. We have not measured how that runs on a weak graphics card, so we say so on the Guild’s page and not that it is fine.