Page 1 of 2

Warning! Can't find xxx.prt!

Posted: Sat Nov 16, 2002 7:13 am
by mohaa_rox
When I compile, the MBuilder will say "Warning! Can't locate xxx.prt!" How do I solve the problem? I've tried the 3 steps of compiling, you know the bsp, then vis, then light. But I still can't get the prt!

Posted: Sat Nov 16, 2002 7:20 am
by mohaa_rox
I've tried the 3 bsp steps, but they said, "bad command or file name"

Posted: Sat Nov 16, 2002 8:18 am
by jv_map
Probably the paths you've set in MBuilder are incorrect.

Posted: Sat Nov 16, 2002 8:19 am
by Guest
Then what are the paths I'm supposed to set?

Posted: Sat Nov 16, 2002 8:22 am
by mohaa_rox
Sorry, the post above was mine. Forgot to login. Too excited to reply. :oops:

Posted: Sat Nov 16, 2002 9:03 am
by jv_map

Posted: Sun Nov 17, 2002 10:03 pm
by Mirek
Hey Mohaa_rox,

Do you by any chance also get this error in the compile window, somewhere near the start?

entity reached from outside -- no filling
**********************
******* leaked *******
**********************

I say this because if a map does not have a completelly closed sky box - that is top, all sides and bottom touching together, basically inclosing your map in a box, you will get the above error and no .prt file will be created.
Thus Mbuilder will say that .prt is missing.

This may seem like an error but I belive not. I never build a complete sky box - just top and sides. Infact if you look at the original MOHAA maps, inside pak5.pak3 - you will find that none of them have a .prt file with them. And if you do some spactating around the maps, there are no bottoms.

Not having a complete skybox or .prt file reduces compiling time quiet considerably.


Cheers,
Mirek

Don't have leaks in your map!

Posted: Mon Nov 18, 2002 3:57 pm
by jv_map
Don't ever make a map that's leaky!!!!!!!
(sorry for '!'s, it's just overly important ;) )

You need a complete skybox if you want q3map to run a visibility compile. Thus, when you have a leaky map, all faces in the map will be drawn from any location, so you'll get a horrible framerate. Moreover, MOHLight can't do a radiosity compile when no VIS data is present.

Original MOHAA maps don't seem to have a .prt file, but that's because it's only used by the q3map compiler. Then it's saved to the bsp.

When spectating there appear to be no bottoms, but that's because a spectator is non-solid and can go through any brush.

Ofcourse compiling a leaked map is much faster, that's because the entire VIS stage is skipped, but the time winning when compiling is entirely converted into a loss of fps when playing the map.

Posted: Mon Nov 18, 2002 9:40 pm
by Mirek
Really?? Well that makes my previous post a pile of garbage and bad advice then :lol:

I felt justified in my theory after decompiling all the original maps using scorpios Mohaa Tools and found no floors on the maps, but then again they could have used caulk which the tools don't seem to decompile.

So how do they save the .prt in the BSP?

I will do more research on this one with my final map version.

At the very least what I sugest is a good way to quick compile your test maps to check your achitecture. :) My 15 meg map compiles in 5 minutes with fast vis turned on.

Thanks JV_Map

Mirek

Posted: Tue Nov 19, 2002 8:15 am
by jv_map
The .prt file is automatically saved to the bsp by the q3map compiler. Or, more correctly, the .prt file is extracted from the bsp to make the VIS compile easier. After you compiled the map, you don't need the .prt and .vis files anymore.

And by the way, my map compiles a complete vis in less than five minutes even though it has a lot of hint brushes. :P

Posted: Tue Nov 19, 2002 4:13 pm
by Surgeon
No one likes a showoff :P

Posted: Fri Dec 06, 2002 10:00 am
by mohaa_rox
What do you mean by a complete sky box? Is it that the top sky must be touching the sides, making it a box?

Posted: Fri Dec 06, 2002 10:10 am
by Surgeon
yup

Posted: Fri Dec 06, 2002 12:06 pm
by mohaa_rox
However, when I compile, everything is fine. 1 file was copied, but when I play, the map was the same old one which I edited a lot of features. Besides, I've made the sky box.

Posted: Sat Dec 07, 2002 5:15 am
by mohaa_rox
Never mind anyway. Can someone help me see what the problem is? Please give me your email (promise won't flood) and I'll send my map to you. It's kind of stupid. My first dm map, and I'm a rookie. Please don't laugh at me. :wink: I'm only 13!!!!