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

18 comments
10.05.17 03:26:31 pm
like 9 like it!
5 kb, 50 Downloads
carb0n
BANNED
Offline Off
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
imageimageimageimage
edited 38×, last 17.05.17 10:05:10 am
ok This file has been reviewed and approved by Communism (10.05.17 06:26:09 pm)

Comments

18 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
15.05.17 01:11:43 pm
Up
carb0n
BANNED
Offline Off
i'm so sorry i'm not gonna do that again
15.05.17 12:51:52 pm
Up
Yates
Reviewer
Offline Off
Holy fucking shit do that once more and I'll decline this file until a moderator bans you.
15.05.17 12:19:02 pm
like I like it!
Up
CyanBros
User
Offline Off
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)
14.05.17 06:12:13 pm
like I like it!
Up
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.
edited 1×, last 17.05.17 12:58:02 pm
13.05.17 08:22:14 am
like I like it!
Up
Gaiyos
Security Supporter
Offline Off
Hello lags.
12.05.17 10:47:18 pm
like I like it!
Up
Masea
Super User
Playing CS2D
@user WorldOverHeaven: There is a team say opinion either.
12.05.17 10:41:20 pm
like I like it!
Up
WorldOverHeaven
User
Offline Off
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.
12.05.17 10:22:35 pm
Up
VADemon
User
Offline Off
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.
12.05.17 05:38:33 pm
like I like it!
Up
Avo
User
Offline Off
@user Kolayaki: you are quite ironical.

The script is pretty simple but useful. It would be good for RPG servers or something like that.
12.05.17 04:42:58 am
like I like it!
Up
WorldOverHeaven
User
Offline Off
Nice but you should increase the quality of your screenshot.
12.05.17 04:35:54 am
Up
Kolayaki
User
Offline Off
I like how people's hypocritical and non-constructive comments came here all the sudden.
10.05.17 07:21:35 pm
like I like it!
Up
Pretty useful
Ps: I will abuse with it
10.05.17 06:26:21 pm
like I like it!
Up
Communism
Reviewer
Offline Off
Not bad.
10.05.17 06:00:12 pm
like I like it!
Up
Goo
User
Offline Off
Well I like it.
10.05.17 05:12:10 pm
Up
carb0n
BANNED
Offline Off
because of in the next versions i'm gonna add to it team message
10.05.17 05:03:44 pm
Up
Talented Doge
User
Offline Off
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.
10.05.17 04:49:35 pm
Up
carb0n
BANNED
Offline Off
thakns for reminding !!
yes everyone near to player can see hud
but on next version it can be developed that just team see huds !
10.05.17 04:19:46 pm
like I like it!
Up
Goo
User
Offline Off
This is pretty cool but you should've posted it on the English forum, not German.

Oh and does everyone see that hud?
To the start Previous 1 Next To the start