We study the self-assembly of genetically engineered protein-based triblock copolymers consisting of a central pH-responsive silk-like middle block (SHn, where SH is a silk-like octapeptide, (GA)3GH and n is the number of repeats) flanked by hydrophilic random coil outer blocks (C2). Our previous work has already shown that triblocks with very long midblocks (n = 48) self-assemble into long, stiff protein filaments at pH values where the middle blocks are uncharged. Here we investigate the self-assembly behavior of the triblock copolymers for a range of midblock lengths, n = 8, 16, 24, 48. Upon charge neutralization of SHn by adjusting the pH, we find that C2SH8C2 and C2SH16C2 form spherical micelles, whereas both C2SH24C2 and C2SH48C2 form protein filaments with a characteristic beta-roll secondary structure of the silk midblocks. Hydrogels formed by C2SH48C2 are much stronger and form much faster than those formed by C2SH24C2. Enzymatic digestion of much of the hydrophilic outer blocks is used to show that with much of the hydrophilic outer blocks removed, all silk-midblocks are capable of self-assembling into stiff protein filaments. In that case, reduction of the steric repulsion by the hydrophilic outer blocks also leads to extensive fiber bundling. Our results highlight the opposing roles of the hydrophilic outer blocks and central silk-like midblocks in driving protein filament formation. They provide crucial information for future designs of triblock protein-based polymers that form stiff filaments with controlled bundling, that could mimick properties of collagen in the extracellular matrix.