Configuring Hammer for Empiresmod (Post-Steampipe)

Discussion in 'Mapping' started by FN198, Oct 22, 2013.

  1. FN198

    FN198 Member

    Messages:
    2,434
    Likes Received:
    0
    Trophy Points:
    0
  2. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Much appreciated FN.
     
  3. BitterJesus

    BitterJesus Member

    Messages:
    1,936
    Likes Received:
    3
    Trophy Points:
    0
    Hmm, maybe this will inspire me to bring my ideas into maps.
     
  4. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    I.....don't have gameinfo.txt in my half-life 2/bin folder?

    Is it okay to just create a new file?

    EDIT: I have put in the .txt files, Hammer starts and I can put stuff in the map, but I can't compile it - it throws up a "Can't find steam app user info." error immediately.
     
    Last edited: Oct 31, 2013
  5. FN198

    FN198 Member

    Messages:
    2,434
    Likes Received:
    0
    Trophy Points:
    0
    not the gameinfo in your hl2 folder, but the one in the empiresmod folder. do it again. try following the steps in order, and doing exactly what they say to do.
     
  6. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    Crud, confused the names. I did exactly as the guide suggested, step by step. Hammer works but it won't compile the map.
     
  7. FN198

    FN198 Member

    Messages:
    2,434
    Likes Received:
    0
    Trophy Points:
    0
    you need to set up the build programs in hammer's options. what do you have in there right now?
     
  8. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    $SteamUserDir\sourcesdk\bin\source2007\bin\vbsp.exe

    $SteamUserDir\sourcesdk\bin\source2007\bin\vvis.exe

    $SteamUserDir\sourcesdk\bin\source2007\bin\vrad.exe

    Those .exe files are in that folder, yet when I attempt a compile it just throws up the aforementioned error.
     
  9. Metal Smith

    Metal Smith Member

    Messages:
    4,520
    Likes Received:
    3
    Trophy Points:
    0
    Is the compiler crashing after failing to run vbsp.exe?

    or is it just not coming up at all?

    what error is in the compiler console when it fails to run the map?

    have you run source sdk on your machine at all (to the point where you have the source sdk client open and it shows the 'stress test' button and the dynamic background)?

    If you have me on steam you can toss me a message, I'll probably get back to you within a day, otherwise post the error log here. Generally when it fails to run the vbsp, it's because there are some files not quite where they should be either in your actual windows installation directory, which is fixed by running the games once, or in the files themselves, which more detail would be given by the errors in the compile log, or by whether a compile log shows up at all.
     
  10. FN198

    FN198 Member

    Messages:
    2,434
    Likes Received:
    0
    Trophy Points:
    0
    goto build programs in hammer options, and change the bsp, vis and rad to this:

    Code:
    $SteamUserDir\half-life 2\bin\vbsp.exe
    $SteamUserDir\half-life 2\bin\vvis.exe
    $SteamUserDir\half-life 2\bin\vrad.exe
     
  11. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    Works thanks a lot.

    @Metal Smith sorry to not have messaged you but I wasn't at my home PC.
     
  12. madboi9o2

    madboi9o2 Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    What empiresmod folder?!?!?!?!?!? WHERE!!??!?!?!?
     
  13. complete_

    complete_ lamer

    Messages:
    6,438
    Likes Received:
    144
    Trophy Points:
    0
    the instructions are there in fn's original post

    the empires folder in steamapps/common
     
  14. Misfire

    Misfire Always Lost

    Messages:
    311
    Likes Received:
    44
    Trophy Points:
    0
    I decided to try a hand at map making. After following your instructions,I'm close but I can't quite get hammer working 100%.
    If I compile my simple map under HL2, map compiles, game runs, map opens.

    If I compile the same map under Empires, map appears to compile, game attempts to run, the then quickly crashes with the message "Engine Error, Could not load library client"

    Here's the first part of the compile process window.
    Notice message about gameinfo.txt. (Which I cut and pasted in to my file from your message)
    Also the path maps/empires//sandrockblend seems off with that double forward slash.
    The rest of the output looks clear.

    I must be missing something simple, just can't tell where.

    Code:
    ** Executing...
    ** Command: "C:\Program Files\Steam\steamapps\common\half-life 2\bin\vbsp.exe"
    ** Parameters: -game "C:\Program Files\Steam\SteamApps\common\Empires\empires" "C:\Mapz\Empires.vmf"
    
    Valve Software - vbsp.exe (Sep 20 2013)
    2 threads
    materialPath: C:\Program Files\Steam\SteamApps\common\Empires\empires\materials
    Loading C:\Mapz\Empires.vmf
    Could not locate gameinfo.txt for Instance Remapping at gameinfo.txt
    Patching WVT material: maps/empires//sandrockblend_wvt_patch
    fixing up env_cubemap materials on brush sides...
     
  15. Misfire

    Misfire Always Lost

    Messages:
    311
    Likes Received:
    44
    Trophy Points:
    0
    Quick update.... swapping up a couple of textures cured the maps/empires//sandrockblend_wvt_patch message, and all runs fine under HL2. Still left with the gameinfo.txt message and run problem under Empires though.
     
  16. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    Try compiling, starting empires manually and creating a listen server with your map on it. I could never get Hammer to start Empires.
     
  17. LordDz_2

    LordDz_2 Strange things happens here

    Messages:
    2,956
    Likes Received:
    93
    Trophy Points:
    0
    Yeah, have Empires in window mode when working in hammer. Compile, check it in empires, etc.

    Just make sure you disconnect the server before compiling again. and if your map has a lot of entities, then ent_fire is your friend, as long as your entities doesn't have any spaces or big letters in them.
     
    Last edited: Dec 14, 2013
  18. 101010

    101010 Member

    Messages:
    996
    Likes Received:
    2
    Trophy Points:
    0
    You might want to wait till after the port to 2013.
    Save your self from having to fix your map. Think about the last port and how many maps broke. Or just map with the 2013 sdk.
     
  19. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    To late, I only need 2~ entities and displacements to finish.:p
     
  20. Misfire

    Misfire Always Lost

    Messages:
    311
    Likes Received:
    44
    Trophy Points:
    0
    Thanks guys, I'm getting farther along now.
    Seems you also need certain basics included before an Empire map will open though. Basic floors and walls ok for HL2, but I get fail messages now that entity blah or blah missing when trying the same map for Empires.

    Anyone have a list of the minimum items that have to go into an Empires map? I stole a resource file from another map and that helped get my first map open at least.

    2013 upgrade coming eh? It'll take time to work out a decent map design, learn hammer ..... maybe it'll be here by the time I'm useful.
     

Share This Page