The electric box - can be found by the dumpster or next to the fridge at the farm. This is for the nav card reader.
The rope - is really the wiring for the jet gun.
The machine in the town you are referring to us the jet gun. You need four parts. Based on this post you've found 2.
The farm has the turret. You need three pieces there.