Firstly, the resonance of the strings, varies depending on size and how they join to the bridge/machinehead and over the nut. Fewer coils around the machineheads will mean better stability, and less energy lost, so more sustain and louder resonance. Lubricating the bridge saddles will also produce the same effect.
Then the resonance of the woods, varies with the way the bridge joins to the body, and the way the neck joins to the body, and the tonal properties of the wood. Tighter joins will increaes sustain, and make a louder resonance.
Then the distance of the pickups from the string, and how the pickups are joined to the body. Closer to the strings = more sensitive to the strings movements = louder. Tighter to the body = more permeable to the resonance of the body = louder.
Then the properties of the pickups themselves, larger dc resistance = louder.
Then the resistive properties of the wiring/cables and effects you use.
Have I missed anything?