We once had to get the same volt drop for a military application. Because of the high wattage needed, and the inherent nature of the troops to be a little rough, we put 9 high wattage diodes in series on a heatsink to get the volt drop. It is very robust and quite cheap. You can also use a variable dc power supply, and take the transformer out, and connect your 24 volt to the input. It all depends on the amperage needed. Remember that you will burn 12V (drop from 24V to 12V) x the amperage in Watts. 1 amp will give you 12watts of heat. If you want to pull 5 amps, it will become 60 watts. This is quite a bit of heat to dissipate. In the higher case, diodes on a heatsink will work better. If it is properly assembled, it should last almost for ever.