AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] Fire in the hole! : Show grenade type (https://forums.alliedmods.net/showthread.php?t=183460)

RedSword 04-22-2012 03:08

[CS:S] Fire in the hole! : Show grenade type
 
3 Attachment(s)
Fire in the hole! : Show grenade type

v. 1.0.1

Attachment 102575

Features :
  • When a grenade is being thrown, show the grenade type after the "Fire in the hole!" message.
  • Can be useful to know who flashed (not necessarily YOU being flash; i.e. if someone complain).

Known bugs/exploits :
  • None at the moment. Please report if you find any.

CVars :
  • grenadetypeversion: Gives version -_-'
  • -------------------------
  • grenadetype_hegrenadename : Name of HE grenades ("HEGrenade" by default).
  • grenadetype_flashbangname : Name of flashbangs ("Flashbang" by default).
  • grenadetype_smokename : Name of smoke grenades ("Smoke" by default).

Notes :
  • Place "fireintheholegrenadetype.phrases.txt" in "translations" folder. (Yes it may seems dumb ; but I had to manually rewrite 'Fire in the hole!'.)

--------------

Credits to :
  • psychonic and KyleS for general and "User Message" help on IRC
  • javalia, for his stock function (to send radio command); a 2nd time ;)
  • grif_ssa for originally doing this which gave me a good starting point ("User Message" presentation is weak in SM I think).
  • Translators :
    Spoiler
  • Thanks to Impact123 for reporting bad name (1.0.0 to 1.0.0b).
  • Thanks to baijiaqing for reporting spectators bug (1.0.0b to 1.0.1).

Changelog :
  • 1.0.0 Initial release. (22-04-2012)
  • 1.0.0b Renamed plugin. (19-05-2012)
  • 1.0.1 Fixed radio message not showing to spectators. (06-06-2012)
  • Approved by Peace-Maker. (31-12-2014).

ph 05-18-2012 06:38

Re: [CS:S] Fire in the hole! : Show grenade type
 
Thanks, I will try this out.

RedSword 05-18-2012 14:50

Re: [CS:S] Fire in the hole! : Show grenade type
 
Quote:

Originally Posted by ph (Post 1711238)
Thanks, I will try this out.

Go ahead.

Thanks for using it.

Impact123 05-19-2012 09:09

Re: [CS:S] Fire in the hole! : Show grenade type
 
PHP Code:

name "Be Medic"

Maybe this should be renamed asap :D

Yours sincerely
Impact

RedSword 05-19-2012 14:19

Re: [CS:S] Fire in the hole! : Show grenade type
 
Quote:

Originally Posted by Impact123 (Post 1712104)
PHP Code:

name "Be Medic"

Maybe this should be renamed asap :D

Yours sincerely
Impact

Eh... :$ lol.

Fixed.

Thanks for reporting.

baijiaqing 06-06-2012 10:10

Re: [CS:S] Fire in the hole! : Show grenade type
 
The default Fire in the hole shows messages to spectators aswell.
Im hoping that you would add that in aswell.

PreFix 06-06-2012 11:39

Re: [CS:S] Fire in the hole! : Show grenade type
 
Can you change grenades radio sound and models?

Mitchell 06-06-2012 13:18

Re: [CS:S] Fire in the hole! : Show grenade type
 
IM sorry to announce this but this was already made, and i currently use it, so it does work:
https://forums.alliedmods.net/showthread.php?p=685905

So whats the difference? yours cant customly design the message/custom sounds?

RedSword 06-06-2012 21:24

Re: [CS:S] Fire in the hole! : Show grenade type
 
Quote:

Originally Posted by Mitchell (Post 1723764)
IM sorry to announce this but this was already made, and i currently use it, so it does work:
https://forums.alliedmods.net/showthread.php?p=685905

You made me realise I misread more than once : both his post and thought 1.1 was 1.4 :$.

Quote:

Originally Posted by Mitchell (Post 1723764)
So whats the difference? yours cant customly design the message/custom sounds?

I do add the suffix of the type of the nade after the phrase, while the plugin you're refering to define a sentence to write.

This means that people with a different language from english will see what they should see if they use mine.

Someone with his game in french would see :

"Grenade ! (Smoke)" rather than "Fire in the hole! [smoke]"

while a russian would see

"Ложись! (Smoke)" rather than "Fire in the hole! [smoke]"

I think you see the point.

EDIT : Also, I believe the other plugin does not put the "!" overhead, while mine does (the other one completely kills the radio icons, which can be useful gameplay-wise in some scenario).

RE-EDIT :
Quote:

Originally Posted by baijiaqing (Post 1723662)
The default Fire in the hole shows messages to spectators aswell.
Im hoping that you would add that in aswell.

Good point and well spotted. I fixed that. Thanks for reporting.

Quote:

Originally Posted by PreFix (Post 1723714)
Can you change grenades radio sound and models?

I pretty much doubt that. AFAICR, I believe if I was to change model, every player would see the grenade like 1 frame before it has its model changed, which sucks (saw that in a private plugin).

However that (and sounds) could be interesting if I've a lot of time. I think I'd do another plugin if I was to change grenade models. You can still use that other plugin for sounds at the moment.

Thanks for the suggestion,

Red

timort 07-24-2012 06:03

Re: [CS:S] Fire in the hole! : Show grenade type
 
Can you add some different colors in the text for each grenade ?


All times are GMT -4. The time now is 13:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.