PropHunt (Hide'n'Seek) - Original
Swag Superstar "Lo Ryder" Jun 19 @ 12:10pm
Victory Sounds are not working?
Okay, I'm not sure if the default ones worked, but when I add my custom ones, they dont work after winning on either team. Is this broken?

I also made sure to resource.AddFile all my custom sounds for victory.


This is my code for sh_config.lua:

// Props will not be able to become these models
BANNED_PROP_MODELS = {
"models/props/cs_assault/dollar.mdl",
"models/props/cs_assault/money.mdl",
"models/props/cs_office/snowman_arm.mdl"
}


// Maximum time (in minutes) for this fretta gamemode (Default: 30)
GAME_TIME = 30

// Number of seconds hunters are blinded/locked at the beginning of the map (Default: 30)
CreateConVar("HUNTER_BLINDLOCK_TIME", "30", FCVAR_REPLICATED)

//Create the convars here
// Health points removed from hunters when they shoot (Default: 5)
CreateConVar( "HUNTER_FIRE_PENALTY", "5", FCVAR_REPLICATED)

// How much health to give back to the Hunter after killing a prop (Default: 20)
CreateConVar( "HUNTER_KILL_BONUS", "20", FCVAR_REPLICATED)

//Whether or not we include grenade launcher ammo (default: 1)
CreateConVar( "WEAPONS_ALLOW_GRENADE", "1", FCVAR_REPLICATED)

// If you loose one of these will be played
// Set blank to disable
LOSS_SOUNDS = {
"vo/announcer_failure.wav",
"vo/announcer_you_failed.wav"
}


// Sound files hunters can taunt with
// You need at least 2 files listed here
HUNTER_TAUNTS = {
"taunts/you_dont_know_the_power.wav",
"taunts/you_underestimate_the_power.wav",
"taunts/hunters/1.wav",
"taunts/hunters/2.wav",
"taunts/hunters/3.wav",
"taunts/hunters/4.wav",
"taunts/hunters/5.wav",
"taunts/hunters/6.wav",
"taunts/hunters/7.wav",
"taunts/hunters/8.wav",
"taunts/hunters/9.wav",
"taunts/hunters/10.wav",
"taunts/hunters/11.wav",
"taunts/hunters/12.wav",
"taunts/hunters/13.wav",
"taunts/hunters/14.wav",
"taunts/hunters/15.wav",
"taunts/hunters/16.wav",
"taunts/hunters/17.wav"
}


// Sound files props can taunt with
// You need at least 2 files listed here
PROP_TAUNTS = {
"taunts/boom_headshot.wav",
"taunts/doh.wav",
"taunts/go_away_or_i_shall.wav",
"taunts/ill_be_back.wav",
"taunts/negative.wav",
"taunts/oh_yea_he_will_pay.wav",
"taunts/ok_i_will_tell_you.wav",
"taunts/please_come_again.wav",
"taunts/threat_neutralized.wav",
"taunts/what_is_wrong_with_you.wav",
"taunts/woohoo.wav",
"taunts/props/1.wav",
"taunts/props/2.wav",
"taunts/props/3.wav",
"taunts/props/4.wav",
"taunts/props/5.wav",
"taunts/props/6.wav",
"taunts/props/7.wav",
"taunts/props/8.wav",
"taunts/props/9.wav",
"taunts/props/10.wav",
"taunts/props/11.wav",
"taunts/props/12.wav",
"taunts/props/13.mp3",
"taunts/props/14.wav",
"taunts/props/15.wav",
"taunts/props/16.wav",
"taunts/props/17.mp3",
"taunts/props/18.wav",
"taunts/props/19.wav",
"taunts/props/20.wav",
"taunts/props/21.wav",
"taunts/props/22.wav",
"taunts/props/23.wav",
"taunts/props/24.wav",
"taunts/props/25.wav",
"taunts/props/26.wav",
"taunts/props/27.wav",
"taunts/props/28.wav",
"taunts/props/29.wav",
"taunts/props/30.wav",
"taunts/props/31.mp3",
"taunts/props/32.mp3",
"taunts/props/33.mp3",
"taunts/props/34.mp3",
"taunts/props/35.mp3",
"taunts/props/36.mp3",
"taunts/props/37.wav",
"taunts/props/38.wav",
"taunts/props/39.wav",
"taunts/props/40.mp3",
"taunts/props/41.mp3",
"taunts/props/42.mp3",
"taunts/props/43.mp3",
"taunts/props/43.mp3",
"taunts/props/44.mp3",
"taunts/props/45.mp3",
"taunts/props/46.mp3",
"taunts/props/47.mp3",
"taunts/props/48.mp3",
"taunts/props/49.mp3",
"taunts/props/50.mp3",
"taunts/props/51.mp3",
"taunts/props/52.mp3",
"taunts/props/53.mp3",
"taunts/props/55.mp3",
"taunts/props/56.mp3",
"taunts/props/57.mp3",
"taunts/props/58.mp3",
"taunts/props/59.mp3",
"taunts/props/60.mp3",
"taunts/props/61.mp3",
"taunts/props/62.mp3",
"taunts/props/63.mp3",
"taunts/props/64.mp3",
"taunts/props/65.mp3",
"taunts/props/66.mp3",
"taunts/props/67.mp3",
"taunts/props/68.mp3",
"taunts/props/69.mp3",
"taunts/props/70.mp3",
"taunts/props/71.mp3",
"taunts/props/72.mp3",
"taunts/props/73.mp3",
"taunts/props/74.mp3",
"taunts/props/75.mp3",
"taunts/props/76.mp3",
"taunts/props/77.mp3",
"taunts/props/78.mp3",
"taunts/props/79.mp3",
"taunts/props/80.mp3",
"taunts/props/81.mp3",
"taunts/props/82.mp3",
"taunts/props/83.mp3",
"taunts/props/84.mp3",
"taunts/props/85.mp3",
"taunts/props/86.mp3",
"taunts/props/87.mp3",
"taunts/props/88.mp3",
"taunts/props/89.mp3",
"taunts/props/90.mp3",
"taunts/props/91.mp3",
"taunts/props/92.mp3",
"taunts/props/93.mp3",
"taunts/props/94.mp3",
"taunts/props/95.mp3",
"taunts/props/96.mp3",
"taunts/props/97.mp3",
"taunts/props/98.mp3",
"taunts/props/99.mp3",
"taunts/props/100.mp3",
"taunts/props/101.mp3",
"taunts/props/102.mp3"
--"taunts/you_dont_know_the_power.wav",
--"taunts/you_underestimate_the_power.wav"
}


// Seconds a player has to wait before they can taunt again (Default: 5)
TAUNT_DELAY = 5


// Rounds played on a map (Default: 10)
ROUNDS_PER_MAP = 10


// Time (in seconds) for each round (Default: 300)
ROUND_TIME = 300


// Determains if players should be team swapped every round [0 = No, 1 = Yes] (Default: 1)
SWAP_TEAMS_EVERY_ROUND = 1


// If you win, one of these will be played
// Set blank to disable
VICTORY_SOUNDS = {
"taunts/win/turndownforwat.mp3",
"taunts/win/chordsplitter.mp3",
"taunts/win/destruction.mp3",
"taunts/win/mortar.mp3",
"taunts/win/surface.mp3",
"taunts/win/newgame.mp3",
"taunts/win/dankblowme.mp3",
"taunts/win/sexism.mp3",
"taunts/win/falloftherepublic.mp3",
"taunts/win/helicopterremix.mp3",
"taunts/win/helicopterremix2.mp3",
"taunts/win/vikingsremix.mp3"

}

Showing 1-13 of 13 comments
< >
Swag Superstar "Lo Ryder" Jun 19 @ 12:13pm 
Incase you dont believe me, in my lua/autorun/server/resource.lua, this is what it looks like:


resource.AddWorkshop( "126181015" )
resource.AddWorkshop( "105685526" )
resource.AddWorkshop( "179134697" )
resource.AddWorkshop( "184396116" )
resource.AddWorkshop( "252519802" )
resource.AddWorkshop( "216408135" )
resource.AddWorkshop( "107155115" )
resource.AddWorkshop( "215998878" )
resource.AddWorkshop( "210902773" )
resource.AddWorkshop( "218207392" )
resource.AddWorkshop( "247254668" )
resource.AddWorkshop( "248660099" )
resource.AddWorkshop( "150404359" )
resource.AddFile( "sound/win/dankblowme.mp3" )
resource.AddFile( "sound/win/chordsplitter.mp3" )
resource.AddFile( "sound/win/destruction.mp3" )
resource.AddFile( "sound/win/falloftherepublic.mp3" )
resource.AddFile( "sound/win/helicopterremix.mp3" )
resource.AddFile( "sound/win/helicopterremix2.mp3" )
resource.AddFile( "sound/win/mortar.mp3" )
resource.AddFile( "sound/win/newgame.mp3" )
resource.AddFile( "sound/win/sexism.mp3" )
resource.AddFile( "sound/win/surface.mp3" )
resource.AddFile( "sound/win/turndownforwat.mp3" )
resource.AddFile( "sound/win/vikingsremix.mp3" )
resource.AddFile( "sound/win/wreckthermx.mp3" )

Oh wait...you must be thinking this looks wrong right? I jsut thought that too right now, but the thign is, when victory is present, console doesnt say anything like missing sound file or anything. so if i change the dir and they still dont work, ill ask for help.


Swag Superstar "Lo Ryder" Jun 19 @ 12:18pm 
Fixed the lua, but still no victory sound.


// Props will not be able to become these models
BANNED_PROP_MODELS = {
"models/props/cs_assault/dollar.mdl",
"models/props/cs_assault/money.mdl",
"models/props/cs_office/snowman_arm.mdl"
}


// Maximum time (in minutes) for this fretta gamemode (Default: 30)
GAME_TIME = 30

// Number of seconds hunters are blinded/locked at the beginning of the map (Default: 30)
CreateConVar("HUNTER_BLINDLOCK_TIME", "30", FCVAR_REPLICATED)

//Create the convars here
// Health points removed from hunters when they shoot (Default: 5)
CreateConVar( "HUNTER_FIRE_PENALTY", "5", FCVAR_REPLICATED)

// How much health to give back to the Hunter after killing a prop (Default: 20)
CreateConVar( "HUNTER_KILL_BONUS", "20", FCVAR_REPLICATED)

//Whether or not we include grenade launcher ammo (default: 1)
CreateConVar( "WEAPONS_ALLOW_GRENADE", "1", FCVAR_REPLICATED)

// If you loose one of these will be played
// Set blank to disable
LOSS_SOUNDS = {
"vo/announcer_failure.wav",
"vo/announcer_you_failed.wav"
}


// Sound files hunters can taunt with
// You need at least 2 files listed here
HUNTER_TAUNTS = {
"taunts/you_dont_know_the_power.wav",
"taunts/you_underestimate_the_power.wav",
"taunts/hunters/1.wav",
"taunts/hunters/2.wav",
"taunts/hunters/3.wav",
"taunts/hunters/4.wav",
"taunts/hunters/5.wav",
"taunts/hunters/6.wav",
"taunts/hunters/7.wav",
"taunts/hunters/8.wav",
"taunts/hunters/9.wav",
"taunts/hunters/10.wav",
"taunts/hunters/11.wav",
"taunts/hunters/12.wav",
"taunts/hunters/13.wav",
"taunts/hunters/14.wav",
"taunts/hunters/15.wav",
"taunts/hunters/16.wav",
"taunts/hunters/17.wav"
}


// Sound files props can taunt with
// You need at least 2 files listed here
PROP_TAUNTS = {
"taunts/boom_headshot.wav",
"taunts/doh.wav",
"taunts/go_away_or_i_shall.wav",
"taunts/ill_be_back.wav",
"taunts/negative.wav",
"taunts/oh_yea_he_will_pay.wav",
"taunts/ok_i_will_tell_you.wav",
"taunts/please_come_again.wav",
"taunts/threat_neutralized.wav",
"taunts/what_is_wrong_with_you.wav",
"taunts/woohoo.wav",
"taunts/props/1.wav",
"taunts/props/2.wav",
"taunts/props/3.wav",
"taunts/props/4.wav",
"taunts/props/5.wav",
"taunts/props/6.wav",
"taunts/props/7.wav",
"taunts/props/8.wav",
"taunts/props/9.wav",
"taunts/props/10.wav",
"taunts/props/11.wav",
"taunts/props/12.wav",
"taunts/props/13.mp3",
"taunts/props/14.wav",
"taunts/props/15.wav",
"taunts/props/16.wav",
"taunts/props/17.mp3",
"taunts/props/18.wav",
"taunts/props/19.wav",
"taunts/props/20.wav",
"taunts/props/21.wav",
"taunts/props/22.wav",
"taunts/props/23.wav",
"taunts/props/24.wav",
"taunts/props/25.wav",
"taunts/props/26.wav",
"taunts/props/27.wav",
"taunts/props/28.wav",
"taunts/props/29.wav",
"taunts/props/30.wav",
"taunts/props/31.mp3",
"taunts/props/32.mp3",
"taunts/props/33.mp3",
"taunts/props/34.mp3",
"taunts/props/35.mp3",
"taunts/props/36.mp3",
"taunts/props/37.wav",
"taunts/props/38.wav",
"taunts/props/39.wav",
"taunts/props/40.mp3",
"taunts/props/41.mp3",
"taunts/props/42.mp3",
"taunts/props/43.mp3",
"taunts/props/43.mp3",
"taunts/props/44.mp3",
"taunts/props/45.mp3",
"taunts/props/46.mp3",
"taunts/props/47.mp3",
"taunts/props/48.mp3",
"taunts/props/49.mp3",
"taunts/props/50.mp3",
"taunts/props/51.mp3",
"taunts/props/52.mp3",
"taunts/props/53.mp3",
"taunts/props/55.mp3",
"taunts/props/56.mp3",
"taunts/props/57.mp3",
"taunts/props/58.mp3",
"taunts/props/59.mp3",
"taunts/props/60.mp3",
"taunts/props/61.mp3",
"taunts/props/62.mp3",
"taunts/props/63.mp3",
"taunts/props/64.mp3",
"taunts/props/65.mp3",
"taunts/props/66.mp3",
"taunts/props/67.mp3",
"taunts/props/68.mp3",
"taunts/props/69.mp3",
"taunts/props/70.mp3",
"taunts/props/71.mp3",
"taunts/props/72.mp3",
"taunts/props/73.mp3",
"taunts/props/74.mp3",
"taunts/props/75.mp3",
"taunts/props/76.mp3",
"taunts/props/77.mp3",
"taunts/props/78.mp3",
"taunts/props/79.mp3",
"taunts/props/80.mp3",
"taunts/props/81.mp3",
"taunts/props/82.mp3",
"taunts/props/83.mp3",
"taunts/props/84.mp3",
"taunts/props/85.mp3",
"taunts/props/86.mp3",
"taunts/props/87.mp3",
"taunts/props/88.mp3",
"taunts/props/89.mp3",
"taunts/props/90.mp3",
"taunts/props/91.mp3",
"taunts/props/92.mp3",
"taunts/props/93.mp3",
"taunts/props/94.mp3",
"taunts/props/95.mp3",
"taunts/props/96.mp3",
"taunts/props/97.mp3",
"taunts/props/98.mp3",
"taunts/props/99.mp3",
"taunts/props/100.mp3",
"taunts/props/101.mp3",
"taunts/props/102.mp3"
--"taunts/you_dont_know_the_power.wav",
--"taunts/you_underestimate_the_power.wav"
}


// Seconds a player has to wait before they can taunt again (Default: 5)
TAUNT_DELAY = 5


// Rounds played on a map (Default: 10)
ROUNDS_PER_MAP = 10


// Time (in seconds) for each round (Default: 300)
ROUND_TIME = 300


// Determains if players should be team swapped every round [0 = No, 1 = Yes] (Default: 1)
SWAP_TEAMS_EVERY_ROUND = 1


// If you win, one of these will be played
// Set blank to disable
VICTORY_SOUNDS = {
"win/turndownforwat.mp3",
"win/chordsplitter.mp3",
"win/destruction.mp3",
"win/mortar.mp3",
"win/surface.mp3",
"win/newgame.mp3",
"win/dankblowme.mp3",
"win/sexism.mp3",
"win/falloftherepublic.mp3",
"win/helicopterremix.mp3",
"win/helicopterremix2.mp3",
"win/vikingsremix.mp3"

}
Elmo Man Jun 21 @ 7:25am 
Thanks, at least one half of my issue is solved
Swag Superstar "Lo Ryder" Jun 21 @ 7:29am 
Yes, but that doesn't help me very much.
Humberto | Symantec_Han Jun 22 @ 4:56pm 
Thanks
Swag Superstar "Lo Ryder" Jun 22 @ 8:51pm 
Why is everyoen saying thanks? This doesn't work on my side.
Swag Superstar "Lo Ryder" Jun 22 @ 8:51pm 
Why is everyoen saying thanks? This doesn't work on my side.
Swag Superstar "Lo Ryder" Jun 22 @ 8:52pm 
Why is everyoen saying thanks? This doesn't work on my side.
Swag Superstar "Lo Ryder" Jun 22 @ 8:52pm 
Why is everyoen saying thanks? This doesn't work on my side.
Swag Superstar "Lo Ryder" Jun 22 @ 8:52pm 
Why is everyoen saying thanks? This doesn't work on my side.
Carnivictid Jun 23 @ 12:20pm 
Got it working for me. Not sure what you could be doing wrong Midna.
Swag Superstar "Lo Ryder" Jun 23 @ 12:24pm 
...., well i got some other prop hunt gamemode taht has working victory sounds. not like this version of prophunt that didnt work for me, so i dont need any replies for this anymore
Last edited by Swag Superstar "Lo Ryder"; Jun 23 @ 12:25pm
Swag Superstar "Lo Ryder" Jun 23 @ 12:25pm 
and steam wasnt messing around so it posted alot....stupid summer sale
Showing 1-13 of 13 comments
< >
Per page: 15 30 50