Alternate compilation for .BSP

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,300
974
Is there any way to compile a .bsp file capable of being run by Team Fortress 2 without having to wait the many hours a final map can take? Just want to know because of a massive project I have in mind
 

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
I'm not sure I understand what you are asking here, the compile time depends on how optimized your map is and if it's an expert compile or normal.
If you just want a fast compile to test out something that doesn't need visibility and lighting just set VVIS and VRAD to fast.
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,300
974
I'm not sure I understand what you are asking here, the compile time depends on how optimized your map is and if it's an expert compile or normal.
If you just want a fast compile to test out something that doesn't need visibility and lighting just set VVIS and VRAD to fast.
This is something...Different. It involves more than just a regular map, and for my project to work, it would require something several times larger than an average map.
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
How are you expecting a computer to be able tp perform more calculations is the same amount of time?
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,300
974
How are you expecting a computer to be able tp perform more calculations is the same amount of time?
not sure if I phrased it correctly to how I meant
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
If you have a much bigger map, you can't just do some magic to still compile it in the time a normal map would compile (aside any factors of complexity).
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,300
974
If you have a much bigger map, you can't just do some magic to still compile it in the time a normal map would compile (aside any factors of complexity).
how far can hints, func_details, area portals and those kind of things go?
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
These are mostly meant for optimising in-game experience. If the compile time is all you care for, you can go pretty far by eliminating vis nigh entirely, aka not having any world brushes, but you can't really trick VRad.
Now, if you want a sane in-game experience... if your map is an order of magnitute bigger than a regular one, there's not much help for you - see the point I've previously made.
 
Mar 23, 2013
1,013
347
without having to wait the many hours a final map can take

If your compile takes an hour, you are doing it wrong. optimze your map. Func_detail is there to make visleafs structure easier to read and reduce the amount of leafs you have to compile. Area_portals don't speed up compile time.
If vrad is supposed to run faster, best you can do is nodraw everything that shouldn't be drawn. Also nodraw faces of entities like func_door which are always covered, because even if they are always covered, they get lightmap informations anyway.
Increasing the lightmap scale on certain faces speeds things up too because vrad is compiling the lightmaps after all. Also mind that faces that are only partly covered by func_detail/entities aren't culled and reciee lightmap data on the entire face.
Noclip around your map and see if you don't have microgaps or just large faces inside your world that can't be seen by players and therefore shouldn't have a texture with lightmaps.