Source SDK

Source SDK

How to import Portal 2 assets to HL2EP2 source mods?
I edited my source mod's gameinfo.txt like this
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 ep2/custom/* game+mod episodic/custom/* game+mod hl2/custom/* // 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. game+mod+mod_write+default_write_path |gameinfo_path|. gamebin |gameinfo_path|bin // 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_lv hl2/hl2_lv.vpk game+mod ep2/ep2_sound_vo_english.vpk game+mod ep2/ep2_pak.vpk game |all_source_engine_paths|episodic/ep1_sound_vo_english.vpk game |all_source_engine_paths|episodic/ep1_pak.vpk game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk game |all_source_engine_paths|hl2/hl2_pak.vpk game |all_source_engine_paths|hl2/hl2_textures.vpk game |all_source_engine_paths|hl2/hl2_sound_misc.vpk game |all_source_engine_paths|hl2/hl2_misc.vpk game |all_source_engine_paths|portal2/pak01_dir.vpk game |all_source_engine_paths|portal2_dlc1/pak01_dir.vpk game |all_source_engine_paths|portal2_dlc2/pak01_dir.vpk platform |all_source_engine_paths|platform/platform_misc.vpk // Add the HL2 directory as a game search path. This is also where where writes // to the "game" path go. game+game_write ep2 // Where the game's binaries are gamebin episodic/bin // Last, mount in shared HL2 loose files game |all_source_engine_paths|episodic game |all_source_engine_paths|hl2 platform |all_source_engine_paths|platform }
But I can't load Portal 2 materials and models in hammer. How do I load these?
Дата создания: 4 авг в 8:46
Сообщений: 0