Something to do with Areaportals:

Erk

erk
aa
Aug 6, 2016
443
1,106
Hey, so I thought to myself "Why dont I just make harvest medieval?" and so I added the tf_logic_medieval right into the frame. I didn't feel like that was enough to make it medieval however, so replaced the textures of the map and certain props with a more fitting version.


On my first compile I got stuff like this:

mqb9n3J.jpg


and

xRBGYVx.jpg



No leaks, so I figured I'd go ahead and use the "-lights mylights.rad -staticproppolys -textureshadows -staticproplighting" for compiling to see if that's the origin of my problems.

It did not work, so I figured out that my error must have something to do with areaportals, since the bugs do the job of not rendering certain things under certain conditions and they are around the area of the areaportals.

All the hint brushes, areaportals, and occluders are untouched.

I would be grateful for any help

Edit: Heres the compile log in case that helps-

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -lights mylights.rad -staticproppolys -textureshadows -staticproplighting

Valve Software - vbsp.exe (Feb 17 2017)
VBSP: Unknown option "-lights"

Command line: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe" "-lights" "mylights.rad" "-staticproppolys" "-textureshadows" "-staticproplighting"

usage : vbsp [options...] mapfile
example: vbsp -onlyents c:\hl2\hl2\maps\test

Common options (use -v to see all options):

-v (or -verbose): Turn on verbose output (also shows more command
line options).

-onlyents : This option causes vbsp only import the entities from the .vmf
file. -onlyents won't reimport brush models.
-onlyprops : Only update the static props and detail props.
-glview : Writes .gl files in the current directory that can be viewed
with glview.exe. If you use -tmpout, it will write the files
into the \tmp folder.
-nodetail : Get rid of all detail geometry. The geometry left over is
what affects visibility.
-nowater : Get rid of water brushes.
-low : Run as an idle-priority process.
-embed <directory> : Use <directory> as an additional search path for assets
and embed all assets in this directory into the compiled
map

-vproject <directory> : Override the VPROJECT environment variable.
-game <directory> : Same as -vproject.


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\koth_medievalharvest_b1"

Valve Software - vvis.exe (Feb 17 2017)
4 threads
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\koth_medievalharvest_b1.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\koth_medievalharvest_b1.bsp

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -lights mylights.rad -staticproppolys -textureshadows -staticproplighting -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\koth_medievalharvest_b1"

Valve Software - vrad.exe SSE (Feb 17 2017)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
unknown light specifier type - lights

[56 texlights parsed from 'lights.rad']

Warning: Couldn't open texlight file mylights.rad.
Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\koth_medievalharvest_b1.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\koth_medievalharvest_b1.bsp

** Executing...
** Command: Copy File
** Parameters: "c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\koth_medievalharvest_b1.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\koth_medievalharvest_b1.bsp"


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
** Parameters: -dev -console -allowdebug -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" +map "koth_medievalharvest_b1"
 
Last edited:

Blade x64

Logical insanity
aa
Sep 3, 2009
252
639
You added vrad's arguments to vbsp. Most programs will just spit out their help info if they get unexpected arguments.

Also, if that's a decompiled version, most often you'll have to fix up the areaportals since the decomplier can only tell where one face is. Sometimes it makes the brush on the wrong side, resulting in areaportal leaks.
 

Erk

erk
aa
Aug 6, 2016
443
1,106
You added vrad's arguments to vbsp. Most programs will just spit out their help info if they get unexpected arguments.

Also, if that's a decompiled version, most often you'll have to fix up the areaportals since the decomplier can only tell where one face is. Sometimes it makes the brush on the wrong side, resulting in areaportal leaks.

So just remake the areaportals entirely?