English Throw Grenade Info (Y.A.T.E.S) icon

18 comments
27.12.16 09:36:30 am
like 8 like it!
2 kb, 35 Downloads
ZxC
Moderator
Offline Off
NOTE: It requires file cs2d Y.A.T.E.S (2.0.4) - Admin Script / Framework (38) in order to run the plugin properly otherwise you have got to use the standalone script!

spam Documentation

The script outputs what type of grenade (+ flare) the teammate threw, similar mechanism like in CS:GO. The message will output only for the team squad itself and not for the enemy team.

off-topic Installation

> IF YOU'RE USING Y.A.T.E.S: Just extract the grenade_info folder to
sys/lua/_yates/plugins
directory path and you're ready to go.

> IF YOU'RE NOT USING Y.A.T.E.S: Extract the GrenadeInfo.lua file to
sys/lua
directory path. Afterwards, open server.lua file with a text editor and add the following line.
Code:
1
dofile("sys/lua/GrenadeInfo.lua")


Changelog

CHANGED 29.12.2016 - "used" is now replaced with "threw" in the message output.
ADDED 27.12.2016 - Initial release.

illegal Rules & Permissions

You can do anything as you wish with this script. You can also upload it to other source parts as long you have my permission.
imageimage
edited 4×, last 15.07.17 01:29:34 pm
ok This file has been reviewed and approved by Sparty (27.12.16 11:13:15 am)

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
31.12.16 04:52:42 pm
Up
Goo
User
Offline Off
@user Masea: all it does is printing a message. The idea is OK but it doesn't deserve to be uploaded alone.
You don't see people selling their products in parts.
30.12.16 07:39:15 pm
like I like it!
Up
Danel Matto
BANNED
Offline Off
I like it script
30.12.16 04:44:07 pm
like I like it!
Up
Masea
Super User
Offline Off
@user Goo: Excuse me, why? Probably the most absurd mind to don't like it... You're saying that is OK but without an occasion, that's annoying.
30.12.16 02:24:31 am
like I like it!
Up
NotActiveAcc
User
Offline Off
Nice script !
29.12.16 10:11:51 pm
Up
Goo
User
Offline Off
Yeah but this thing would've been better inside a bigger thing like maybe a pack of CS:GO features for the Y.A.T.E.S script
29.12.16 08:06:22 pm
Up
ZxC
Moderator
Offline Off
@user Goo: It's OK because I don't pretty much care about likes as my prime aim is constructive criticism. Even though the code logic structure is pretty simple, the purpose of this script is to provide a same concept just like in CS:GO.

Heck, if I could somehow manage the "Fire in the hole!" thingy (there's hud_fireinthehole setting though but that's an in-game setting and not server sided) I could reproduce same messages such as "Flashbang out!".
29.12.16 06:57:58 pm
Up
Goo
User
Offline Off
So what it basically does is telling your team what grenade you were using? That's OK I guess... Not enough for a like though
29.12.16 05:20:01 pm
Up
Yates
Reviewer
Offline Off
@user Keemstar: So who's this fake account?
29.12.16 05:10:41 pm
Up
Keemstar
BANNED
Offline Off
It's pretty useful.. but I don't think this will be needed by lots of people.

Meh, I don't feel like liking here, sorry.
29.12.16 04:09:21 pm
Up
ZxC
Moderator
Offline Off
@user VADemon / @user Mora_rus: You guys are right, "threw" could've made it more sense. I changed it!
29.12.16 03:38:29 pm
like I like it!
Up
VADemon
User
Offline Off
I double user Mora_rus's comment.
29.12.16 01:15:09 pm
like I like it!
Up
Angel Montez
BANNED
Offline Off
Like Go! Nice
27.12.16 04:54:18 pm
like I like it!
Up
Masea
Super User
Offline Off
@user Gaiyos: What you said is also valid for you too. Just because you didn't even read full description yet. Take care on "attentions" next time.
27.12.16 03:42:37 pm
Up
Gaiyos
Security Supporter
Offline Off
Oh my friend, you don't know CS2D yet
cs2d lua hook radio
edited 1×, last 30.12.16 06:24:26 pm
27.12.16 03:27:48 pm
Up
ZxC
Moderator
Offline Off
@user Andrez: As you've guessed out, "Fire in the hole!" message is a part of CS2D internals thus it's impossible to modify it directly.

The only way to do that (indirectly though) is to hack the CS2D source code with a sort of hex editor and remove the message string bytes. Of course, that's a dirty approach and would surely lead to big problems. Not worth it.
27.12.16 03:15:42 pm
like I like it!
Up
Andrez
User
Offline Off
A very nice idea, but it's too "uncomfortable"

I mean, it becomes 2 messages for each grenade, quite spammy.
If somehow it would be in the same message than fire in the hole... which is something ingame not server sided i guess i'd take it. But it's not like that
27.12.16 01:07:29 pm
like I like it!
Up
Mora_rus
User
Offline Off
Maybe 'threw' instead 'used' would be better.
Since it is just like addon (bcs ez) it may be more less-if-weapon'able.. Can't say i like it but it's ok as for addon..
27.12.16 11:26:18 am
like I like it!
Up
mimafan
User
Offline Off
I like it.
To the start Previous 1 Next To the start