This tool converts *.png file into half-life 1 *.map .
Each pixel's RGB value represents height.
-
If R>G>B: Brush will look like this:
┌-------┐ -> R value | | | | └-------┘ -> G value ┌-------┐ -> B value | | └-------┘
-
Other combinations are reserved.
node index.js [path-to-png]
or
hl-png-generator.exe [path-to-png]