Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-24-2012 , 20:47   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #11

Quote:
Originally Posted by timort View Post
Can you add some different colors in the text for each grenade ?
I don't think it's possible without losing the radio "!" overhead. I could bypass that with a fake-radio thing, but that would be ugly and take chat space.

You could still use the other plugin mentioned above, and add the color code.
__________________
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
MrGuvernment
Junior Member
Join Date: Jul 2012
Location: Costa Frick'n Rica
Old 07-25-2012 , 00:46   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #12

installed and works!
MrGuvernment is offline
Send a message via ICQ to MrGuvernment
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-25-2012 , 19:31   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #13

Quote:
Originally Posted by MrGuvernment View Post
installed and works!
Cool to know. Thanks for the feedback.
__________________
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
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 07-13-2013 , 16:02   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #14

Useful thing! Once I played CS:S and had no idea which grenade has thrown, I guess this plugin is useful.
I've got a recommendation: You may remove translations and use phrases for greande type that is exists within native cstrike_language.txt

Code:
switch ( typeNade )//TODO CONTINUE     {     case TN_HEGRE :         nadeName = "#Cstrike_TitlesTXT_HE_Grenade";     case TN_FLASH :         nadeName = "#Cstrike_TitlesTXT_Flashbang";     case TN_SMOKE :         nadeName = "#Cstrike_TitlesTXT_Smoke_Grenade";     default :         nadeName[ 0 ] = '\0';     }     FormatEx( msg, sizeof(msg), "%s", nadeName);     ...     BfWriteString(buffer, msg);

I found that way for Blockrespawn plugin, and it worked like a charm
P.S. if for some reason only #Game_ strings will be shown, add \x03 before #Game_radio...
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-13-2013 , 16:21   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #15

Quote:
Originally Posted by Root_ View Post
Useful thing! Once I played CS:S and had no idea which grenade has thrown, I guess this plugin is useful.
I've got a recommendation: You may remove translations and use phrases for greande type that is exists within native cstrike_language.txt

Code:
switch ( typeNade )//TODO CONTINUE     {     case TN_HEGRE :         nadeName = "#Cstrike_TitlesTXT_HE_Grenade";     case TN_FLASH :         nadeName = "#Cstrike_TitlesTXT_Flashbang";     case TN_SMOKE :         nadeName = "#Cstrike_TitlesTXT_Smoke_Grenade";     default :         nadeName[ 0 ] = '\0';     }     FormatEx( msg, sizeof(msg), "%s", nadeName);     ...     BfWriteString(buffer, msg);

I found that way for Blockrespawn plugin, and it worked like a charm
P.S. if for some reason only #Game_ strings will be shown, add \x03 before #Game_radio...
That wouldn't work. You're comparing to a plugin that directly uses BfWriteString for a #USER_MESSAGE; which is not my case.

If I was to do that I would need to remove the "Fire in the hole!" part.
__________________
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; 07-13-2013 at 16:29.
RedSword is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 12-31-2014 , 07:01   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #16

Good.
__________________
Peace-Maker is offline
Shak1a
Junior Member
Join Date: Feb 2015
Old 02-24-2015 , 06:50   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #17

not for CSGO ?
Shak1a is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-25-2015 , 01:25   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #18

Quote:
Originally Posted by Shak1a View Post
not for CSGO ?
This plugin will certainly not work fully as some grenades (decoy for instances) aren't considered in the code. I'll check it more in detail tomorrow.
__________________
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
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-25-2015 , 01:32   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #19

If you're looking to replace the text as you requested here then I suggest you use https://forums.alliedmods.net/showthread.php?p=685905
__________________
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 01:33.
RedSword is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-25-2015 , 22:25   Re: [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #20

Quote:
Originally Posted by Shak1a View Post
not for CSGO ?
Nop. Tested.
__________________
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
Reply



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 03:59.


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