Files

> > CS2D > Lua Scripts > Crb => Revolution in Cs2d messaging (Motop) v1.0.3
Files overviewCS2D overviewLua Scripts overview

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

19 comments5 kb, 462 Downloads

old 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
edited 38×, last 17.05.17 10:05:10 am
Approved by Infinite Rain

Download Download

5 kb, 462 Downloads

Comments

19 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

_Lima_
User Off Offline

Does not work

old

carb0n
BANNED Off Offline

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

old

Yates
Reviewer Off Offline

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

old

sonkii
User Off Offline

Quote
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)
I like it!

old

Cure Pikachu
User Off Offline

Interesting, but this cannot be done for safety reasons:
user carb0n has written
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.
I like it!
edited 1×, last 17.05.17 12:58:02 pm

old

Gaios
Reviewer On Online

Hello lags.
I like it!

old

Masea
Super User Off Offline

@user the bamboozle: There is a team say opinion either.
I like it!

old

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.
I like it!

old

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.

old

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.
I like it!

old

the bamboozle
User Off Offline

Nice but you should increase the quality of your screenshot.
I like it!

old

tek69
User Off Offline

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

old

xsiN
User Off Offline

Pretty useful
Ps: I will abuse with it
I like it!

old

Mami Tomoe
User Off Offline

Well I like it.
I like it!

old

carb0n
BANNED Off Offline

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

old

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.

old

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 !

old

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?
I like it!
To the start Previous 1 Next To the start