HL2 EP2 Engine - In game models are errors

I’m trying to make a forest in source sdk using the HL2 EP2 engine. In the Source SDK I can see the models, but when I load them into EP2, the models show up as errors.

If anyone knows why this is happening and how I can fix it, that would be awesome.

Edit:

I really need help, can anyone tell me any ideas?

Next time use this thread: http://www.facepunch.com/threads/1160464

For an answer;



Make sure you compile it under the EP2 engine. Assuming you did, due to seeing these models in Source SDK;

If you're using any custom models/materials, make sure you've placed them into the game's directly.

Re-compile it.

Make sure you're putting the map in the right folder/starting the right game..

Delete the 'C:\Program Files (x86)\Steam\steamapps\-Your_usename-\half-life 2 episode two' folder, start Episode two once. It'll re-generate this folder. Then, replace the map into the folder.



Else, post the compile logs.


P.S: Editing in /anything/ doesn’t bump your thread, make people want to answer you any quicker, or anything else. If anything it looks mingy. I suggest you don’t do it.



** Executing...
** Command: "e:\program files\steam\steamapps\brod8294\sourcesdk\bin\source2009\bin\vbsp.exe"
** Parameters: -game "e:\program files\steam\steamapps\brod8294\half-life 2 episode two\ep2" "E:\Program Files\Steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.vmf"

Valve Software - vbsp.exe (Sep 15 2011)
4 threads
materialPath: e:\program files\steam\steamapps\brod8294\half-life 2 episode two\ep2\materials
Loading E:\Program Files\Steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.vmf
Could not locate 'GameData' key in e:\program files\steam\steamapps\brod8294\half-life 2 episode two\ep2\gameinfo.txt
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing E:\Program Files\Steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_day01_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (2692 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 6 texinfos to 4
Reduced 2 texdatas to 2 (39 bytes to 39)
Writing E:\Program Files\Steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.bsp
0 seconds elapsed

** Executing...
** Command: "e:\program files\steam\steamapps\brod8294\sourcesdk\bin\source2009\bin\vvis.exe"
** Parameters: -game "e:\program files\steam\steamapps\brod8294\half-life 2 episode two\ep2" "E:\Program Files\Steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est"

Valve Software - vvis.exe (Sep 15 2011)
4 threads
reading e:\program files\steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.bsp
reading e:\program files\steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.prt
   7 portalclusters
  13 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: 47
Average clusters visible: 6
Building PAS...
Average clusters audible: 7
visdatasize:74  compressed from 112
writing e:\program files\steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.bsp
0 seconds elapsed

** Executing...
** Command: "e:\program files\steam\steamapps\brod8294\sourcesdk\bin\source2009\bin\vrad.exe"
** Parameters:  -game "e:\program files\steam\steamapps\brod8294\half-life 2 episode two\ep2" "E:\Program Files\Steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est"

Valve Software - vrad.exe SSE (Sep 15 2011)

      Valve Radiosity Simulator     
4 threads
[Reading texlights from 'lights.rad']
[48 texlights parsed from 'lights.rad']

Loading e:\program files\steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.bsp
Setting up ray-trace acceleration structure... Done (0.00 seconds)
22 faces
21479 square feet [3092992.75 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
22 patches before subdivision
1290 patches after subdivision
0 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 (0)
transfers 867, max 164
transfer lists:   0.0 megs
GatherLight:         0...1...2...3...4...5...6...7...8...9...10 (1)
	Bounce #1 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0009 sec>
FinalLightFace:      0...1...2...3...4...5...6...7...8...9...10 (0)
FinalLightFace Done
Computing detail prop lighting : 0...1...2...3...4...5...6...7...8...9...10
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (1)
Writing leaf ambient...done
Ready to Finish

Object names       Objects/Maxobjs  Memory / Maxmem  Fullness 
------------       ---------------  ---------------  -------- 
models                   1/1024           48/49152    ( 0.1%) 
brushes                  7/8192           84/98304    ( 0.1%) 
brushsides              42/65536         336/524288   ( 0.1%) 
planes                  48/65536         960/1310720  ( 0.1%) 
vertexes                43/65536         516/786432   ( 0.1%) 
nodes                   31/65536         992/2097152  ( 0.0%) 
texinfos                 4/12288         288/884736   ( 0.0%) 
texdata                  2/2048           64/65536    ( 0.1%) 
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                   22/65536        1232/3670016  ( 0.0%) 
hdr faces                0/65536           0/3670016  ( 0.0%) 
origfaces               12/65536         672/3670016  ( 0.0%) 
leaves                  33/65536        1056/2097152  ( 0.1%) 
leaffaces               27/65536          54/131072   ( 0.0%) 
leafbrushes             17/65536          34/131072   ( 0.0%) 
areas                    2/256            16/2048     ( 0.8%) 
surfedges              136/512000        544/2048000  ( 0.0%) 
edges                   81/256000        324/1024000  ( 0.0%) 
LDR worldlights          0/8192            0/720896   ( 0.0%) 
HDR worldlights          0/8192            0/720896   ( 0.0%) 
leafwaterdata            0/32768           0/393216   ( 0.0%) 
waterstrips              0/32768           0/327680   ( 0.0%) 
waterverts               0/65536           0/786432   ( 0.0%) 
waterindices             0/65536           0/131072   ( 0.0%) 
cubemapsamples           0/1024            0/16384    ( 0.0%) 
overlays                 0/512             0/180224   ( 0.0%) 
LDR lightdata         [variable]       11376/0        ( 0.0%) 
HDR lightdata         [variable]           0/0        ( 0.0%) 
visdata               [variable]          74/16777216 ( 0.0%) 
entdata               [variable]         327/393216   ( 0.1%) 
LDR ambient table       33/65536         132/262144   ( 0.1%) 
HDR ambient table       33/65536         132/262144   ( 0.1%) 
LDR leaf ambient         7/65536         196/1835008  ( 0.0%) 
HDR leaf ambient        33/65536         924/1835008  ( 0.1%) 
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/192      ( 0.5%) 
dtl prp lght          [variable]           1/4        (25.0%) 
HDR dtl prp lght      [variable]           1/4        (25.0%) 
static props          [variable]           1/12       ( 8.3%) 
pakfile               [variable]      105647/0        ( 0.0%) 
physics               [variable]        2692/4194304  ( 0.1%) 
physics terrain       [variable]           2/1048576  ( 0.0%) 

Level flags = 0

Total triangle count: 44
Writing e:\program files\steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.bsp
2 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "E:\Program Files\Steam\steamapps\brod8292\half-life 2 episode two\ep2\maps	est.bsp" "e:\program files\steam\steamapps\brod8294\half-life 2 episode two\ep2\maps	est.bsp"


** Executing...
** Command: e:\program files\steam\steam.exe
** Parameters: -applaunch 420 -game "e:\program files\steam\steamapps\brod8294\half-life 2 episode two\ep2"  +map "test"


I looked over it, and this stood out:


Could not locate 'GameData' key in e:\program files\steam\steamapps\brod8294\half-life 2 episode two\ep2\gameinfo.txt

I figured that is the reason? How do i fix it?

and strangely… gameinfo.txt is in the spot.

OMFG, models arent even loading in CSS anymore… wtf is going on?

I remember this error from somewhere, when I had it, and I can’t remember how to fix it. My only suggestion for now is replace your gameinfo.txt, with this one;

http://www.mediafire.com/?0ovvwiy9ah9dy67

Just copied and uploaded it. If you don’t trust the file, I can upload it to some type of text uploader so you don’t have to download anything. The issue with those though, is it usually fucks up the formatting. Ie; what can be key with these.

its giving me errors for every engine I try to use…

It used to work just fine with CSS…

That’s… probably your issue then. You need to run the game that you compile it for. To double check, re-add the models you used as props to the game.

Ie; C:SS won’t have Episodes Two forest props, if you even used those. You need to add those models, materials, and whatever else you used to the game you’re playing it in. Games don’t magically get the resources you use in a map, into the actual game.

I know this… i was using different engines…

Its broken for all engines that I use.

That gamedata error is a non issue. It can be ignored.

Then… how can I fix my issue?

Have you tried verifying your cache

I did verify my cache for Hl2 ep2.

Are these custon models, or half life trees?

Does it do it for any other props.

It does it for every single model now.

I think I’m going to try deleting all my content from steam, cause I really want this to work.