SteamPipe Hammer Editor für GMod
Hy Leute...
Mich hatte mal wieder die Mappingwut gepackt.
Da kam ich auf die Idee, man könnte ja den Hammer direkt von Garrysmod nutzen (bin/hammer).
Fehlanzeige... der geht nicht :mad: +es gibt keine vbsp
Ich entschloss mich also, einfach den von CSS auf GMod zu eichen.
Gemacht getan, aber so richtig ging es trotzdem nicht. Es fehlen 99% aller Models.
Man kann zwar einzelne Sofas plazieren, dass ist aber natürlich nicht genug...
Also habe ich stunden lang im Internetz gesucht und fast alle gefundenen "Lösungen" sind für das alte System.
Falls man etwas zum SteamPipe findet, dann nur "Dann müsst ihr den Content einfach in der gameinfo.txt einbinden."
Leider nicht so einfach...
Hammer durchsucht nur den CSS ordner nach hl2, hl2mp, cstrike. Das wars, dort liegt allerdings nur hl2.
Ich kann keinerlei Models von den Spielen nutzen. (CSS, HL2, HL2MP, GMod, TF2)
Bis der Hammer von Gmod funktioniert, brauchen wir da eine richige Lösung.
Ich wäre für alle nützenlichen Antworten sehr dankbar ;D
AW: SteamPipe Hammer Editor für GMod
CSS Inhalte werden natürlich nur bei Hammer für CSS eingebunden. In der Gameinfo.txt gibt die AppID an, welcher Inhalt vom Spiel/Hammer genutzt wird. Die einfachste Lösung ist, dass du dir die Inhalte aus den .vpk Dateien entpackst und in irgend einen Ordner verschiebst. Diesen Ordner kann man bei der gameinfo.txt als kompletten Pfad angeben.
Anders mache ich es auch nicht. Meine Gameinfo sieht z.B. so aus:
Code:
"GameInfo"
{
game "HALF-LIFE 2"
title "HALF-LIFE'"
title2 "== episode two =="
type singleplayer_only
FileSystem
{
SteamAppId 420
SearchPaths
{
Game W:\Garrys_Mod\Eigenes
Game W:\Garrys_Mod\Kartenpakete\RP_Littletown_v2
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
platform |all_source_engine_paths|platform/platform_misc.vpk
mod+mod_write+default_write_path |gameinfo_path|.
game+game_write ep2
gamebin episodic/bin
game |all_source_engine_paths|episodic
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
Game W:\Garrys_Mod\Andere\Kunole
//Game W:\Garrys_Mod\Andere\MissingInfo
Game W:\Garrys_Mod\Andere\Sonstige
Game W:\Garrys_Mod\Original\garrysmod
Game W:\Garrys_Mod\Original\cstrike
Game W:\Garrys_Mod\Original\episodic
Game W:\Garrys_Mod\Original\portal2
Game W:\Garrys_Mod\Original\portal
Game W:\Garrys_Mod\Original\lostcoast
Game W:\Garrys_Mod\Original\dod
Game W:\Garrys_Mod\Original\hl2_leak
Game W:\Garrys_Mod\Original\dmmm
}
}
}
Alles was weiter oben kommt hat die höhere Priorität und überschreibt vorhergehenden Inhalt falls gleiche Inhalte auftauchen.
Das hier ist für Episode 2 die Gameinfo. In anderen Spielen sieht der Kopf/Originalteil natürlich anders aus.
AW: SteamPipe Hammer Editor für GMod
Vielen Dank ;D
Ich hatte befürchtet, dass es so sein wird... da werde ich vorher ordentlich Platz machen müssen auf der Platte :O
Wird das dann auch von dem Game geladen, mit dem ich dann Mappe oder nur vom Hammer?
AW: SteamPipe Hammer Editor für GMod
Also ich musste nichts aus den VPK entpacken, hatte jedoch bei einigen Portal 2 Models (vieele) Abstürze.
Ist allerding Kraut und rüben dadrin und ich musste noch vorher etwas rumkopieren, das findest du wenn du nach dem Namen (titel,titel2) suchst.
Spoiler:
Spoiler anzeigen
Code:
"GameInfo"
{
game "UltimateConfig"
title "HAMMER4LIFE"
title2 "HammerLegion"
type multiplayer_only
nomodels 0
nohimodel 1
nocrosshair 1
hidden_maps
{
"test_speakers" 1
"test_hardware" 1
}
FileSystem
{
SteamAppId 243750
//
// Setup engine search paths.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// |all_source_engine_paths| points at the directory containing 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 UltimateConfig/custom/*
game+mod+mod_write+default_write_path |gameinfo_path|. // Mod
gamebin |gameinfo_path|bin // Mod's Binaries
// 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 "|all_source_engine_paths|../Counter-Strike Source/cstrike/cstrike_pak.vpk" //Counter Strike
game "|all_source_engine_paths|../Day of Defeat Source/dod/dod_pak.vpk" //Day of Defeat
game "|all_source_engine_paths|../GarrysMod/garrysmod/garrysmod.vpk" //Garrysmod
game "|all_source_engine_paths|../Half-Life 2/ep2/ep2_pak.vpk" //HL2 EP2
game "|all_source_engine_paths|../Half-Life 2/episodic/ep1_pak.vpk" //HL2 EP1
game "|all_source_engine_paths|../Half-Life 2/lostcoast/lostcoast_pak.vpk" //HL2 Lost Coast
game "|all_source_engine_paths|../Half-Life 2 Deathmatch/hl2mp/hl2mp_pak.vpk" //HL2 DM
game |all_source_engine_paths|../Portal/portal/portal_pak.vpk //Portal
//game "|all_source_engine_paths|../Portal 2/portal2/pak01_dir.vpk" //Portal 2
//game "|all_source_engine_paths|../Portal 2/portal2/portal2_dlc1/pak01.vpk" //Portal 2
//game "|all_source_engine_paths|../Portal 2/portal2/portal2_dlc1_german/pak01.vpk" //Portal 2
//game "|all_source_engine_paths|../Portal 2/portal2/portal2_dlc2/pak01.vpk" //Portal 2
//game "|all_source_engine_paths|../Portal 2/portal2/portal2_german/pak01.vpk" //Portal 2
//game "|all_source_engine_paths|../Portal 2/portal2/update/pak01_dir.vpk" //Portal 2
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_misc.vpk" //TF2 begin
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_sound_misc.vpk"
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_sound_vo_english.vpk"
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_textures.vpk"
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_textures.vpk" //TF2 End
game "|all_source_engine_paths|../Source SDK Base 2007/zps" //ZPS
//SOURCE MODS NOT ON STEAM MOUNT HERE
//Current setup mounts all but causes hammer load time to increase, so if you have at on of mods installed your hammer is going to take a massive poop before it loads up completely.
//Use the following file path format for specific mods: "|all_source_engine_paths|../../sourcemods/modname"
game "|all_source_engine_paths|../../sourcemods/*"
game+mod hl2mp/hl2mp_english.vpk
game+mod hl2mp/hl2mp_pak.vpk
// Base Half-Life 2 Content: ep2, episodic, hl2
game_lv |all_source_engine_paths|hl2/hl2_lv.vpk
game |all_source_engine_paths|ep2/ep2_english.vpk
//game |all_source_engine_paths|ep2/ep2_pak.vpk
game |all_source_engine_paths|episodic/ep1_english.vpk
//game |all_source_engine_paths|episodic/ep1_pak.vpk
game |all_source_engine_paths|hl2/hl2_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_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 hl2mp directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write hl2mp
// Last, mount in shared HL2 loose files
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
}
}
}