Raised This Month: $12 Target: $400
 3% 

Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]


Post New Thread Reply   
 
Thread Tools Display Modes
khashayar007
Senior Member
Join Date: Jan 2015
Location: Macedonia
Old 07-20-2018 , 07:13   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #31

Quote:
Originally Posted by OciXCrom View Post
It already has that feature. Just enable the [Sounds] category and leave all the sounds blank or set the SOUND_PLAY_TYPE setting to 0.
After doing this, sg_explode.wav sound sometimes play and sometimes not.
khashayar007 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-20-2018 , 20:54   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #32

What did you write exactly?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
khashayar007
Senior Member
Join Date: Jan 2015
Location: Macedonia
Old 07-21-2018 , 03:53   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #33

I just changed sounds to 1

PHP Code:
#===========================================================#
# Ultimate Fire in the Hole by OciXCrom: Configuration file #
#===========================================================#

# Settings are divided in categories. Each category has a number assigned to it.
# If the number is set to 0, the entire category will be disabled. 1 means it's enabled.

[Messages 1]
# The following 3 settings control how the chat message are going to look.
# Colors: &x01 (DEFAULT), &x03 (TEAM COLOR); &x04 (GREEN); &x05 (WHITE); &x06 (BLUE); &x07 (RED)
# Combining two or more team colors is NOT POSSIBLE in CS 1.6: &x03, &x05, &x06, &x07 - only ONE of these can be used inside a message.
# You can use $name$ and $team$ as placeholders.
MSG_HE = &x07$name$ &x01(RADIO): Fire in the hole! &x07[HE]
MSG_FLASH = &x05$name$ &x01(RADIO): Fire in the hole! &x05[FB]
MSG_SMOKE = &x04$name$ &x01(RADIO): Fire in the hole! &x04[SG]

# Who can see the grenade message?
# 0 = No messages.
# 1 = Only the player who threw the grenade.
# 2 = Only teammates.
# 3 = All players.
MSG_SHOW_TYPE 2

# Can admins see other team's messages if MSG_SHOW_TYPE = 2?
MSG_ADMIN_LISTEN 0

# Admin flag for the MSG_ADMIN_LISTEN setting.
MSG_ADMIN_FLAG e

# The team names when $team$ is used in a message.
MSG_TEAM_T T
MSG_TEAM_CT 
CT
MSG_TEAM_SPEC 
SPEC

[Sounds 1]
# Different sounds when you throw grenades.
# You can leave a sound blank if you want to remove that sound.

SOUND_HE 
SOUND_FLASH =
SOUND_SMOKE =

# Who can hear the grenade sound?
# 0 = No sounds.
# 1 = Only the player who threw the grenade.
# 2 = Only teammates.
# 3 = All players.
SOUND_PLAY_TYPE 0

[Trail 1]
# Leaves a trail when you throw a grenade.

# The following 3 settings control the trail color for each grenade.
# Format: <red> <green> <blue> -- You can use "R" for a random color amount (e.g. 255 R 255).
TRAIL_HE 255 0 0
TRAIL_FLASH 
255 255 255
TRAIL_SMOKE 
0 255 0

# The sprite that will be used for the trail.
TRAIL_SPRITE sprites/smoke.spr

# How long in before the trail completely disappears.
TRAIL_LIFE 10

# Trail width.
TRAIL_WIDTH 5

# Trail brightness (from 0 to 255).
TRAIL_BRIGHTNESS 200

# Who can see the trails?
# 0 = All players.
# 1 = Only the player who threw the grenade.
# 2 = Only teammates.
TRAIL_SHOW_TYPE 0

[Glow 0]
# This category makes the grenades glow when thrown.

# The following 3 settings control the glow color for each grenade.
# Format: <red> <green> <blue> -- You can use "R" for a random color amount (e.g. 255 R 255).
GLOW_HE 255 0 0
GLOW_FLASH 
255 255 255
GLOW_SMOKE 
0 255 0

# Glow brightness (from 0 to 255).
GLOW_BRIGHTNESS 125

# 0 = Transparent glow.
# 1 = Normal glow.
GLOW_TYPE 1

[Explode Time 0]
# Here you can change the explosion times for each grenade.

# The following 3 settings control the amount of seconds in which the grenade will explode after it has been thrown.
# For the smoke grenade, the seconds are counted after the grenade has stopped bouncing around.
EXPLODE_HE 5.0
EXPLODE_FLASH 
0.0
EXPLODE_SMOKE 
0.0 
khashayar007 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-21-2018 , 15:19   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #34

sg_explode.wav has nothing to do with this plugin. That is the sound when the grenade explodes.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
khashayar007
Senior Member
Join Date: Jan 2015
Location: Macedonia
Old 07-21-2018 , 16:24   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #35

but the problem occurs when sounds is 1 and when I change it to zero it the problem is gone
khashayar007 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-21-2018 , 16:37   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #36

That makes no sense. The plugin isn't in any way messing with the sg_explode.wav sound.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
khashayar007
Senior Member
Join Date: Jan 2015
Location: Macedonia
Old 07-22-2018 , 04:57   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #37

Yeah it's strange. I have tested it a lot. Please test it.
I realized something. When I throw smoke in far distances it works fine but when I throw it near myself it has no sound.

Last edited by khashayar007; 07-22-2018 at 05:07.
khashayar007 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-22-2018 , 08:03   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #38

Just tested it and it doesn't have any problems. You probably have some other plugin that's doing this.

PS: how can you even hear the sound if you throw the smoke far away?!
__________________

Last edited by OciXCrom; 07-22-2018 at 08:03.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
khashayar007
Senior Member
Join Date: Jan 2015
Location: Macedonia
Old 07-22-2018 , 09:11   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #39

I disabled all plugins and it still has that problem
khashayar007 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-22-2018 , 10:20   Re: Ultimate Fire in the Hole [Messages|Grenade Trail|Grenade Glow|Sounds]
Reply With Quote #40

By all, you mean my plugin too?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 19:22.


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