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

CS:S New Weapon Sounds won't work (dedicated Server)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PJ2EDATOR
New Member
Join Date: Jan 2023
Location: Germany
Old 01-19-2023 , 20:31   CS:S New Weapon Sounds won't work (dedicated Server)
Reply With Quote #1

Hello friends,
i'm stuck... i tried everything i found in google and nothing helped.

--- My Problem:

I am trying to replace the old weapon sounds with new ones, but my console won't load the sounds, when ever i open CS:S i hear the old weapon sounds.

--- what i did:

created a scripts folder (cstrike/scripts)
-> created game_sounds_manifest.txt inside it
-> created game_sounds_weapons.txt inside it

- created new folders (cstrike/custom/my_custom_sounds/sound/weapons/m4a1 <- my m4a1 wave files are inside this folder

- formated the wave files to 22050 kHz

- added a new path to gameinfo.txt
(as the first path didn't work i tried to add a VPK Package to double the chance, guess what... it didn't work...)

1.path
game+mod cstrike/custom/my_costum_sounds/sound/weapons/

2. path
game+mod cstrike/custom/my_costum_sounds/sound.vpk



//////////////////////////////// The Game Sound Manifests ////////////////////////////////

game_sounds_manifest
{
"precache_file" "scripts/game_sounds.txt"

// Weapon sounds
"precache_file" "scripts/game_sounds_weapons.txt"
}



//////////////////////////////// The Game Sound Weapons ////////////////////////////////

// ###Formats###
//
//
// "Weapon_name.Single"
//{
// "channel" "CHAN_WEAPON"
// "volume" "0.8"
// "soundlevel" "SNDLVL_GUNFIRE"
// "pitch" "85,95"
// "wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1-1.wav"
//}
//
//
// "Weapon_name.Single"
//{
// "channel" "CHAN_WEAPON"
// "volume" "0.8"
// "soundlevel" "SNDLVL_GUNFIRE"
// "pitch" "85,95"
//
// "rndwave"
// {
// "wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1-1.wav"
// }
//}
//
//
// *******
// WEAPONS
//
//

"Weapon_m4a1.Single"
{
"channel" "CHAN_WEAPON"
"volume" "0.8"
"soundlevel" "SNDLVL_GUNFIRE"
"pitch" "85,95"
"wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1_unsil-1.wav"
}

"Weapon_m4a1.silencedshot"
{
"channel" "CHAN_WEAPON"
"volume" "0.95,1.0"
"pitch" "95,105"
"soundlevel" "SNDLVL_GUNFIRE"
"wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1-1.wav"
}

"Weapon_m4a1.silenceron"
{
"channel" "CHAN_ITEM"
"volume" "0.80"
"pitch" "100"
"soundlevel" "SNDLVL_NORM"
"wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1_silencer_on.wav"
}

"Weapon_m4a1.silenceroff"
{
"channel" "CHAN_ITEM"
"volume" "0.80"
"pitch" "100"
"soundlevel" "SNDLVL_NORM"
"wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1_silencer_off.wav"
}

"Weapon_m4a1.clipin"
{
"channel" "CHAN_ITEM"
"volume" "0.80"
"pitch" "100"
"soundlevel" "SNDLVL_NORM"
"wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1_clipin.wav"
}

"Weapon_m4a1.clipout"
{
"channel" "CHAN_ITEM"
"volume" "0.80"
"pitch" "100"
"soundlevel" "SNDLVL_NORM"
"wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1_clipout.wav"
}

"Weapon_m4a1.boltpull"
{
"channel" "CHAN_ITEM"
"volume" "0.80"
"pitch" "100"
"soundlevel" "SNDLVL_NORM"
"wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1_boltpull.wav"
}

"Weapon_m4a1.deploy"
{
"channel" "CHAN_ITEM"
"volume" "0.80"
"pitch" "100"
"soundlevel" "SNDLVL_NORM"
"wave" ")custom/my_costum_sounds/sound/weapons/m4a1/m4a1_deploy.wav"
}




//////////////////////////////// The Gameinfo Path ////////////////////////////////

"GameInfo"
{
game "Counter-Strike Source"
title "COUNTER-STRIKE'"
title2 "source"
type multiplayer_only
nomodels 1
nohimodel 1
nocrosshair 0
advcrosshair 3
bots 1
hidden_maps
{
"test_speakers" 1
"test_hardware" 1
}
nodegraph 0


FileSystem
{
SteamAppId 240 // This will mount all the GCFs we need (240=CS:S, 220=HL2).

//
// Setup engine search paths.
//
// If a search path contains "_english", and the current language is not english, then
// another search path will be inserted above the english one by replacing "_english" with
// the appropriate language.
//
// To debug how the engine has parsed this file, type "path" at the console.
//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// |all_source_engine_paths| points at the directory cintaining HL2 shared content.
//
SearchPaths
{

// First, mount all user customizations. This will search for VPKs and subfolders
// and mount them in alphabetical order. The easiest way to distribute a mod is to
// pack up the custom content into a VPK. To "install" a mod, just drop it in this
// folder.
//
// Note that this folder is scanned only when the game is booted.
game+mod cstrike/custom/my_costum_sounds/sound.vpk
game+mod cstrike/custom/my_costum_sounds/sound/weapons/

// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)
game+mod cstrike/cstrike_english.vpk
game+mod cstrike/cstrike_pak.vpk

game |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
game |all_source_engine_paths|hl2/hl2_misc.vpk

platform |all_source_engine_paths|platform/platform_misc.vpk

// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.

// Add the cstrike directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write cstrike

// Where the game's binaries are
gamebin cstrike/bin

// Last, mount in shared HL2 loose files
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform

// Random files downloaded from gameservers go into a seperate directory, so
// that it's easy to keep those files segregated from the official game files
// or customizations intentially installed by the user.
//
// This directory is searched LAST. If you visit a server and download
// a custom model, etc, we don't want that file to override the default
// game file indefinitely (after you have left the server). Servers CAN have
// custom content that overrides the default game files, it just needs to be
// packed up in the .bsp file so that it will be mounted as a map search pack.
// The map search pack is mounted at the top of the search path list,
// but only while you are connected that server and on that map.
game+download cstrike/download
}
}
}





//////////////////////////////// What my dedicated Server Console says ////////////////////////////////

At this point i wanted to paste the dedicated server console text, but i don't know how to copy the text, can somebody tell me how to, please? thanks guys

Last edited by PJ2EDATOR; 01-20-2023 at 10:15. Reason: Added Topic Information "CS:S"
PJ2EDATOR 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 01:21.


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