Darude - Sandstorm scripted in Half-life
quadrazid quadrazid
57.5K subscribers
47,003 views
0

 Published On Dec 27, 2020

Darude's classic 100% scripted in Half-life

Spamming buttons (use, flashlight, weapon selection) to create tones with the framerate as frequency.
Simultaneous tones with different frequencies are made by using the least common multiple of the tones as framerate. Then input each fps/hz’th frame. Some is slightly out of tune in order to get a smaller and more reasonable LCM.
The “stopsound” command is used to get abrupt end of the tones. Removing any rest of the actual sound.
Some sounds cannot be made while reloading or switching weapon, hence the drop.

A lot of actions is not visible in the in the video because the game fps is as much as 4620 and the video is captured only at 60 fps.

Part of script: https://pastebin.com/JPKDirpj
Extended mp3: https://drive.google.com/file/d/1OBL4...
Extended video:    • Half-Life - Sandstorm (extended)  

It started with some simple monophonics by converting midi » csv » hltas. When I found out that I actually could make polyphonic songs. I left hltas and used the original HL scripting instead, based on the wait table previously used for scripts in speedrunning.
The lovely Darude – Sandstorm was the obvious choice for this project.

What song would you like to hear next?

show more

Share/Embed