As far as the flashing goes, that is pretty simple, in this video (https://www.youtube.com/watch?v=K5xv5NZEj9k) skip to the 31:10 timestamp and you can see the material setup for a strobe, using some simple math you can adjust the curve for the lerp.