Map keeps running an older version of itself

H

habitue

Guest
I'm working on a little map, and I've run into a terrible problem. Every time I click "Run Map" it builds itself, but it's building an older version of my map. Basically, I can edit or change my map in hammer, add things, take them out, change the properties etc., but no matter what I do, absolutely nothing changes when the map compiles. I keep playing a very very early version of my map(edit: I just confirmed this is in fact the first build of my map). I've tried deleting the bsp file in the map folder, and it doesn't solve the problem, it just builds a "new" old one. I'm at my wits end here, as I don't want to start all over, but I can't seem to find any information on this type of problem anywhere. Please tell me I'm overlooking something really obvious.

Here is the log from the most recent (fruitless) build:

** Executing...
** Command: "m:\program files\valve\steam\steamapps\regicidephil\sourcesdk\bin\vbsp.exe"
** Parameters: -game "m:\program files\valve\steam\steamapps\regicidephil\half-life 2\hl2" "m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a" -dev -console

Valve Software - vbsp.exe (Jan 19 2005)
Command line: "m:\program files\valve\steam\steamapps\regicidephil\sourcesdk\bin\vbsp.exe" "-game" "m:\program files\valve\steam\steamapps\regicidephil\half-life 2\hl2" "m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a" "-dev" "-console"

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.
-nolinuxdata: By default, it writes physics data for linux servers.
This parameter disables writing linux physics data
into the map.

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


** Executing...
** Command: "m:\program files\valve\steam\steamapps\regicidephil\sourcesdk\bin\vvis.exe"
** Parameters: -game "m:\program files\valve\steam\steamapps\regicidephil\half-life 2\hl2" "m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a"

Valve Software - vvis.exe (Dec 15 2004)
1 threads
reading m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a.bsp
reading m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a.prt
4 portalclusters
3 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (0)
PortalFlow: 0...1...2...3...4...5...6...7...8...9...10 (0)
Optimized: 0 visible clusters (0.00%)
Total clusters visible: 16
Average clusters visible: 4
Building PAS...
Average clusters audible: 4
visdatasize:44 compressed from 64
writing m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a.bsp
0 seconds elapsed

** Executing...
** Command: "m:\program files\valve\steam\steamapps\regicidephil\sourcesdk\bin\vrad.exe"
** Parameters: -game "m:\program files\valve\steam\steamapps\regicidephil\half-life 2\hl2" "m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a"

Valve Software - vrad.exe (Mar 8 2005)
----- Radiosity Simulator ----
1 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']

Loading m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a.bsp
23 faces
1821 square feet [262314.66 square inches]
0 displacements
0 square feet [0.00 square inches]
23 patches before subdivision
173 patches after subdivision
1 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (0)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (1)
transfers 4527, max 65
transfer lists: 0.0 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0003 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (0)
FinalLightFace Done
Ready to Finish
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ComputePerLeafAmbientLighting: 0...1...2...3...4...5...6...7...8...9...10

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 1/1024 48/49152 ( 0.1%)
brushes 13/8192 156/98304 ( 0.2%)
brushsides 78/65536 624/524288 ( 0.1%)
planes 54/65536 1080/1310720 ( 0.1%)
vertexes 39/65536 468/786432 ( 0.1%)
nodes 22/65536 704/2097152 ( 0.0%)
texinfos 35/12288 2520/884736 ( 0.3%)
texdata 5/2048 160/65536 ( 0.2%)
dispinfos 0/0 0/0 ( 0.0%)
disp_verts 0/0 0/0 ( 0.0%)
disp_tris 0/0 0/0 ( 0.0%)
disp_lmsamples 0/0 0/0 ( 0.0%)
faces 23/65536 1288/3670016 ( 0.0%)
origfaces 19/65536 1064/3670016 ( 0.0%)
leaves 24/65536 1344/3670016 ( 0.0%)
leaffaces 24/65536 48/131072 ( 0.0%)
leafbrushes 17/65536 34/131072 ( 0.0%)
surfedges 182/512000 728/2048000 ( 0.0%)
edges 111/256000 444/1024000 ( 0.0%)
worldlights 1/8192 88/720896 ( 0.0%)
waterstrips 1/32768 10/327680 ( 0.0%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 12/65536 24/131072 ( 0.0%)
cubemapsamples 0/1024 0/16384 ( 0.0%)
overlays 0/512 0/180224 ( 0.0%)
lightdata [variable] 23272/0 ( 0.0%)
visdata [variable] 44/16777216 ( 0.0%)
entdata [variable] 1042/393216 ( 0.3%)
occluders 0/0 0/0 ( 0.0%)
occluder polygons 0/0 0/0 ( 0.0%)
occluder vert ind 0/0 0/0 ( 0.0%)
detail props [variable] 1/12 ( 8.3%)
static props [variable] 1/204 ( 0.5%)
pakfile [variable] 9906/0 ( 0.0%)

Win32 Specific Data:
physics [variable] 4758/4194304 ( 0.1%)
==== Total Win32 BSP file data space used: 49856 bytes ====

Linux Specific Data:
physicssurface [variable] 4758/6291456 ( 0.1%)
==== Total Linux BSP file data space used: 49856 bytes ====

Total triangle count: 60
Writing m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a.bsp
1 second elapsed

** Executing...
** Command: Copy File
** Parameters: "m:\my projects\hl2 maps\mappisions\code_red_campaign_level_a.bsp" "m:\program files\valve\steam\steamapps\regicidephil\half-life 2\hl2\maps\code_red_campaign_level_a.bsp"


** Executing...
** Command: "m:\program files\valve\steam\steamapps\regicidephil\half-life 2\hl2.exe"
** Parameters: -applaunch 220 +map "code_red_campaign_level_a" -dev -console
 
Save it as another map and run it.

Or create a new map, copy your old map into it, and run it.
 
I believe that the part by "usage : vbsp [options...] mapfile"... means that vbsp is not being run. I would guess this is due to an incorrect command line option. I don't know what, unless it's the "-dev" "-console" part. These are after the map name, I could guess that's why it doesn't work. I don't know what put them there or how to get rid of that, though.


[Edit]
Ok. I'm might know y. I'm guessing you are trying a custom command line in the 'Expert' build options.
For the config of the bsp exectutable, you may mhave parameters like this:
-game $gamedir $path\$file -dev -console
they need to be like this:
-dev -console -game $gamedir $path\$file

The file being sent to the executable is conventionally the last command line argument. That should get it running, if those two arguments are valid switches.
[/Edit]

[Edit2]
On second look, those don't appear to be valid switches at all. So, wither you meant to use them somewhere else, or you didn't have anything to do with it.
Just in case it's the latter, and not knowing you're experience, I'll tell you how to turn them off.
First click "Run Map", then click 'expert' in the bottem left.
Select the first item in the left box, it should be $bsp_exe
Once it's selected, delete anything in the parameters box on the right, and put in -game $gamedir $path\$file
That should be default.
[/Edit2]
 
Thank you

Thank you so much. Deleting -dev -console was my problem. I must have typed it into the wrong place. Hooray hackers!
:cheers:
 
Back
Top