To make it short:
You can see your team mates' crosshairs. Cool. (Video)
As spectator you can see everybody's crosshairs. Even cooler.
Special unnecessary feature: you can see your own cursor with the additional network delay. Yay!
Commands:
!crosshairs or !crosshair or !pointer - help message
!crosshairs ghost - (toggle) show your own cursor as image (off by default)
!crosshairs seeteam - (toggle) show your team mates' cursors (on by default)
Installation
Drop crosshairs.lua into /sys/lua/autorun/ folder
Want more features?
Like showing enemy cursors, fancier cursor image and etc? PM me.
Does it cause lag?
It shouldn't unless you're playing from Mars. Cursor images are only updated when needed. Additionally, I've built-in a "lag reducer" for people with >200ms ping (configurable). For them it will only request player data every 100ms (also configurable). For "fast" players with low ping the request are made on always
In case you want to slow down the requests for all players, set "crosshairs.pingboundary" to 0, so that every player is considered slow.
Limitations
The cursors for spectators will appear laggy because spectators' positions are sent every second or so by CS2D. I think I can't do anything about this
Changelog
1.0a: Fix bug in isfriendly() functions, it didn't work correctly in Deathmatch
PS: I only wonder if this can be really useful for teamwork on construction/zombie servers.
edited 6×, last 03.10.16 04:05:41 pm
Approved by Sparty
Download
3 kb, 445 Downloads