This is a read-only archive of the old Wiki. For up to date information, visit our current wiki.

Ghosting mod

Ghosting mod
Developer(s) Gocnak
Type Single-player
Multiplayer
Game Half-Life 2
Download .zip file

Ghosting mod is a mod for Half-Life 2 that reverts it back to a version that predates the SteamPipe update. This mod is helpful for speedrunners of Half-Life 2 with additions like a speedometer and a timer. It also has ghosting capabilities, which is recording and playing back your movements through a level in real-time as "ghosts". This mod also supports online playing, read below for instructions on how to set up a server to play with other people.

Screenshot of the mod:

Ss.jpg

Contents

Installation

Before installing, you need to make sure that you have done the following:

To install the mod,

Now you should see "Ghosting" as a game in the games list, go ahead and start it. If you have any bugs, feel free to report them to Gocnak.

Commands

Recording and Playback

gh_load                     <run name>          - Loads a run from the given file but does not immediately play it. Use gh_play_all_ghosts to play it/them.

gh_play_all_ghosts                              - Plays all the ghosts that are currently not playing.

gh_restart_runs                                 - Stops the ghosts and resets them back to their first step.

gh_play                     <run name>          - Plays a run that you have recorded.

gh_record                   <run name?>         - Records a ghost under the given <run name> if specified, or a file with gh_name as the base.

gh_autorecord               0/1                 - Toggles the auto ghost file recording at run start. 0 = off, 1 = on

gh_stop                                         - Stops the recording of the current run if you are recording one.

gh_stop_all_ghosts                              - Stops the playback of all of the currently playing ghosts.

gh_listrun                  <run name>          - Lists the details about the given run.

gh_online_ip                <ip>                - Sets the IP for online mode. ex: gh_online_ip 192.168.1.2

gh_online_port              <port>              - The port of the server to connect to. ex: gh_online_port 5145

gh_online_connect                               - Connects to the online server with the specified IP.

gh_online_disconnect                            - Disconnects from the online server.


Customization

gh_draw_trails             0/1                  - Toggles the global drawing of ghosts' trails. 0 = no trails drawn, 1 = draw trails.

gh_trail_length            <int>                - The length in seconds of how long the trail lasts. If 0, no trail is recorded.

gh_name                    <name>               - IMPORTANT! Set this to the name that you want your ghost to appear as.

gh_ghost_color             R G B                - The R G and B values for the color of your ghost. This gets saved with the ghost.

gh_trail_color             R G B                - The R G and B values for the color of the trail. The closer to 0,0,0 the color, the less it will draw.

gh_hud                     0/1                  - Draws a hud element that tells you what map the ghosts are on. 0 = off, 1 = on.

gh_speedmeter              0/1                  - Draws a hud element that tells you your speed in units per second (UPS). 0 = off, 1 = on.

gh_speedmeter_hvel         0/1                  - Toggles the horizontal velocity mode of the speedmeter. 0 = off, 1 = on (shows only horizontal velocity)

gh_timer                   0/1                  - Draws an in-game, load-detecting timer. 0 = off, 1 = on.

gh_timer_start                                  - Starts the in-game timer.

gh_timer_stop                                   - Stops the in-game timer.

gh_timer_mode              0?                   - Useless

gh_hud_mirror              0/1                  - (CHEAT PROTECTED!) Draws a rear-view mirror. 0 = off, 1 = on. Requires sv_cheats to be 1.


Suggestion and Usability

Multiplayer

To set up a server and play with your friends: