Compile
#17437 posted by mjb on 2016/11/07 02:37:49
#17438 posted by naitelveni on 2016/11/07 12:34:43
"qbsp.exe" is not recognized as an internal or external command, operable program or batch file
#17439 posted by anonymous user on 2016/11/07 12:49:16
#17440 posted by anonymous user on 2016/11/07 12:58:45
i have qbsp,light and vis in my id1/map/bin folder now what?
#17441 posted by khreathor on 2016/11/07 13:45:40
1) Click on the plus to add proper actions;
2) Select qbsp, vis, light - like on the attached image;
3) Fill "Parameters" you want to execute - maybe first just copy what you can see on the screenshot...
4) Run compilation;
5) Let me know if compilation has succeeded, so we can move further;
Image for above instructions
#17442 posted by anonymous user on 2016/11/07 17:41:59
Nada, nothing happens
#17443 posted by muk on 2016/11/07 17:43:35
itd be REALLY helpful for you to include a screenshot of what you typed into the compiler in Trenchbroom and we can likely explain why it didnt work.
#17444 posted by anonymous user on 2016/11/07 17:44:38
#17445 posted by anonymous user on 2016/11/07 17:46:17
waht went wrong?
#17446 posted by Rick on 2016/11/07 18:11:50
That's Windows 10?
If you shift+right click in an empty spot in the maps folder does it list an option to "Open command window here" ? If so, do it and type in the command manually.
qbsp.exe mapname.map
Make sure both the map file and qbsp.exe are in that folder.
#17447 posted by anonymous user on 2016/11/07 18:19:48
Rick! You are the man! I got my map to work!
#17448 posted by anonymous user on 2016/11/07 18:24:22
Also Mukor, khreator,ericw every one here! much love and thank you for your patience! now i can finally start working on my first project!
There Are Spaces In The Paths
#17449 posted by SleepwalkR on 2016/11/07 18:33:58
It's possible that TB cannot handle those properly. If that turns out to be the problem, please create a bug report.
#17450 posted by anonymous user on 2016/11/07 18:56:19
hey, i could run the qbsp.exe via command line but it doesn not incule the vis or light. Trenchbroom compiling still diesnt work. it just doesnt do anything.
#17451 posted by anonymous user on 2016/11/07 19:01:34
http://i.imgur.com/F6uZiZN.png
Here is a screenshot from my compiler and the paths where my qbsp vis and light are also the map im working on. i can run the qbsp via commandline but ofcourse it will not include any lights that i have added to my map.
Yeah
#17452 posted by SleepwalkR on 2016/11/07 19:05:09
As I said, it's likely due to the spaces in the paths.
Treat It Like 3 Compilers
#17453 posted by Qmaster on 2016/11/07 19:07:12
First run qbsp to compile the geometry and collisions.
Second run vis to compile the visibility calculations so the engine doesn't have to draw the whole map at once all the time.
Third run light to compile the lighting.
#17454 posted by Rick on 2016/11/07 19:44:00
Make a batch file in the maps folder and run it the same way as I explained for qbsp.exe
qbsp.exe mapname.map
light.exe mapname.bsp
vis.exe mapname.bsp
Right click in maps folder and choose new text document. Call it makebsp (or something). Copy and paste or type in those 3 lines above but change mapname to your map's name.
Save the file then change the extension from .txt to .bat, there will probably be a warning about changing it, but just okay it.
Use shift+right click to open the command window and type makebsp and hit enter.
#17455 posted by anonymous user on 2016/11/07 20:15:05
http://i.imgur.com/DlOQflZ.png
i created a textfile and wrote all that in it. then ran the command window with makebsp. opened the map in quake and it did not draw the light i had put in the map.
Quick Question
#17456 posted by Cocerello on 2016/11/07 20:21:49
I remember that there is a way to turn every wall into white, maybe a cvar, but i cannot get to remember how, any idea?
#17457 posted by muk on 2016/11/07 20:45:49
It didnt draw lighting because you have a leak in your map.
#17458 posted by naitelveni on 2016/11/07 20:50:45
Ahh, I built my map so that brushes dont overlap each other, should they overlap to prevent leaking?
#17459 posted by muk on 2016/11/07 21:03:34
You should be able to do "File>Load Point File" in trenchbroom and head to the folder youre building your map in and find the .pts file with the same name as your map.
This creates a line on your map that will snake around the map and eventually point to your leak. You might have more than one leak, so you may have to load the point file after each compile until its solved.
#17460 posted by anonymous user on 2016/11/07 21:07:51
my trenchbroom only created a .map of my file and i dont have a .pts file anywhere. I ran the makebsp command line and it did not allow the usage of light and vis.
#17461 posted by naitelveni on 2016/11/07 21:11:14
|