Skip to content

Commit

Permalink
TrenchBroom#2902 Digital Paintball2 support (TrenchBroom#2903)
Browse files Browse the repository at this point in the history
* Digital Paintball2

* Digital Paintball2

* Digital Paintball2

* Icon

* GameConfig and fgd fix

* cleaned assets folde, minor adjustments

* Fix to GameConfig

* removed Digital Paintball2 from master

* Removed assets

* DigitalPaintball2, dropped indexed texture formats

* DigitalPaintball2
  • Loading branch information
aapokaapo authored and kduske committed Jan 7, 2020
1 parent f9712f7 commit 847e761
Show file tree
Hide file tree
Showing 3 changed files with 1,037 additions and 0 deletions.
231 changes: 231 additions & 0 deletions app/resources/games/DigitalPaintball2/GameConfig.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
{
"version": 3,
"name": "Digital Paintball2",
"icon": "Icon.png",
"fileformats": [ { "format": "Quake2" } ],
"filesystem": {
"searchpath": "pball",
"packageformat": { "extension": "pak", "format": "idpak" }
},
"textures": {
"package": { "type": "directory", "root": "textures" },
"format": { "extensions": [ "jpg", "png", "tga" ], "format": "image" },
"palette": "pics/colormap.pcx",
"attribute": "_tb_textures"
},
"entities": {
"definitions": [ "pball2.fgd" ],
"defaultcolor": "0.6 0.6 0.6 1.0",
"modelformats": [ "md2" ]
},
"tags": {
"brush": [
{
"name": "test2",
"attribs": [ "transparent" ],
"match": "classname",
"pattern": "trigger*",
"texture": "trigger"
}
],
"brushface": [
{
"name": "Trigger",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "trigger"
},
{
"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": "glass",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "*glass*"
},
{
"name": "window",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "*window*"
},
{
"name": "trans",
"attribs": [ "transparent" ],
"match": "surfaceflag",
"flags": [ "trans33", "trans66" ]
},
{
"name": "Detail",
"match": "contentflag",
"flags": [ "detail" ]
},
{
"name": "Liquid",
"match": "contentflag",
"flags": [ "lava", "slime", "water" ]
},
{
"name": "nodraw",
"attribs": [ "transparent" ],
"match": "texture",
"pattern": "hint*"
}
]
},
"faceattribs": {
"surfaceflags": [
{
"name": "light",
"description": "Emit light from the surface, brightness is specified in the 'value' field"
},
{
"name": "slick",
"description": "The surface is slippery"
},
{
"name": "sky",
"description": "The surface is sky, the texture will not be drawn, but the background sky box is used instead"
},
{
"name": "warp",
"description": "The surface warps (like water textures do)"
},
{
"name": "trans33",
"description": "The surface is 33% transparent"
},
{
"name": "trans66",
"description": "The surface is 66% transparent"
},
{
"name": "flowing",
"description": "The texture wraps in a downward 'flowing' pattern (warp must also be set)"
},
{
"name": "nodraw",
"description": "Used for non-fixed-size brush triggers and clip brushes"
},
{
"name": "hint",
"description": "Make a primary bsp splitter"
},
{
"name": "skip",
"description": "Completely ignore, allowing non-closed brushes"
}
],
"contentflags": [
{
"name": "solid",
"description": "Default for all brushes"
}, // 1 << 0
{
"name": "window",
"description": "Brush is a window (not really used)"
}, // 1 << 1
{
"name": "aux",
"description": "Unused by the engine"
}, // 1 << 2
{
"name": "lava",
"description": "The brush is lava"
}, // 1 << 3
{
"name": "slime",
"description": "The brush is slime"
}, // 1 << 4
{
"name": "water",
"description": "The brush is water"
}, // 1 << 5
{
"name": "mist",
"description": "The brush is non-solid"
}, // 1 << 6
{ "name": "unused" }, // 1 << 7
{ "name": "unused" }, // 1 << 8
{ "name": "unused" }, // 1 << 9
{ "name": "unused" }, // 1 << 10
{ "name": "unused" }, // 1 << 11
{ "name": "unused" }, // 1 << 12
{ "name": "unused" }, // 1 << 13
{ "name": "unused" }, // 1 << 14
{ "name": "unused" }, // 1 << 15
{
"name": "playerclip",
"description": "Player cannot pass through the brush (other things can)"
}, // 1 << 16
{
"name": "mosterclip",
"description": "Monster cannot pass through the brush (player and other things can)"
}, // 1 << 17
{
"name": "current_0",
"description": "Brush has a current in direction of 0 degrees"
}, // 1 << 18
{
"name": "current_90",
"description": "Brush has a current in direction of 90 degrees"
}, // 1 << 19
{
"name": "current_180",
"description": "Brush has a current in direction of 180 degrees"
}, // 1 << 20
{
"name": "current_270",
"description": "Brush has a current in direction of 270 degrees"
}, // 1 << 21
{
"name": "current_up",
"description": "Brush has a current in the up direction"
}, // 1 << 22
{
"name": "current_dn",
"description": "Brush has a current in the down direction"
}, // 1 << 23
{
"name": "origin",
"description": "Special brush used for specifying origin of rotation for rotating brushes"
}, // 1 << 24
{
"name": "monster",
"description": "Purpose unknown"
}, // 1 << 25
{
"name": "corpse",
"description": "Purpose unknown"
}, // 1 << 26
{
"name": "detail",
"description": "Detail brush"
}, // 1 << 27
{
"name": "translucent",
"description": "Use for opaque water that does not block vis"
}, // 1 << 28
{
"name": "ladder",
"description": "Brushes with this flag allow a player to move up and down a vertical surface"
} // 1 << 29
]
}
}
Binary file added app/resources/games/DigitalPaintball2/Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 847e761

Please sign in to comment.