Readme: add Usage section that covers the basics
This commit is contained in:
parent
f228121fd8
commit
a09ae7261a
3 changed files with 14 additions and 8 deletions
6
.github/workflows/linux-ci.yaml
vendored
6
.github/workflows/linux-ci.yaml
vendored
|
@ -2,9 +2,7 @@ name: Linux CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
tags: ['v*.*.*']
|
||||||
pull_request:
|
|
||||||
branches: [ "master" ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -31,4 +29,4 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vmap-bin
|
name: vmap-bin
|
||||||
path: vmap
|
path: vmap
|
6
.github/workflows/win-ci.yaml
vendored
6
.github/workflows/win-ci.yaml
vendored
|
@ -2,9 +2,7 @@ name: Windows CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
tags: ['v*.*.*']
|
||||||
pull_request:
|
|
||||||
branches: [ "master" ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
@ -48,4 +46,4 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: vmap-win
|
name: vmap-win
|
||||||
path: vmap.exe
|
path: vmap.exe
|
10
README.md
10
README.md
|
@ -19,6 +19,16 @@ A fork of q3map2, now available as a stand-alone compiler targetting [FTEQW](htt
|
||||||
- Support for entity key: _entsurfaceflags, so surfaces can override their surfaceflags
|
- Support for entity key: _entsurfaceflags, so surfaces can override their surfaceflags
|
||||||
- Support for entity key: _entcontentflags, so brushes can override their contentflags
|
- Support for entity key: _entcontentflags, so brushes can override their contentflags
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
BSP: `./vmap [options] dm_foobar`
|
||||||
|
VIS: `./vmap [options] -vis dm_foobar`
|
||||||
|
LIGHT: `./vmap [options] -light dm_foobar`
|
||||||
|
|
||||||
|
You want to pass `-fs_basepath /path/to/game/root` and `-game` arguments to specify where to read textures from. If you wanted to, for example, compile a map included within Nuclide's 'base' directory you'd end up with a command-line like this:
|
||||||
|
|
||||||
|
`./vmap -fs_basepath /home/user/nuclide-sdk/ -game platform -game base test_sun`
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
To compile on a standard GNU/Linux system:
|
To compile on a standard GNU/Linux system:
|
||||||
`make`
|
`make`
|
||||||
|
|
Loading…
Reference in a new issue