Switching Between Portal 2 and Editor Faster?
Hober wrote:
Use the "windowed (no border)" graphics mode that makes alt+tabbing easy.
And all this time I've been using Portal 2 and the other games in full screen while testing. Someone punch me.
Anyways, I use this method:
Have Hammer and Portal 2 (or some other Source game) open
1. Compile in Hammer
2. Load map in Portal 2
3. Test
4. Change map in Hammer and compile
5. Type "restart" in console in Portal 2 and test
6. Repeat steps 4, 5 and 6
Sliipperi wrote:
5. Type "restart" in console in Portal 2 and test
If you add the "-hijack" flag to your $game_exe command (in Advanced compile mode), it will automatically restart the level in Portal2 as soon as it's done compiling
Parameters:
-hijack -dev -game $gamedir +map $file +sv_lan 1
mironos wrote:
If you add the "-hijack" flag to your $game_exe command (in Advanced compile mode), it will automatically restart the level in Portal2 as soon as it's done compilingParameters:
-hijack -dev -game $gamedir +map $file +sv_lan 1
