Skip to content

Ghosting (v3.9, HL1 Movement)

Choose a tag to compare

@ScriptedSnark ScriptedSnark released this 15 Aug 12:45

Release maintainer: @prolert

HUD & fonts

  • Your own font for HUD numbers and labels: gh_hud_font, plus _fontscale, _fontweight, _fontoutline
  • A .ttf inside the mod folder works too - no installing it in Windows, it travels with the mod
  • Same treatment for cl_showfps and cl_showpos: gh_showfps_* and gh_showpos_*
  • Switch off the dark boxes, the labels and the ammo icons: gh_hud_bg, gh_hud_labels, gh_hud_icons
  • Move any element: gh_health_*, gh_suit_*, gh_ammo_*, gh_ammo2_*, gh_speedmeter_*, gh_timer_*
  • Recoloring reaches the popup hints, the squad counter and the weapon select highlight now
  • viewmodel_offset_x, _y, _z, and viewmodel_bobbing 0 holds the weapon still like HL1
  • gh_hud_reset puts the whole lot back
  • cl_righthand 0/1 fixed

Key panel

  • K-Strokes style key panel: WASD, crouch, jump, LMB, RMB, +use. gh_keyshud 1
  • Mouse wheel column and a square that tracks mouse movement: gh_keyshud_wheel, gh_keyshud_mouse
  • Full keyboard mode with numpad and a mouse block beside it: gh_keyshud_full
  • Move and resize it: gh_keyshud_align, _x, _y, _size, _padding, _bg
  • Spectating in first person shows the ghost's keys instead of yours
  • The runner's own binds light up - the layout rides inside the run file
  • gh_keyshud_status prints what it is reading, gh_keyshud_reset puts it back

Ghosts & spectating

  • Secondary fire, crowbar and stunstick hits, gravity gun punts and reloads show in first person
  • Ghost armor sits next to health, ammo reads as clip / reserve
  • Nameplates drawn by the client, in the ghost's color, fading with distance: gh_ghost_names
  • Mouse wheel changes free camera speed while spectating, in 25% steps
  • gh_spectate autocompletes players, loaded ghosts and run files
  • Online ghosts send their keys, so the panel works on live players. Needs an updated ghost server
  • Runs record at 50 Hz instead of 25 - smoother ghosts, files about twice the size

Sprays

  • Your own picture on the wall: gh_spray_set, then gh_spray or a bind on impulse 201. Works offline
  • PNG, BMP and TGA up to 16 MB, format read from the contents rather than the extension
  • Several on a map at once: gh_spray_max, 10 by default
  • gh_sprays, gh_spray_wipe, gh_spray_scale, gh_spray_status, gh_spray_clear
  • Others see them in a lobby. Needs an updated ghost server
  • Over 160 KB compressed and it stays yours alone - drawings compress far better than photos

Chat

  • Twitch chat in game: gh_chat_connect takes a channel name or a link. Text needs no launcher
  • YouTube chat as well, read by the launcher: gh_chat_youtube. Both can run at once
  • 7TV and Twitch emotes and YouTube emoji drawn inline, animation included. (Needs the launcher HLSR.)
  • Role badges and a source tag before the nickname: gh_chat_badges, gh_chat_prefix
  • One shared emote set for the whole lobby, named by the host. Needs an updated ghost server
  • Separate sounds for game lines and stream lines: gh_chat_sound, gh_chat_sound_stream
  • Minimal look while typing, just the input line: gh_chat_minimal
  • Chat works in singleplayer with no server connection

Timer

  • LiveSplit split delta under the timer: gh_timer_mirror_splits. Green ahead, red behind, gold on a best segment
  • gh_timer_mirror_refresh reconnects and prints port, poll interval and how stale the reading is
  • A short LIVE caption while the numbers are coming from LiveSplit
  • gh_timer_bg is deliberately independent of gh_hud_bg

Other

  • gh_autosave 0 - disables auto-save triggers due to long freezes
  • viewmodel_fov is an ordinary setting now, clamped 10-100, no sv_cheats needed
  • gh_hud_color_affects_crosshair defaults to 0 - HL2 tints the crosshair per weapon and that is worth keeping
  • gh_stop_all_ghosts and gh_play_all_ghosts were not working; they have been fixed