Git Product home page Git Product logo

lost's Introduction

Lost

Ever get lost or disoriented in the game? This plugin creates a craptastic HUD for tracking other players in the server. It's not perfect and gets clipped into corners and walls a lot, but if I don't release this now it will rot on my drive forever.

Only ASCII names work correctly. Names longer than 16 characters will be shortened.

Here's a demo of it:

Demo Video

Commands

  • .lost = Toggles tracking for all players
  • .lost delay [1-10] = Change how often tags are updated. Increase this if you're getting excessive flickering.
  • .lost hide [0-1] = Prevents others from tracking you.
  • .lost mode [mode] = Change tracking mode
    • .lost mode full = Default. Show name tags for visible/invisible players
    • .lost mode simple = Only show dots for invisible players.
    • .lost mode local = Show name tags for visible players, and nothing for invisible players.

If you specify a player name after the .lost command, tracking will be enabled for only that player (e.g. .lost w00tguy). You can use a partial name or steamID here too (e.g. .lost guy). Names with spaces in them should be surrounded with quotes. You can repeat this command to track other players.

CVars

as_command lost.disabled 1 = disables the plugin

Server Impact

The effect is created with temporary entities, so there should be no stability problems. Net usage might be high with a lot of players though. The worst case scenario of 32 players all >1000 meters away with long names would create 63 beams and 29 sprites. Clients can disable the tracking or increase the update delay with .lost delay if there is any lag or flickering.

Only 1 sprite is precached.

lost's People

Contributors

wootguy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.