Skip to content

goodman3/node-half-life-map-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-half-life-map-generator

Introduction

This tool converts *.png file into half-life 1 *.map .

png format

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.

usage

node index.js [path-to-png]

or

hl-png-generator.exe [path-to-png]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published