Raised This Month: $89 Target: $400
 22% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Plugin ID:
2922
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    25 
    Plugin Description:
    Show the kind of grenade that was thrown in the radio alert.
    Old 04-22-2012 , 03:08   [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #1

    Fire in the hole! : Show grenade type

    v. 1.0.1

    Click image for larger version

Name:	example.png
Views:	3796
Size:	42.8 KB
ID:	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).
    Attached Files
    File Type: txt fireintheholegrenadetype.phrases.txt (979 Bytes, 1004 views)
    File Type: sp Get Plugin or Get Source (fireintheholegrenadetype.sp - 1543 views - 6.2 KB)
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 02-25-2015 at 20:44. Reason: 110v+40; 1.0.1 is out
    RedSword is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 05-18-2012 , 06:38   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #2

    Thanks, I will try this out.
    __________________
    ph is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 05-18-2012 , 14:50   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #3

    Quote:
    Originally Posted by ph View Post
    Thanks, I will try this out.
    Go ahead.

    Thanks for using it.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    Impact123
    AlliedModders Donor
    Join Date: Oct 2011
    Location: Germany
    Old 05-19-2012 , 09:09   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #4

    PHP Code:
    name "Be Medic"
    Maybe this should be renamed asap

    Yours sincerely
    Impact
    __________________
    Impact123 is online now
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 05-19-2012 , 14:19   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #5

    Quote:
    Originally Posted by Impact123 View Post
    PHP Code:
    name "Be Medic"
    Maybe this should be renamed asap

    Yours sincerely
    Impact
    Eh... :$ lol.

    Fixed.

    Thanks for reporting.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    baijiaqing
    Member
    Join Date: Jul 2010
    Old 06-06-2012 , 10:10   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #6

    The default Fire in the hole shows messages to spectators aswell.
    Im hoping that you would add that in aswell.
    baijiaqing is offline
    PreFix
    BANNED
    Join Date: Sep 2011
    Old 06-06-2012 , 11:39   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #7

    Can you change grenades radio sound and models?
    PreFix is offline
    Send a message via Skype™ to PreFix
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Location: noitacoL:
    Old 06-06-2012 , 13:18   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #8

    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?
    __________________

    Last edited by Mitchell; 06-06-2012 at 13:21.
    Mitchell is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 06-06-2012 , 21:24   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #9

    Quote:
    Originally Posted by Mitchell View Post
    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 View Post
    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 View Post
    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 View Post
    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
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 06-06-2012 at 22:20.
    RedSword is offline
    timort
    Member
    Join Date: Jun 2009
    Location: France
    Old 07-24-2012 , 06:03   Re: [CS:S] Fire in the hole! : Show grenade type
    Reply With Quote #10

    Can you add some different colors in the text for each grenade ?
    timort is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 15:43.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode