Compiling Won't Finish

Compiling Won't Finish

Re: Compiling Won't Finish Posted by Ragnarocker on Sun Mar 20th 2005 at 9:54pm
Ragnarocker
42 posts
Posted 2005-03-20 9:54pm
42 posts 4 snarkmarks Registered: Jan 24th 2005 Occupation: student Location: USA
Hey guys long time no see. Well I started work on a new cs map,
it's kind of like cbble with the whole old castle kind of theme.
Well anyway to make a long story short I'm not close to being finished
but I'm trying to test my map to see how things run so far but I
can't. Whenver I try to compile, Hammer freezes up once it gets
to the line Portal...1...2....3... and so on. Any help would be
awesome, sorry if I missed a similar post.
Re: Compiling Won't Finish Posted by CLs on Sun Mar 20th 2005 at 11:14pm
CLs
66 posts
Posted 2005-03-20 11:14pm
CLs
member
66 posts 7 snarkmarks Registered: Mar 17th 2005 Occupation: Student Location: Canada
Did you run it on "full" or "fast" vis, as sometimes depending on your map (size,detail,etc) a Full Vis run can take hours....try a fast Vis if you didn`t already.

CLs
Re: Compiling Won't Finish Posted by Ragnarocker on Sun Mar 20th 2005 at 11:34pm
Ragnarocker
42 posts
Posted 2005-03-20 11:34pm
42 posts 4 snarkmarks Registered: Jan 24th 2005 Occupation: student Location: USA
Thanks! It compiled fully now. I imagine though there's some downside to doing a fast compile instead of full?

Edit: Well it compiled but now I have a new problem. I can't run this map. The console displays this code:

Begin loading faces (loads materials)

End loading faces (loads materials)

Host_EndGame: Map coordinate extents are too large!!

Check for errors!

what should I do?
Re: Compiling Won't Finish Posted by CLs on Sun Mar 20th 2005 at 11:41pm
CLs
66 posts
Posted 2005-03-20 11:41pm
CLs
member
66 posts 7 snarkmarks Registered: Mar 17th 2005 Occupation: Student Location: Canada
Only use fast compile for testing purposes as it will greatly reduce the preformence of your map....but at least you don`t have to wait hours just to see how it looks....when you are ready to release the map, run "full vis" to get the best frame-rates out of ur map..

-edit- As for ur other problem...I can`t help you there.... :confused:

CLs
Re: Compiling Won't Finish Posted by French Toast on Sun Mar 20th 2005 at 11:55pm
French Toast
3043 posts
Posted 2005-03-20 11:55pm
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
Try checking for errors :biggrin: ALT+P in the editor. If that doesn't work, go through your compile log and fix everything and recompile.
Re: Compiling Won't Finish Posted by Ragnarocker on Mon Mar 21st 2005 at 12:52am
Ragnarocker
42 posts
Posted 2005-03-21 12:52am
42 posts 4 snarkmarks Registered: Jan 24th 2005 Occupation: student Location: USA
Well I tried looking for problems, only thing that came up was "No
Player Start" which all cs maps have. And in any case I'm
positive I have a T Spawn.

I'm looking through the code the word Error doesn't appear at all but
these lines raise my eyebrow. If any of these look like they are
problems I'd appreciate the assistance.

"no visible sides on brush" I get that for 12 diff brushes

This also doesn't look great, and reappears:

"This means that none of the brushes in leaf 0 or 1 that
touches the portal has CONTENTS_SOLID <o:p></o:p>

Check for a huge brush enclosing the coordinates above that
has contents CONTENTS_SOLID "

<o:p>Looks like I've got 3 microbrushes.

</o:p>

<o:p>I'm sorry but I can't remember the command to
bring up the box where you type in a brush number and it will locate it
on the map. If somebody could guide me in the right direction
there hopefully I can figure out what's wrong with these brushes.

</o:p>

<o:p></o:p>

<o:p></o:p>
Re: Compiling Won't Finish Posted by HeeroYuy on Mon Mar 21st 2005 at 1:12am
HeeroYuy
22 posts
Posted 2005-03-21 1:12am
HeeroYuy
member
22 posts 12 snarkmarks Registered: Feb 16th 2005 Occupation: Software Developer
Basicly, the CONTENTS_SOLID thing means you've got leaks in your map. Go to the Map menu, and select "load pointfile" Leaks would explain why you've got long vis compile times because it has to render everything up to the cordon texture which is way too much. When you load the pointfile, you'll see a read line in the 2d and 3d views. This line is what you use to trace the leaks. Whatever you do, DO NOT seal the map with a big box covered in the nodraw texture. This will give you really long vis compile times. A good CS map should be able to compile within 15 minutes. Mine usually take about 5-10 minutes. Also, once you get a good build, use "+showbudget" and "developer 2" do debug and optimize your map once you get a good compile. Also, please note that the compile times mensioned here were achieved using all the "normal" settings in the compile window. No fast compiles.
Re: Compiling Won't Finish Posted by Ragnarocker on Mon Mar 21st 2005 at 1:38am
Ragnarocker
42 posts
Posted 2005-03-21 1:38am
42 posts 4 snarkmarks Registered: Jan 24th 2005 Occupation: student Location: USA
I don't know how I can have leaks because my entire map is enclosed in
a hollowed out box. Basically I'm making a mostly outdoors map
ala dust and such so instead of doing the sky box and all I just put a
giants block around the whole map and hollowed it. And the box
isnt a giant No Draw. However I put No Draws on the outside where
you wouldn't see it, will this still cause trouble?
Re: Compiling Won't Finish Posted by HeeroYuy on Mon Mar 21st 2005 at 2:06am
HeeroYuy
22 posts
Posted 2005-03-21 2:06am
HeeroYuy
member
22 posts 12 snarkmarks Registered: Feb 16th 2005 Occupation: Software Developer
Yeah, that's a problem. What you want to do is use the skybox. Build the walls using the skybox texture. You'll build the background using the 3d skybox. The contents_solid issue you raised definately meands you've got leaks. I don't know how or where, but that's what the pointfile is useful for. It will show you exactly where the problem is. I'm guessing your outdoor map uses displacment maps. If this is true, make sure you've got your nodraw brushes right behind all of the displacment maps. Displacment maps do not seal the map.

As for your giant box with backgrounds, yeah, get rid of it. You can do the same thing in a 3d skybox with much more efficiency. See the 3d skybox documentation in the sdk for more info on that. You want to avoid the hollow tool as much as you can. It's better to build boxes from brushes as this makes the brushwork more efficient when the map is compiled.

Like I said though, no doubt about it that you've got leaks if you're getting compile errors along the lines of CONTENTS_SOLID.

To go to a brush number, go to the view menu, and select "go to brush number"
Re: Compiling Won't Finish Posted by French Toast on Mon Mar 21st 2005 at 2:35am
French Toast
3043 posts
Posted 2005-03-21 2:35am
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
No. You're all wrong. I've had this problem too. Fix your microbrushes and you will have no errors. The problem is not leaks. Fix the microbrushes with CTRL+SHIFT+G I think and copy and paste the coordinates. Delete the brush. Bwammo you're done.
Re: Compiling Won't Finish Posted by Ragnarocker on Mon Mar 21st 2005 at 3:46am
Ragnarocker
42 posts
Posted 2005-03-21 3:46am
42 posts 4 snarkmarks Registered: Jan 24th 2005 Occupation: student Location: USA
Alright thanks guys I'll try it out as soon as I get home tomorrow.
Re: Compiling Won't Finish Posted by ishbog on Thu Apr 7th 2005 at 6:15am
ishbog
86 posts
Posted 2005-04-07 6:15am
ishbog
member
86 posts 19 snarkmarks Registered: Dec 7th 2004 Occupation: web designer/game developer Location: usa
aye, portalflow. too much detail stuff, put nodraw on everything you can. optimize your map. portalflow is calculating what stuff looks like from different angles, so put nodraw on anything you cant see. be very scrutinus. also, enclosing your map in a box is VERY VERY VERY bad. you should be slapped. not really, everybody learns, i guess. this will give you crap frames, and make the engine render stuff UNDER your level you never see.

if you have a leak, it generally skips portalflow. just load to pointfile to see that.
Re: Compiling Won't Finish Posted by omegaslayer on Fri Apr 8th 2005 at 2:37am
omegaslayer
2481 posts
Posted 2005-04-08 2:37am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Might want to start a new topic for your new problem, as people might
who know the answer wont look to solve a topic that was already
answered...If you can understand that :razz: . Anyways back to the original
question: How much RAM do you have, if you dont have atleast 512mb,
then im just going to say that mapping isnt meant for your computer.
Re: Compiling Won't Finish Posted by satchmo on Fri Apr 8th 2005 at 2:49am
satchmo
2077 posts
Posted 2005-04-08 2:49am
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
I was mapping with 256 MB of RAM, and it worked fine.