Skip to content

wootguy/ghosts

Repository files navigation

ghosts

Adds visible ghost models for observers. Type ".ghosts" in chat or console for help.

ghosts

CVars

as_command ghosts.player_models 1
as_command ghosts.default_mode 2
  • ghosts.player_models enables custom player models for ghosts if not set to 0. A camera model is used otherwise.
  • ghosts.default_mode sets the default visibility mode for ghosts. Players can override this for themselves.
    • 0 = hide ghosts
    • 1 = show ghosts
    • 2 = show ghosts that don't block your view
    • 3 = show ghosts only while dead

Installation

  1. Install the PlayerModelPrecacheDyn plugin. This is required if you want player models for ghosts instead of cameras.
  2. Make sure the symlinked player model folder has all available player models - default models included!
  3. Download the latest release and extract to svencoop_addon, or svencoop_downloads, or wtv.
  4. Add this to default_plugins.txt:
  "plugin"
  {
    "name" "ghosts"
    "script" "ghosts/ghosts"
    "concommandns" "ghosts"
  }
  "plugin"
  {
    "name" "GhostEntity"
    "script" "ghosts/GhostEntity"
  }