Tuesday, March 14, 2017

The Ultimate: Fire in the Hole




? Description

This plugin allows you to change the messages which show up when you throw a grenade (fire in the hole), to add custom trail with different colors, as well as different sounds for every grenade there is or completely block them.


? Settings

The settings can be changed from the file configs/FireInTheHole.ini: [Messages = 1] - In this section you can find and modify the grenade messages. Set it to "0" if you want to disable them and use the default ones. The colors are: 3 = team color, 4 = grey, 5 = red, 6 = blue. You can use !n (default color), !t (according to the first settings), !g (green), %name% (player's name), %team% (player's team).


MSG_HE: The message when you throw a HE grenade.
MSG_HE_COLOR: The second color for the message when you throw a HE grenade.
MSG_FLASH: The message when you throw a Flash grenade.
MSG_FLASH_COLOR: The second color for the message when you throw a Flash grenade.
MSG_SMOKE: The message when you throw a Smoke grenade.
MSG_SMOKE_COLOR: The second color for the message when you throw a Smoke grenade.
MSG_SHOW_TYPE: Which players should be able to see the messages?
"0" = disable messages completely.
"1" = only the player who threw the grenade.
"2" = only teammates.
"3" = all players.
MSG_ADMIN_LISTEN: Whether admins should see other team's messages if MSG_SHOW_TYPE = 2.
MSG_ADMIN_FLAG: The admin flag for the setting above.
MSG_TEAM_T: Used when %team% is applied.
MSG_TEAM_CT: Used when %team% is applied.
MSG_TEAM_SPEC: Used when %team% is applied.

[Sounds = 0] - Change it to "1" if you want to enable custom sounds when you throw a grenade. You can leave a field blank if you want that grenade to be without a sounds. Leave them all blank if you want to completely block the "fire in the hole" sound.

SOUND_HE: The sound when you throw a HE grenade.
SOUND_FLASH: The sound when you throw a Flash grenade.
SOUND_SMOKE: The sound when you throw a Smoke grenade.
SOUND_PLAY_TYPE: Who should hear the sound?
"0" = nobody, disables sounds completely.
"1" = only the player who threw the grenade.
"2" = only teammates.
"3" = all players.

[Trail = 1] - Here you can moidfy the grenades' trail. Set it to "0" if you want to disable it. Use "R" if
you want the given value of the color to be random (Example: 255 R 150 or R R R).

TRAIL_HE: The trail when you throw a HE grenade.
TRAIL_FLASH: The trail when you throw a Flash grenade.
TRAIL_SMOKE: The trail when you throw a Smoke grenade.
TRAIL_SPRITE: The sprite for the trail.
TRAIL_LIFE: Trail duration.
TRAIL_WIDTH: Trail width.
TRAIL_BRIGHTNESS: Trail brightness.

[Glow = 1] - This section allows you to make grenades glow after they are thrown in the air. Use "R" if you want the given value of the color to be random (Example: 255 R 150 or R R R).

GLOW_HE: Glow for HE Grenade.
GLOW_FLASH: Glow for Flash Grenade.
GLOW_SMOKE: Glow for Smoke Grenade.
GLOW_BRIGHTNESS: Glow brightness.
GLOW_TYPE: Glow type ("0" = don't apply invisibility to the grenade).

[Explode = 0] - Here you can change the time it takes for a grenade to explode after it has been thrown.

EXPLODE_HE: Explosion time for HE Grenade.
EXPLODE_FLASH: Explosion time for Flash Grenade.
EXPLODE_SMOKE: Explosion time for Smoke Grenade.



No comments:

Post a Comment