Simon Tasker

Games, apps, and the occasional detour.

Game Dev · · 5 min read

Dead Tide: A train nobody drives, and taking the island back

Islanders who run out of ammo, an autonomous train with open flatbeds, scavengers who rob the dead, a war map, and forward posts that can be overrun.

People who live there#

The island is not empty apart from the dead. There are people still living in the towns, and early on I asked for them to behave like players.

Each one has a home, a limited amount of ammo and planks, and earns money for every zombie they hit. At dusk they go inside, shut the doors and board up the windows. When they run low on ammo they walk to the pier, take the ferry to the Ark and buy more. If they are broke, they search the containers in their town instead. They call out contacts by the clock, so you hear "Contact! Six o'clock!" from somewhere down the street.

Limited ammo was the important part. Without it they would fight forever, and the island would be a shooting gallery. With it, a town's defenders can run dry, and that is when things go wrong.

A train nobody drives.#

There is a railway loop round the island with six stations, and I wanted it to make sense in the world. So there is no driver. An autonomous engine, left running since the outbreak, pulls three open flatbeds round the loop and stops at each station for eighteen seconds. Press E at a station to sit down, and you can shoot from the flatbed while it moves.

The autonomous engine pulling three open flatbeds along the line, with a survivor riding on the middle one and zombies by the track.
Riding the flatbeds. The health bar shows a very large number because I was testing in god mode.

The train gave me two of the most stubborn bugs of the day. People sitting on it were jumping about. The server only says where the train is twenty times a second, so riders were being snapped from one position to the next. The fix was to stop sending riders as positions at all. Now the browser is told which seat you are in and sits you on its own smoothly moving train, so you move with the car.

The second one made me laugh. Everybody riding the train was playing their walking animation, so the flatbeds were full of people running on the spot.

Things go wrong on the line.#

Then the train needed problems. Every so often a rockslide or a fallen tree blocks the line, the train stops short, and Commander Voss offers everyone a job to clear it. It is loud work, and loud work brings company.

When the train is standing still its engine draws zombies, and they batter it. At zero health it is wrecked. Repairing it is a hard job: you need engine parts, about seventy seconds of work, and when it restarts the horn is heard across the whole island and brings about seventy infected down on the engine.

One of today's bugs was here, too. I had a job to clear debris and there was no debris. The debris only lived in the server's memory, and a deploy restarts the server. Now, when you log in holding a job whose debris has vanished, it is put back on the line where the job says.

Scavengers.#

Scattered across the wilds are seven scavenger camps, with tents, a fire, stash crates and four armed scavengers each. They shoot players and islanders on sight, and anything they kill, they rob.

Scavengers at their camp around a fire, two of them already down, with spent casings on the ground and a survivor firing at them from the treeline.
Testing the scavengers with a rifle. Shooting them always worked. Hitting them with a bat did not, until today.

Everyone killed out there leaves a body you can search. An islander's body has their rounds, cash and planks, and anything they had stolen. Yours has a quarter of your cash, half your ammo and your supplies, so getting back to your own body before the scavengers do becomes the whole point of your next trip. They go after any body near their camp and carry the loot home, even when nobody is watching.

Late in the day I noticed that scavengers could hurt me but I could not hurt them. Guns were fine. Melee swings and the shove were only ever checking for zombies, so they went straight through people. They do not now.

Taking it back.#

Every settlement has a measure of how much the dead control it. Every zombie killed inside it, by anyone, pushes that down, and the infected creep back over time, faster at night. Below a quarter and the settlement is reclaimed. Above two thirds and it is overrun.

There is a map table in Commander Voss's office for it. The Ark's war map shows every settlement, every scavenger camp, any debris on the line and where the train is. Right now it is a lot of red.

The Ark's war map of the island, with every settlement circled in red as overrun and scavenger camps marked with red crosses.
The war map, reading nought out of ten settlements reclaimed. That is what I mean by a lot of red.

Forward posts#

When a settlement is reclaimed, the Ark sends a team. About forty seconds later they dig in at the town centre with a ring of sandbags, a flag, a tent, four guards and a quartermaster who trades supplies. You can respawn there.

A forward command post in Gallton, a ring of sandbags around a tent and supply crates with four Ark guards and a quartermaster, in the middle of the road.
A forward post in Gallton. Its guards' gunfire is exactly the sort of thing that draws a horde.

A post holds the town, but it is not safe. The guards' gunfire draws hordes, and the nearest scavenger camp sends a raid every so often. When the last guard falls, the post is overrun and the town slides back towards the dead.

Next time, washing up: the tutorial, and why the first version of it was far too hard.