Dateien

> > CS2D > Lua Scripts > Crb => Revolution in Cs2d messaging (Motop) v1.0.3
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Crb => Revolution in Cs2d messaging (Motop) v1.0.3 >

19 Kommentare5 kb, 462 Downloads

alt Crb => Revolution in Cs2d messaging (Motop) v1.0.3

carb0n
BANNED Off Offline

hi guys

> File Updated ! Version : 1.0.3

This lua script can be very useful for servers that messages play important role in the gamse and its possible that somebody doesn't see messages.
As you see in the title this lua bring the player message on the top of the player's head (and move when player move) for 8 secs (can be changed) and its clear to see it (picture attached).

I hope i see it on all big servers soon

• Wrapper.lua is needed !

Updates

----- Ver 1.0.1 -----
ADDED
Team Message (Enemy team can't see messages)
ADDED
Change messages default color ability
----- Ver 1.0.2 -----
FIXED
Resolution bug !
----- Ver 1.0.3 -----
ADDED
Dead players can see messages
ADDED
Binds can be added by admins (optional)
ADDED
Admin can turn on or off mp_hudscale
ADDED
If messages start with - they wouldn't be shown in players head (example -hi)
FIXED
Some optimization in code, and making it faster and preventing lags (Thanks to user VADemon for reporting)


New Options Will Be Added

• Multi message on the head
• Set background for messages
• Messages show with effects
• Combine messages with emoji

∗ It not at all wouldn't cause lags

° Report bugs !!!

∗ Enjoy - carb0n
38× editiert, zuletzt 17.05.17 10:05:10
Zugelassen von Infinite Rain

Download Download

5 kb, 462 Downloads

Kommentare

19 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

_Lima_
User Off Offline

Does not work

alt

carb0n
BANNED Off Offline

i'm so sorry i'm not gonna do that again

alt

Yates
Reviewer Off Offline

Holy fucking shit do that once more and I'll decline this file until a moderator bans you.

alt

sonkii
User Off Offline

Zitat
edited 37×, last 05.15.17 03:47:19 pm.

Hey that's annoying.Stop checking the "mark as being new/unread"(or something.)There's nothing new and big here.Use it for big changelogs.

Other than that,it's good.(till the green arrow again pop out lol jk)
Ich mag es!

alt

Cure Pikachu
User Off Offline

Interesting, but this cannot be done for safety reasons:
user carb0n hat geschrieben
Binds can be added by admins

Also you don't need the include the wrapper because CS2D already have has it bundled (unless you make changes to it, which I will suggest removing the
map
function in the wrapper because it will screw up any script using the cs2d lua cmd map function)

EDIT: You probably should read cs2d cmd hudtxt2. Instead of trying to get the length of the hudtxt in pixels, just set the
align
parameter to 1, unless you are planning to do something about those going out of screen.
Ich mag es!
1× editiert, zuletzt 17.05.17 12:58:02

alt

Gaios
Reviewer Off Offline

Hello lags.
Ich mag es!

alt

Masea
Super User Off Offline

@user the bamboozle: There is a team say opinion either.
Ich mag es!

alt

the bamboozle
User Off Offline

But i think it is not recommended to use this mod if you are playing competitive. Like if you are hiding below a tree and you are typing and the text will be shown on the tree and you will be exposed.
Ich mag es!

alt

VADemon
User Off Offline

I like the idea a lot, but the implementation is poor.

The main loop (on always hook) consists of two for-loop from 1,32 and that's 1024 iterations every frame, disregarding the amount of players! (use player(0, "table") to only iterate through existing players)

Also a add-on script should not set
parse("mp_hudscale 1")
just because you didn't implement a version for the old 640x480 resolution. You better not touch this option at all and leave it for the admin to decide. - This must be noted in the description.

alt

Avo
User Off Offline

@user tek69: you are quite ironical.

The script is pretty simple but useful. It would be good for RPG servers or something like that.
Ich mag es!

alt

the bamboozle
User Off Offline

Nice but you should increase the quality of your screenshot.
Ich mag es!

alt

tek69
User Off Offline

I like how people's hypocritical and non-constructive comments came here all the sudden.

alt

xsiN
User Off Offline

Pretty useful
Ps: I will abuse with it
Ich mag es!

alt

Mami Tomoe
User Off Offline

Well I like it.
Ich mag es!

alt

carb0n
BANNED Off Offline

because of in the next versions i'm gonna add to it team message

alt

Talented Doge
User Off Offline

I am thinking of, why don't you make it cs2d cmd hudtxt instead of cs2d cmd hudtxt2 ? It will make the work easier though.

alt

carb0n
BANNED Off Offline

thakns for reminding !!
yes everyone near to player can see hud
but on next version it can be developed that just team see huds !

alt

Mami Tomoe
User Off Offline

This is pretty cool but you should've posted it on the English forum, not German.

Oh and does everyone see that hud?
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang