Skip to content

Permanent fences

KissLick edited this page Apr 14, 2016 · 4 revisions

This module basicaly extends TeamGames fences, so you can make permanent fences. It's highly recommended to override access to this module for admins only.


Menu item ID Description
PermanentFeces-Create Create permanent fence
PermanentFeces-Delete Delete permanent fence you are standing in
ConVar Description
tgm_permanentfences_type 0 = beam fence
1 = rope fence

**File prefix** `[PermanentFeces-Material ]` - Example: `[PermanentFeces-Material 1.0 255 255 255 255] materials/cable/bf_rope.vmt`
Argument Description
width Width of the fence beam/rope
r Rendered amount of red color (0-255)
g Rendered amount of green color (0-255)
b Rendered amount of blue color (0-255)
a Rendered amount of alpha (0-255)

**File prefix** `[PermanentFeces-Corner]` - Example: `[PermanentFeces-Corner] models/ks/tg/ring_corner.mdl`

You can also disable fences on certain maps.

Example for jb_clouds_final5:
Create file jb_clouds_final5.disabled in directory configs/teamgames/permanentfences/ (empty file is OK, the file just has to exist)