void ClientPrecache( void ) { // Precache cable textures. CBaseEntity::PrecacheModel( "cable/cable.vmt" ); CBaseEntity::PrecacheModel( "cable/cable_lit.vmt" ); CBaseEntity::PrecacheModel( "cable/chain.vmt" ); CBaseEntity::PrecacheModel( "cable/rope.vmt" ); CBaseEntity::PrecacheModel( "sprites/blueglow1.vmt" ); CBaseEntity::PrecacheModel( "sprites/purpleglow1.vmt" ); CBaseEntity::PrecacheModel( "sprites/purplelaser1.vmt" ); CBaseEntity::PrecacheScriptSound( "Player.FallDamage" ); CBaseEntity::PrecacheScriptSound( "Player.Swim" ); // General HUD sounds CBaseEntity::PrecacheScriptSound( "Player.PickupWeapon" ); CBaseEntity::PrecacheScriptSound( "Player.DenyWeaponSelection" ); CBaseEntity::PrecacheScriptSound( "Player.WeaponSelected" ); CBaseEntity::PrecacheScriptSound( "Player.WeaponSelectionClose" ); CBaseEntity::PrecacheScriptSound( "Player.WeaponSelectionMoveSlot" ); // General legacy temp ents sounds CBaseEntity::PrecacheScriptSound( "Bounce.Glass" ); CBaseEntity::PrecacheScriptSound( "Bounce.Metal" ); CBaseEntity::PrecacheScriptSound( "Bounce.Flesh" ); CBaseEntity::PrecacheScriptSound( "Bounce.Wood" ); CBaseEntity::PrecacheScriptSound( "Bounce.Shrapnel" ); CBaseEntity::PrecacheScriptSound( "Bounce.ShotgunShell" ); CBaseEntity::PrecacheScriptSound( "Bounce.Shell" ); CBaseEntity::PrecacheScriptSound( "Bounce.Concrete" ); ClientGamePrecache(); }
void ClientPrecache( void ) { // Precache cable textures. CBaseEntity::PrecacheModel( "cable/cable.vmt" ); CBaseEntity::PrecacheModel( "cable/cable_lit.vmt" ); CBaseEntity::PrecacheModel( "cable/chain.vmt" ); CBaseEntity::PrecacheModel( "cable/rope.vmt" ); CBaseEntity::PrecacheModel( "sprites/blueglow1.vmt" ); CBaseEntity::PrecacheModel( "sprites/purpleglow1.vmt" ); CBaseEntity::PrecacheModel( "sprites/purplelaser1.vmt" ); //CBaseEntity::PrecacheScriptSound( "Hud.Hint" ); //BG2 - Not in scripts, remove entirely. -HairyPotter CBaseEntity::PrecacheScriptSound( "Player.FallDamage" ); CBaseEntity::PrecacheScriptSound( "Player.Swim" ); // General HUD sounds //BG2 - Tjoppen - don't bother with pickup sounds. they steal bandwidth and sound HL2-ish //CBaseEntity::PrecacheScriptSound( "Player.PickupWeapon" ); //also, prepending BG2 to the names of these scripts, since I can't find whichever file overrides and.. bah /*CBaseEntity::PrecacheScriptSound( "BG2Player.DenyWeaponSelection" ); CBaseEntity::PrecacheScriptSound( "BG2Player.WeaponSelected" ); CBaseEntity::PrecacheScriptSound( "BG2Player.WeaponSelectionClose" ); CBaseEntity::PrecacheScriptSound( "BG2Player.WeaponSelectionMoveSlot" );*/ // // General legacy temp ents sounds CBaseEntity::PrecacheScriptSound( "Bounce.Glass" ); CBaseEntity::PrecacheScriptSound( "Bounce.Metal" ); CBaseEntity::PrecacheScriptSound( "Bounce.Flesh" ); CBaseEntity::PrecacheScriptSound( "Bounce.Wood" ); CBaseEntity::PrecacheScriptSound( "Bounce.Shrapnel" ); CBaseEntity::PrecacheScriptSound( "Bounce.ShotgunShell" ); CBaseEntity::PrecacheScriptSound( "Bounce.Shell" ); CBaseEntity::PrecacheScriptSound( "Bounce.Concrete" ); ClientGamePrecache(); }