Hammer Run Map Resolution Problem

PenPen

L5: Dapper Member
Apr 24, 2008
207
136
There's something funny when I compile a map in Hammer and run TF2 afterwards.

Let's say my own TF2 resolution is at 1280 x 1024. But when Hammer runs the map and TF2 after compiling, it'll become 1024 x 768, an older setting.

Is there any solution to this?
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Don't run the map straight after compiling. Load up TF2 manually.
 

PenPen

L5: Dapper Member
Apr 24, 2008
207
136
Oh, and I just noticed I had this in the wrong forum. My bad! Mods please kindly help move to the mapping questions forum.

And thanks for the help Psy and Joodude.
 

AntonJ3000

I am inactive and make horrible maps
Oct 29, 2008
401
90
Don't run the map straight after compiling. Load up TF2 manually.

Why would you want to do that? :huh:
The only "bad" thing I know about loading your map directly from hammer is that if you try to join other servers you will get disconnected frequently until you restart TF2.

As Joodude said, just add " - 1280 -h 1024 " to your additional parameters on hammer compile settings.
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Because running TF2 or any Source game for that matter has caused myself and lots of people lots of trouble. I usually leave it running in the background anyway.
 

Freyja

aa
Jul 31, 2009
2,994
5,813
Why would you want to do that? :huh:
The only "bad" thing I know about loading your map directly from hammer is that if you try to join other servers you will get disconnected frequently until you restart TF2.

Really? I've played for hours after launching it after hammer...(What...I got bored?) and had no problems.
 

AntonJ3000

I am inactive and make horrible maps
Oct 29, 2008
401
90
Really? I've played for hours after launching it after hammer...(What...I got bored?) and had no problems.

Weird, I always get "Client timed out" like 40 seconds after joining a server if I launch it from hammer.
 

TacticalTwinkies

L1: Registered
Nov 9, 2021
1
0
Hey bois- I dunno what I'm doing, how do I open TF2 manually- You mean start up the game from desktop? Also can you direct me to the launch commands? I'm lost
 

nesman

master of fast travel
aa
Jun 27, 2016
1,290
1,175
how do I open TF2 manually- You mean start up the game from desktop?
Yes that is correct. When you compile maps in hammer you have the option to boot the game manually.

Also can you direct me to the launch commands?
https://developer.valvesoftware.com/wiki/Command_Line_Options

This thread is 11 years old. You're better off to make a new thread rather than necro'ing a really old one next time.