Some weapons sounds don't play

Obsidian General.
Post Reply
fustrun
prop_static
prop_static
Posts: 92
Joined: Fri Sep 11, 2009 8:23 am

Some weapons sounds don't play

Post by fustrun »

Hey all.

I added some custom models to replace the CS:S ones to use in OC but some of them dont play . . i copied all the files and the sound script to my cstrike directory, do i need tochange the custom_usp txt aswell, if yes then what ?

thx for the help
User avatar
JerC
Donator
Donator
Posts: 914
Joined: Fri Jan 30, 2009 1:37 pm
Location: France

Post by JerC »

Do you have CSS mounted?
Please don't take my posts before 2013 too seriously. It will be better for both you and I :c
fustrun
prop_static
prop_static
Posts: 92
Joined: Fri Sep 11, 2009 8:23 am

Post by fustrun »

Yeap everything works anims, textures, everything except the sounds . . the fire sound works but all the reload sequences are soundless, some missing just one sound in the sequence . . like "clipin" or something . .
User avatar
Vasili
npc_helicopter
npc_helicopter
Posts: 901
Joined: Wed Aug 02, 2006 8:22 pm
Location: England

Post by Vasili »

Do you have the sounds?
fustrun
prop_static
prop_static
Posts: 92
Joined: Fri Sep 11, 2009 8:23 am

Post by fustrun »

of course :P it might be something to do with the scripts, as they come with a USP.txt that goes into the "Scripts" folder that goes somehing like this

Code: Select all

"Weapon_USP.DetachSilencer"
{
	"channel"		"CHAN_ITEM"
	"volume"		"1.0"
	"CompatibilityAttenuation"	"1.0"
	"pitch"			"95,105"

	"wave"			"weapons/usp/usp_silencer_off.wav"
	
}

"Weapon_USP.AttachSilencer"
{
	"channel"		"CHAN_ITEM"
	"volume"		"1.0"
	"CompatibilityAttenuation"	"1.0"
	"pitch"			"95,105"

	"wave"			"weapons/usp/usp_silencer_on.wav"
	
}

"Weapon_USP.Clipout"
{
	"channel"		"CHAN_ITEM"
	"volume"		"1.0"
	"CompatibilityAttenuation"	"1.0"
	"pitch"			"95,105"

	"wave"			"weapons/usp/usp_clipout.wav"
	
}

"Weapon_USP.Clipin"
{
	"channel"		"CHAN_ITEM"
	"volume"		"1.0"
	"CompatibilityAttenuation"	"1.0"
	"pitch"			"95,105"

	"wave"			"weapons/usp/usp_clipin.wav"
	
}

"Weapon_USP.Sliderelease"
{
	"channel"		"CHAN_ITEM"
	"volume"		"1.0"
	"CompatibilityAttenuation"	"1.0"
	"pitch"			"95,105"

	"wave"			"weapons/usp/usp_sliderelease.wav"
	
}

"Weapon_USP.Slideback"
{
	"channel"		"CHAN_ITEM"
	"volume"		"1.0"
	"CompatibilityAttenuation"	"1.0"
	"pitch"			"95,105"

	"wave"			"weapons/usp/usp_slideback.wav"
	
}

"Weapon_USP.Slideback2"
{
	"channel"		"CHAN_ITEM"
	"volume"		"1.0"
	"CompatibilityAttenuation"	"1.0"
	"pitch"			"95,105"

	"wave"			"weapons/usp/usp_slideback2.wav"
	
}
and a "game_sounds_mainfest.txt" that goes something like this

Code: Select all

game_sounds_manifest
{
	 "precache_file"	"scripts/game_sounds_hostages.txt"
	 "precache_file"	"scripts/game_sounds_bots.txt"
	 
	 "preload_file"		"scripts/game_sounds.txt"
	 "preload_file"		"scripts/game_sounds_physics.txt"	
	 "preload_file"		"scripts/game_sounds_radio.txt"
	 "preload_file"		"scripts/weapons/ak47.txt"
	 "preload_file"		"scripts/weapons/aug.txt"
	 "preload_file"		"scripts/weapons/awp.txt"
	 "preload_file"		"scripts/weapons/c4.txt"
	 "preload_file"		"scripts/weapons/deagle.txt"
	 "preload_file"		"scripts/weapons/elites.txt"
	 "preload_file"		"scripts/weapons/famas.txt"
	 "preload_file"		"scripts/weapons/fiveseven.txt"
	 "preload_file"		"scripts/weapons/flashbang.txt"
	 "preload_file"		"scripts/weapons/g3sg1.txt"
	 "preload_file"		"scripts/weapons/galil.txt"
	 "preload_file"		"scripts/weapons/glock.txt"
	 "preload_file"		"scripts/weapons/hegrenade.txt"
	 "preload_file"		"scripts/weapons/knife.txt"
	 "preload_file"		"scripts/weapons/m249.txt"
	 "preload_file"		"scripts/weapons/m3.txt"
	 "preload_file"		"scripts/weapons/m4a1.txt"
	 "preload_file"		"scripts/weapons/mac10.txt"
	 "preload_file"		"scripts/weapons/mp5.txt"
	 "preload_file"		"scripts/weapons/p90.txt"
	 "preload_file"		"scripts/weapons/p228.txt"
	 "preload_file"		"scripts/weapons/scout.txt"
	 "preload_file"		"scripts/weapons/sg550.txt"
	 "preload_file"		"scripts/weapons/sg552.txt"
	 "preload_file"		"scripts/weapons/smokegrenade.txt"
	 "preload_file"		"scripts/weapons/tmp.txt"
	 "preload_file"		"scripts/weapons/ump45.txt"
	 "preload_file"		"scripts/weapons/usp.txt"
	 "preload_file"		"scripts/weapons/xm1014.txt"
	 "preload_file"		"scripts/game_sounds_weapons.txt"
}

fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

Add a custom soundscript like this:

http://wiki.neic0.de/?title=Soundcache

There is already a CSS_BASE listed in scripts/soundscripts

add to your modify.txt
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
fustrun
prop_static
prop_static
Posts: 92
Joined: Fri Sep 11, 2009 8:23 am

Post by fustrun »

to each map ? . . i tried just changing the enteries in game_sounds_cs_weapons.txt to match the one in "usp.txt" now all sounds desappeared . . i need to add lines to each map in th campaing ?
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

To each hl2 modify script...

Code: Select all

SpawnItems
{
    "weapon_crowbar" "1"
  }
"SoundCache"
{
    "Base_CSS"		"1"
}
}
The wiki says you need to add all relevant BASE scripts for what you are playing, but I think you dont need to. Just try it and if it isnt working add the default ones.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
fustrun
prop_static
prop_static
Posts: 92
Joined: Fri Sep 11, 2009 8:23 am

Post by fustrun »

ok olved it easily just modified "game_sounds_cs_weapons.txt" and included the sound's in obsidian't sound folder, now he reads them fine ^^ thx again !
Post Reply