Compiling takes too long

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Compiling takes too long

Post by Krane »

I realize that the more brushes I'm putting on my map, the bigger is the time to compile. The problem is I've just made a grandstaircase (27 steps, 27 square brushes). Now my compiling time jumps from 15 min (strange I only have 1 house...) to an hour (after the staircase).

So, is that normal? There's nothing there but 1 house.
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

Have you made the staircase "detail" (right click with the brushes selected and select detail) ??
Admin
Image

.map Forums

Truth and Honor.
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post by Krane »

No. I just putted the brushes.
MIG
Private
Posts: 9
Joined: Thu Jun 05, 2003 2:27 pm

Post by MIG »

Have you put a sky around your creation? And completely around it?

Then u should make a tiny gap in your sky brush. So the compiler sees this a little different then and will compile it much more quickly.
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post by Krane »

Sorry MIG, I didn't get the point...Yes, I have a sealed box (one is the ground and the five others are the sky), so I have to "unseal" it? Will the compiler say "leaked"? Is this ok?

Thanks for your reply!
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

it won't leak.
Live to map, not map to live.
-mohaa_rox, .map
moderator
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post by Krane »

Cool, guys... It worked! My map compiles now in...15 sec. hahahaha... Much better than 2 h. Thanks to this thiny little gap. I see the lights are a little different but who cares, I just wanna test the dam map more often.

Txs, guys.
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

This might help you understand! a bit!

VIS for dummies
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

No TheStorm... that one will actually make you understand A LOT!

Its great!
Admin .MAP Forums
Image
Head above heels.
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

mohaa_rox wrote:it won't leak.
:shock: :shock:
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Wacko wrote:
mohaa_rox wrote:it won't leak.
:shock: :shock:
??? did i say something wrong....again? maybe i didn't read the post carefully. :roll: :oops:
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
Jack Ruby
General
Posts: 1443
Joined: Fri Feb 07, 2003 12:20 am
Location: london

Post by Jack Ruby »

I thought the sky box had to be sealed.

Whats the deal with making it open a little ? It wont leak ????
Please explain this technique .
Philip II of Macedon sent a message to Sparta:
"If I win this war, you will be slaves forever."
The Spartan ephors sent back a one word reply: "If".
User avatar
Zip
Major
Posts: 323
Joined: Wed Apr 09, 2003 6:47 pm
Location: Belgium

Post by Zip »

I think if you have a leak in your map it reduces the compile time (it misses out the .prt file) You can then re-seal it at the end for your final compile. That's what he meant i think
Zip :?
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Zip wrote:I think if you have a leak in your map it reduces the compile time (it misses out the .prt file) You can then re-seal it at the end for your final compile. That's what he meant i think
Not really shure how you ment this, but this is what happens if you "open the skybox":

The VIS compile process is destroyed completely and can not be done: so the VIS stage takes virtually no time at all ( compared to a proper VIS compile ).
Because of this, all VIS optimizations are gone, and the map will have bad FPS...

So why would I do it?

Because when mapping you often want to just see "how it looks with that thing moved to there"... and if you dont give a rats ass about preformance: you sacrifice it to the God of fast compiles.

Because of this it is NOT a solution for released compiles and for complies made to test map performance.
Admin .MAP Forums
Image
Head above heels.
User avatar
Zip
Major
Posts: 323
Joined: Wed Apr 09, 2003 6:47 pm
Location: Belgium

Post by Zip »

Yep, that's what I meant :)

That is how I check my progress of a map. Actually I don't even use any sky, just compile it as it is (all void out there!).
Zip :?
Post Reply