ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
635 stars 74 forks source link

CSS: invisible models & laggy sounds on some servers if you're using custom models & sounds WITH editing game_sounds_weapons.txt) #2774

Open PiMoNFeeD opened 5 years ago

PiMoNFeeD commented 5 years ago

So Im using custom v_ weapon models and sounds (with editing game_sounds_weapons.txt in scripts folder) and on some servers my custom models just invisible (didnt tested player models so I cant say anything about them) and custom sounds are like squeaking, they sounds VERY weird and they sound normal if I dont edit game_sounds_weapons.txt but I do need to edit it in order to add some new sounds

1157 commented 5 years ago

You can't add custom stuff like this (Since Steampipe anyway) the game will just overwrite, you can if your using the SDK ,building a level and then you can add custom models (view and world) and then pack in your map, sometimes they do carry over to the next level (bug) but I'am sure if you add Sourcemod you can work around this.

from game_info.txt (hldms but cstrike the same)

// Last, mount in shared HL2 loose files game |all_source_engine_paths|hl1 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   hl1mp/download