Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Nov 2, 2023
0 parents commit f813e28
Show file tree
Hide file tree
Showing 5 changed files with 1,478 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/fgd-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update TrenchBroom FGD
on:
schedule:
- cron: 0 8 * * *
workflow_dispatch:

jobs:
Do-The-Thing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Get apt ready
run: |
apt update
apt install -y wget
- name: Download FGD
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE
rm -f tb-nzp.fgd
wget -nc https://raw.githubusercontent.com/nzp-team/assets/main/source/maps/fgd/tb-nzp.fgd
- name: Commit and Push
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update TrenchBroom FGD
branch: main
commit_user_name: Awesome NZ:P Updater Bot
commit_user_email: [email protected]
78 changes: 78 additions & 0 deletions GameConfig.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"version": 5,
"name": "NZP",
"icon": "Icon.png",
"fileformats": [
{ "format": "Valve" },
{ "format": "Standard" }
],
"filesystem": {
"searchpath": "nzp",
"packageformat": { "extension": "pak", "format": "idpak" }
},
"textures": {
"package": { "type": "file", "format": { "extension": "wad", "format": "wad2" } },
"format": { "extension": "C", "format": "hlmip" },
"palette": "gfx/palette.lmp",
"attribute": "wad"
},
"entities": {
"definitions": [ "tb-nzp.fgd" ],
"defaultcolor": "0.6 0.6 0.6 1.0",
"modelformats": [ "mdl", "bsp" ]
},
"tags": {
"brush": [
{
"name": "Trigger",
"attribs": [ "transparent" ],
"match": "classname",
"pattern": "trigger*"
}
],
"brushface": [
{
"name": "Clip",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "clip"
},
{
"name": "Skip",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "skip"
},
{
"name": "Hint",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "hint*"
},
{
"name": "Liquid",
"match": "texture",
"pattern": "\**"
},
{
"name": "Null",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "null"
},
{
"name": "TriggerFace",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "*trigger*"
}
]
},
"softMapBounds":"-4096 -4096 -4096 4096 4096 4096",
"compilationTools": [
{ "name": "csg"},
{ "name": "bsp"},
{ "name": "vis"},
{ "name": "rad"}
]
}
Binary file added Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nazi Zombies: Portable TrenchBroom Profile

## About

This repository contains the TrenchBroom profile and up-to-date `.FGD` for NZ:P. It is updated nightly.
Loading

0 comments on commit f813e28

Please sign in to comment.