Dateien

> > CS2D > Lua Scripts > [GEN/FUN] Team Crosshairs 1.0a
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [GEN/FUN] Team Crosshairs 1.0a >

12 Kommentare3 kb, 413 Downloads

alt [GEN/FUN] Team Crosshairs 1.0a

VADemon
User Off Offline

[General / FUN] Crosshairs

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 cs2d lua hook 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.
6× editiert, zuletzt 03.10.16 16:05:41
Zugelassen von Sparty

Download Download

3 kb, 413 Downloads

Kommentare

12 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

glitchgod
User Off Offline

how do i change the crosshair

alt

Pagyra
User Off Offline

Hmm it work with bots?
Ich mag es!

alt Colored pointers

VADemon
User Off Offline

Will do. I couldn't do this without a separate crosshair image, so I will have to add one (optional).

alt

_Yank
User Off Offline

Would use 10/10
make it use random colors for each player
Ich mag es!

alt

kerker
User Off Offline

Cool! I can`t say more, lmao.
Ich mag es!

alt

Cure Pikachu
User Off Offline

@user VADemon: That's good to know. Thanks.
Spoiler >
Ich mag es!
1× editiert, zuletzt 03.10.16 16:25:33

alt

VADemon
User Off Offline

Thanks guys!


@user Cure Pikachu: Thanks for telling about string value... I h8 user DC for this. That comparison would have always returned true
More, Cure Pikachu >

alt

HPB
User Off Offline

This really interesting.
Ich mag es!

alt

SANTER
User Off Offline

good work dude
Ich mag es!

alt

Cure Pikachu
User Off Offline

user VADemon hat geschrieben
/sys/lua/autorun/

There, fixed your typo.

Definitely a different take from file cs2d Arbitration Tool and file cs2d pointer spec mod , which is nice. Especially for using the default crosshair.
Though team-based crosshair colors will be nice, at least for spectator mode.
Mehr >
Ich mag es!

alt

Jedediastwo
User Off Offline

Good script
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang