Batch Compiler Problem

ToridasToridas Join Date: 2004-07-20 Member: 30002Members
edited July 2004 in Mapping Forum
Every time it compiles the map, it sticks the .bsp in the valve hamer editor\tools directory instead of half-life\nsp\maps. To play the map I have to copy it to the other directory manually every time I recompile. Under setup -> paths I have the file destination path set to ...\half-life\nsp\maps, and in the batch tab, I have the "Copy .BSP After Compile" checked. So what's going on?

I also have a problem with VHE. I can't rotate brushes with the mouse anymore for some reason, I have to hit ctrl+m and type in an angle. I used to just click in the center of a selected brush and the little handles would turn from squares to circles, and I could rotate. Ever since I got back into mapping (yesterday) I can click all day in the center of a brush and nothing happens!

Comments

  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    edited July 2004
    This belongs in the mapping help and troubleshooting forum (look at the top <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->)

    Now, check the .bat generated by batch compiler (right click -> edit) and check the last line (or one of the last ones)... it should tell you why it's not "working"
  • EnceladusEnceladus Join Date: 2004-01-18 Member: 25442Members
    and for the rotating.. I guess it's a bug of the hammer, since I have the same problem. but you get used to it after a while <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
  • Jean_Luc_PicardJean_Luc_Picard Join Date: 2003-02-03 Member: 13051Members
    I can rotate just fine... I don't tho. Makes some... funky... things happen 0o'

    as for BC... did you set it all up right? It should copy it to the maps folder of your mod... aka NS 0o'
  • Meat_PopsicleMeat_Popsicle Join Date: 2003-08-09 Member: 19254Members, Constellation
    restarting hammer usually fixes the rotating bug for me
  • ToridasToridas Join Date: 2004-07-20 Member: 30002Members
    there's a couple lines near the bottom of compile.bat that says

    copy "C:\Program Files\Valve Hammer Editor\maps\blah.bsp" "C:\Program Files\Steam\SteamApps\my email\half-life\nsp\maps"
    echo blah.bsp copied to C:\Program Files\Steam\SteamApps\my email\half-life\nsp\maps

    but the file is never actually copied
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    This may sound stupid but... have you tried closing steam?

    That rotating bug happened to me with the Steam Beta (not the one we have to use now...), when I opened it, it wouldn't change... maybe it's another program messing around... if it's not Steam, well, it may be any other app...
  • ToridasToridas Join Date: 2004-07-20 Member: 30002Members
    No it wasn't steam, but because of your post I experimented with closing other programs I usually have running in the task bar and it worked, a little program I have that counts keys typed and mouse clicks was somehow keeping the rotate thing from working. One problem down, one to go!
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    When the compile finishes, don't close the window and check if there were errors in the process... (I think BC added "pause" at the end of the .bat file, right?)

    It's strange, because I don't see why it wouldn't work. The maps work when you test them, right? :\
  • ToridasToridas Join Date: 2004-07-20 Member: 30002Members
    Ok I figured out the map copy thing. When it said press any key to continue I thought it was windows saying that like it does when any console program ends (which always just closes the window anyway) so instead of pressing a key I used the mouse to close the window. But apparently the message is part of the compiler, and it only copies the map to the destination directory after I press a key. THEN the real windows "press any key" comes up.
  • Jean_Luc_PicardJean_Luc_Picard Join Date: 2003-02-03 Member: 13051Members
    edited July 2004
    rofl, doh! I did that too before... and as it got posted unto me, herin I post onto you!

    BTW- I'm not making fun of you <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> I just find it somewhat a relief that I'm not the only one that ever made that mistake <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
Sign In or Register to comment.