Devlog #23: Homemade sights, a .50 cal and your own shadow
The last two days went mostly into guns: things you can bolt onto them, how you hold them, and two new rifles. There's also a crowbar, and some fixes to how you look in first person.

Scrap attachments
Guns now take attachments, and all of them so far are things a survivor could knock together from junk:
- Sights: a hoop sight, a ring sight and a hooded sight, all made from scrap with a glass window. They help you aim tighter.
- Brass pipe scope: an old brass tube with glass at each end. It zooms in about 1.5x, and looking down it gives you a round scope view with black around the edge.
- Muzzle brake: cuts recoil.
- Fore grip: cuts recoil and tightens your aim from the hip.
- Pipe torch: a lamp in a pipe, mounted under the barrel. Press L to switch it on and off.
- Silencer: a welded can on the muzzle. Shots are quieter, there's no muzzle flash, and enemies only hear you from much closer.
You make them at the workbench from scrap, wood and a bit of electronics. To fit one, right-click a gun in your inventory and pick Modify. It lists the gun's slots (sight, muzzle, under barrel) and what you've got to put in them. Parts no longer jump onto the gun in your hands the moment you pick them up, and if you drop a gun, its attachments stay on it.

When you aim, you look through whatever sight is fitted. Each sight has its own eye position, and the game lines the gun up so the dot sits where your bullets go.



So far we've checked the attachments on the AK in a test map and in a playtest. They should work the same on the M4 and AK-110, but we haven't checked those yet.
Two new rifles
The scrap hunting rifle is a bolt-action, five-round rifle built from junk. It has a hex pipe barrel inside a slotted olive shroud, a pipe bolt with a rebar handle, a pipe stock wrapped in rag, and a trigger guard cut from a saw blade. It went through six versions before it looked like something someone actually built in a shed.

The Barrett M82 is our first military-tier gun: a pre-war .50 calibre rifle with a ten-round magazine and a tan finish chipped back to bare steel. It's heavy (13 kg in your pack) and hits very hard. The scope, suppressor and bipod come off it and will be separate attachments, so the base gun has nothing fitted. It fires with the bolt slamming back, and when you reload, the magazine drops out as a solid piece and the new one goes back in.

The first Barrett sat too high in your hands and the gun stretched when you reloaded. Both are fixed:
- It now sits lower and further forward, so your hand wraps the pistol grip with a finger on the trigger.
- Your left hand holds the handguard.
- The stretch came from our gun-packaging tool, which was sticking the magazine to the gun body where they touched. The tool is fixed, so the same thing won't happen on any gun we make from now on.
- When you aim, you now look along the top of the gun instead of from inside it.
We also re-textured the scrap DE-42 pistol and the scrap AK with a new worn finish: chipped paint and bare metal on the edges.
Hands where they should be
- Left hand on the gun: your left hand now holds the front of the rifle wherever that is on each gun, instead of floating where the animation left it.
- Steering wheels turn: on every car, the wheel now turns with your steering. It used to sit still while your hands moved.
- Hands round the rim: we measured the steering wheel on every car, so your hands grip around the rim instead of floating inside it. We've checked the ute and the van so far.

Your own shadow
In first person you couldn't see your upper body's shadow, only your legs. To stop your own arms and chest getting in front of the camera, the game hides them from you, and that was taking them out of your shadow as well. Now your shadow shows your head, arms and the gun you're holding, and nothing extra shows in front of the camera. It's only on in first person, and switches off when you're in a car, in third person or in your inventory.
The shadow is the bare body for now, so clothes and armour don't change its shape yet. We've only tested it single player.
The crowbar
There's a crowbar now. It's a one-handed melee weapon, and it can also force things open: point it at a locked door, bonnet or boot and click to pry it open. Locked parts now say so and tell you a crowbar will open them. You make one at the workbench from scrap.
Smaller things
- The trader train now has smoke from both exhaust stacks, a new horn recording, and fewer sparks. Sparks used to keep going after the train stopped; now they switch off.
- Skinning: the skinning spot follows the body as it settles and opens once it's still, and you step up to the body before you start. Your character no longer stretches down into the floor while skinning.
- All 16 crafting stations have proper icons now, and the gun icons were re-rendered with the magazine fitted.
What's next
- Scope, suppressor and bipod attachments for the Barrett.
- A firing speed and kick that suit a .50 calibre rifle. Right now it shares the AK's settings.
- Putting the hunting rifle and AK through the fixed gun tool, so they get the same hand and reload fixes as the Barrett.
- Clothes and armour on your first-person shadow.
Loading comments...