• Map fails to compile from hammer
    2 replies, posted
Hello everyone, I just started using Hammer to make some simple maps. The first thing I did was just build a hollow cube and put an info_player_start entity inside. Of course, I wanted to test this, so I pressed F9 to run the map. The problem is, no matter what I would do, an error message would pop up. Here's what the console said: [CODE] ** Executing... ** Command: Copy File ** Parameters: "C:\Program Files (x86)\Steam\SteamApps\common\GarrysMod\garrysmod\maps\myDemoMap.bsp" "\myDemoMap.bsp" The command failed. Windows reported the error: "The system cannot find the file specified." [/CODE] That's all it said, with no other errors other than "The system cannot find the file specified". Did I set up the gameconfig wrong, or is it something else? Thanks.
For a map to compile you need to have at least one dynamic entity in it. Place down a prop_physics with for example a soda can model and it will compile. Please post in the questions megathread next time. [B]Advanced explanation for others:[/B] When hammer compiles a map to bsp it performs many different methods of optimization. As a result any rooms that don't have any dynamic entities in them are not written at all, and become part of the void! Incredibly complex scenes might not write at all because they only consist of prop statics, lights and default brushes, all of which are not dynamic entities. For a room (any by room I mean any space completely enclosed in world geometry, usually there is only one of these "rooms" per map) to write you could just add a simple prop_physics to each one and it will make sure that that vbsp does not ignore it.
[QUOTE=Grenade Man;45516503]For a map to compile you need to have at least one dynamic entity in it. Place down a prop_physics with for example a soda can model and it will compile. Please post in the questions megathread next time. [B]Advanced explanation for others:[/B] When hammer compiles a map to bsp it performs many different methods of optimization. As a result any rooms that don't have any dynamic entities in them are not written at all, and become part of the void! Incredibly complex scenes might not write at all because they only consist of prop statics, lights and default brushes, all of which are not dynamic entities. For a room (any by room I mean any space completely enclosed in world geometry, usually there is only one of these "rooms" per map) to write you could just add a simple prop_physics to each one and it will make sure that that vbsp does not ignore it.[/QUOTE] Hey, thanks for your reply. I managed to resolve the issue before you responded, however. The only reason it wouldn't compile was because I forgot to configure the build programs; I didn't have to add any dynamic props or anything. Side note, should I close this thread now that the issue is resolved? If so, how? Thanks again.
Sorry, you need to Log In to post a reply to this thread.