A hammer problem

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.

NaDE *|CPB|* [DFS]

L1: Registered
Sep 20, 2016
14
it cannot let me launch the tf2hammer because it needs gameinfo in C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf. but i have it in D:\steam\steamapps\common\Team Fortress 2\tf.
any help?

and also, i tried to put only the gameinfo in the C: foldier, doesnt work
 

MOCOLONI

L6: Sharp Member
Dec 16, 2014
373
What have you done to the file itself? Verify the integrity of game cache to get it back; I would attach mine here, but I don't think it's a good idea.
 

Dr. Orange

L6: Sharp Member
May 25, 2015
391
Go to "D:\steam\steamapps\common\Team Fortress 2\bin", open up GameConfig.txt and edit all paths refering to "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\" and sub-folders and changed them to their "D:\steam\steamapps\common\Team Fortress 2\" counterpart.
 

NaDE *|CPB|* [DFS]

L1: Registered
Sep 20, 2016
14
Anyways, i dont think it is reffered to maps, but, got another question, the MVM bots, will they find the path to players? Or do i have to include some sort of a path to buildnings? If yes, then how
 

henke37

aa
Sep 23, 2011
2,075
You have to provide a navigation mesh. You can easily generate one in game, but you probably need to tweak it manually to fix things the automation got wrong.
 

MOCOLONI

L6: Sharp Member
Dec 16, 2014
373
Can you show me/tell me how? I would be really thankful
You can use the nav_generate command to generate the navigation mesh. Keep in mind that on "complex maps" it may lead to the creation of malfunctioning places/connextions between these places, so after getting a .NAV file, you may proceed to edit it with nav_edit 1. See this post to learn some of the basics to editing navigation meshes.
 

NaDE *|CPB|* [DFS]

L1: Registered
Sep 20, 2016
14
uhh, another thing, when i try to run map, the hammer freezes, you know, stops working, idk why and idk what happened to it, can someone give me suggestions on what to do?
 

MOCOLONI

L6: Sharp Member
Dec 16, 2014
373
uhh, another thing, when i try to run map, the hammer freezes, you know, stops working, idk why and idk what happened to it, can someone give me suggestions on what to do?
If you're talking about the Compile Progress Window getting stuck, that's "normal". Wait for it to complete (which will let you scroll up/down the list once it is).
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
uhh, another thing, when i try to run map, the hammer freezes, you know, stops working, idk why and idk what happened to it, can someone give me suggestions on what to do?
Hammer freezing during a compile is perfectly normal since compiling will eat up all of your CPU's power and time to do number crunching on your map. If you want to use your PC during a compile you can put -threads x in the advanced compile options.(with x being a number lower than your total available cores/threads INCLUDING Hyperthreaded (Intel CPUs) and SMT (AMD Ryzen CPUs) cores, so a quad-core i7 has 8 threads, you put in x=7 so the compilers lightens up the load on the CPU to give you power to do other stuff but this will slow down your compile. You can find out how many cores/threads in the task manager under the Performance tab, look at how many graphs you have, that's how many threads you have)
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947