Dateien

> > CS2D > Lua Scripts > Throw Grenade Info (Y.A.T.E.S)
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Throw Grenade Info (Y.A.T.E.S) >

18 Kommentare2 kb, 428 Downloads

alt Throw Grenade Info (Y.A.T.E.S)

GeoB99
Moderator Off Offline

NOTE: It requires file cs2d Y.A.T.E.S (3.0.2) - Admin Script / Framework 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.
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.
4× editiert, zuletzt 15.07.17 13:29:34
Zugelassen von Sparty

Download Download

2 kb, 428 Downloads

Kommentare

18 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

Mami Tomoe
User Off Offline

@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.

alt

Danel Matto
BANNED Off Offline

I like it script
Ich mag es!

alt

Masea
Super User Off Offline

@user Mami Tomoe: 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.
Ich mag es!

alt

boncuk
User Off Offline

Nice script !
Ich mag es!

alt

Mami Tomoe
User Off Offline

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

alt

GeoB99
Moderator Off Offline

@user Mami Tomoe: 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!".

alt

Mami Tomoe
User Off Offline

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

alt

Yates
Reviewer Off Offline

@user Keemstar: So who's this fake account?

alt Okay?

Keemstar
BANNED Off Offline

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.

alt

GeoB99
Moderator Off Offline

@user VADemon / @user Mora: You guys are right, "threw" could've made it more sense. I changed it!

alt

VADemon
User Off Offline

I double user Mora's comment.
Ich mag es!

alt

Angel Montez
BANNED Off Offline

Like Go! Nice
Ich mag es!

alt

Masea
Super User Off Offline

@user Gaios: 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.
Ich mag es!

alt

Gaios
Reviewer Off Offline

Oh my friend, you don't know CS2D yet
cs2d lua hook radio
1× editiert, zuletzt 30.12.16 18:24:26

alt

GeoB99
Moderator Off Offline

@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.

alt

Andrez
User Off Offline

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
Ich mag es!

alt

Mora
User Off Offline

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..
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang