For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
BSP secret revealed
- Leo T_C_K
- OldUnreal Member
- Posts: 3854
- Joined: Sat Aug 27, 2005 6:24 pm
BSP secret revealed
Apparently I found out that different Unreal or UT versions of UnrealED have different results in rebuiling, I found most acurrate and about no bsp bugs when map is rebuilt by the editor found in 220, but fixed version of that.
I found that out while messing with the UPSX maps and spent endless times trying to rebuild it and optimize the map without any holes.
Could someone port this better BSP builder over to 227?
I found that out while messing with the UPSX maps and spent endless times trying to rebuild it and optimize the map without any holes.
Could someone port this better BSP builder over to 227?
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
Although it would be VERY interesting to see why there are differences at all and what differences there are, there is no way to do so. The 220 code is not available.
Also UED is just some gui, a frontend if you wish, it does itself nothing regarding bsp building. The interesting stuff would be in Editor.dll.
Many things rely on maths functions which we tried to clean up and enhance as much as possible. If we would know (feasible) ways to improve it more we would have done already.
Also creavion reported me better results in building with current 227g. Did you compare against it too?
Also UED is just some gui, a frontend if you wish, it does itself nothing regarding bsp building. The interesting stuff would be in Editor.dll.
Many things rely on maths functions which we tried to clean up and enhance as much as possible. If we would know (feasible) ways to improve it more we would have done already.
Also creavion reported me better results in building with current 227g. Did you compare against it too?
Sometimes you have to lose a fight to win the war.
- Leo T_C_K
- OldUnreal Member
- Posts: 3854
- Joined: Sat Aug 27, 2005 6:24 pm
Re: BSP secret revealed
Yes I compared it against 227, but still 220 got best results.
Try download this:
http://www.unrealtexture.com/Hosted/Leo ... nother.rar
Try download this:
http://www.unrealtexture.com/Hosted/Leo ... nother.rar
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
what map did you use to compare? Can you send me a sample also with a hint to critical places ? Maybe this gives me a chance to try a bit with it. I'm no mapper you know, so this is always not easy for me to reproduce.
The 220 directory will be of little use unfortunately. I have v220 installed also but as said, without the sourcecode there is nothing I can read out or compare.
The 220 directory will be of little use unfortunately. I have v220 installed also but as said, without the sourcecode there is nothing I can read out or compare.
Sometimes you have to lose a fight to win the war.
- []KAOS[]Casey
- OldUnreal Member
- Posts: 4497
- Joined: Sun Aug 07, 2011 4:22 am
- Location: over there
Re: BSP secret revealed
were the ifdef LEGEND checks introduced in 224? I know they're in the headers in a lot of places, maybe in bsp building too?
- GreatEmerald
- OldUnreal Member
- Posts: 5347
- Joined: Mon May 21, 2007 2:30 pm
Re: BSP secret revealed
Maybe you could get something from the engine.dll function exports? It's something similar to headings I believe.
It's good for statistics, anyway. The 227 Engine.dll has 2664 function exports, compared to 2091 from 226b, that says something, nice work
It's good for statistics, anyway. The 227 Engine.dll has 2664 function exports, compared to 2091 from 226b, that says something, nice work
- Leo T_C_K
- OldUnreal Member
- Posts: 3854
- Joined: Sat Aug 27, 2005 6:24 pm
Re: BSP secret revealed
The system folder is a bit different, the one I provided, it doesn't have unrealshare and unreali though (which were bit altered for unreal psx too, but not much), but as for maps to try it with.
Download this one, try E1L1A, rebuilding it for example with setting at 4, if you rebuild it with later ued you can see holes in some places etc, but with this it looks perfect..
http://www.unrealtexture.com/Hosted/Leo_T_C_K/maps.rar
Download this one, try E1L1A, rebuilding it for example with setting at 4, if you rebuild it with later ued you can see holes in some places etc, but with this it looks perfect..
http://www.unrealtexture.com/Hosted/Leo_T_C_K/maps.rar
- Leo T_C_K
- OldUnreal Member
- Posts: 3854
- Joined: Sat Aug 27, 2005 6:24 pm
Re: BSP secret revealed
Interesting is that when you export the map the brush order gets messed up and all kind of holes appear, bah I hate Unreal BSP really.
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
found that in render, not sure if really related, but maybe it helps:
// Force View Zone
//
// Render the poly regardless of its zone mapping.
//
// During the zone mapping process, polys will sometimes be flagged as part of
// Zone 0, causing them to be invisible when the player is within the level.
//
// Level designers can detect this class of hole by moving "into geometry"
// (i.e., outside the level) while viewing the level from an editor window
// set to "Zone/Portal View." If the hole is replaced by a polygon colored
// unlike the rest of the polygons in the zone (usually dark gray), the "hole"
// can usually be patched by setting the PF_ForceViewZone flag.
//
// The patch can immediately be verified by moving inside the level.
// Force View Zone
//
// Render the poly regardless of its zone mapping.
//
// During the zone mapping process, polys will sometimes be flagged as part of
// Zone 0, causing them to be invisible when the player is within the level.
//
// Level designers can detect this class of hole by moving "into geometry"
// (i.e., outside the level) while viewing the level from an editor window
// set to "Zone/Portal View." If the hole is replaced by a polygon colored
// unlike the rest of the polygons in the zone (usually dark gray), the "hole"
// can usually be patched by setting the PF_ForceViewZone flag.
//
// The patch can immediately be verified by moving inside the level.
Last edited by Smirftsch on Sun May 16, 2010 7:06 am, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
- GreatEmerald
- OldUnreal Member
- Posts: 5347
- Joined: Mon May 21, 2007 2:30 pm
Re: BSP secret revealed
That's interesting, but where is PF_ForceViewZone? In ZoneInfo? In surface properties? In brush properties?
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
its a flag for Actors (such as in Actor.uc) and not really used so far (yet) in uscript. But this method could be used maybe to see if its a related problem.
Sometimes you have to lose a fight to win the war.
- Hellkeeper
- Global Moderator
- Posts: 3270
- Joined: Wed May 21, 2008 8:24 pm
- Location: France
- Contact:
Re: BSP secret revealed
In the surface properties, it's a flag.That's interesting, but where is PF_ForceViewZone? In ZoneInfo? In surface properties? In brush properties?
You must construct additional pylons.
- GreatEmerald
- OldUnreal Member
- Posts: 5347
- Joined: Mon May 21, 2007 2:30 pm
Re: BSP secret revealed
Thought so... But it was used in the Wheel of Time, and ported over to Unreal that flag just makes surfaces unlit.
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
regarding the notes above it does more than just making something "unlit"
Sometimes you have to lose a fight to win the war.
- GreatEmerald
- OldUnreal Member
- Posts: 5347
- Joined: Mon May 21, 2007 2:30 pm
Re: BSP secret revealed
I was referring to the UT UnrealEd, though. Not tested on Unreal.
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
Leo, did you cross test this result with any new map to confirm, based on 224+ and the original PC maps? Not that this result is just better on older and/or PSX maps and doesn't apply to newer builds.
Sometimes you have to lose a fight to win the war.
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
another possibility:
//PortalBias -- added by Legend on 4/12/2000
//
// PortalBias enables level designers to control the effect of Portals on the BSP.
// This effect can range from 0.0 (ignore portals), to 1.0 (portals cut everything).
//
// In builds prior to this (since the 221 build dating back to 1/31/1999) the bias
// has been 1.0 causing the portals to cut the BSP in ways that will potentially
// degrade level performance, and increase the BSP complexity.
//
// By setting the bias to a value between 0.3 and 0.7 the positive effects of
// the portals are preserved without giving them unreasonable priority in the BSP.
//
// Portals should be weighted high enough in the BSP to separate major parts of the
// level from each other (pushing entire rooms down the branches of the BSP), but
// should not be so high that portals cut through adjacent geometry in a way that
// increases complexity of the room being (typically, accidentally) cut.
//
//PortalBias -- added by Legend on 4/12/2000
//
// PortalBias enables level designers to control the effect of Portals on the BSP.
// This effect can range from 0.0 (ignore portals), to 1.0 (portals cut everything).
//
// In builds prior to this (since the 221 build dating back to 1/31/1999) the bias
// has been 1.0 causing the portals to cut the BSP in ways that will potentially
// degrade level performance, and increase the BSP complexity.
//
// By setting the bias to a value between 0.3 and 0.7 the positive effects of
// the portals are preserved without giving them unreasonable priority in the BSP.
//
// Portals should be weighted high enough in the BSP to separate major parts of the
// level from each other (pushing entire rooms down the branches of the BSP), but
// should not be so high that portals cut through adjacent geometry in a way that
// increases complexity of the room being (typically, accidentally) cut.
//
Last edited by Smirftsch on Sun May 16, 2010 5:15 pm, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
- Leo T_C_K
- OldUnreal Member
- Posts: 3854
- Joined: Sat Aug 27, 2005 6:24 pm
Re: BSP secret revealed
What result do you mean?Leo, did you cross test this result with any new map to confirm, based on 224+ and the original PC maps? Not that this result is just better on older and/or PSX maps and doesn't apply to newer builds.
Last edited by Leo T_C_K on Sun May 16, 2010 5:27 pm, edited 1 time in total.
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
tried E1L1A with current 227g and in all map I found only 1 bsp error at the top of one waterfall. Doesn't seem to be so bad to me....
I meant better BSP building with 220 compared to newer versions.
I meant better BSP building with 220 compared to newer versions.
Last edited by Smirftsch on Sun May 16, 2010 5:26 pm, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
- Leo T_C_K
- OldUnreal Member
- Posts: 3854
- Joined: Sat Aug 27, 2005 6:24 pm
Re: BSP secret revealed
Yes but with 220 the bsp hole in top of waterfall isn't present (plus it doesn't do only that, but also the water is not present sometimes etc due to zone leak), but I didn't really try any other maps than this. When I did MH/coop version of E2L7, then I had better result with 227f btw, but I didn't try it with 220, I am just comparing 225 with 227 on that one.
But I rebuilt it in 220 and moved the waterfalls a bit, it made few temporary bsp holes (due to me moving the waterfalls a bit, it shows how crap Unreal BSP really is) which are visible from certain angles only or flicker and stuff at the first waterfall area when going towards the place with fly and stuff, but I don't care about it, since it is visible only when you go through certain angle and it more like flickers.
But I rebuilt it in 220 and moved the waterfalls a bit, it made few temporary bsp holes (due to me moving the waterfalls a bit, it shows how crap Unreal BSP really is) which are visible from certain angles only or flicker and stuff at the first waterfall area when going towards the place with fly and stuff, but I don't care about it, since it is visible only when you go through certain angle and it more like flickers.
Last edited by Leo T_C_K on Sun May 16, 2010 5:35 pm, edited 1 time in total.
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
after setting Ignore Portals to 100 (equal to pre 221 according to the comments above) even that bsp hole was gone.
Sometimes you have to lose a fight to win the war.
- Leo T_C_K
- OldUnreal Member
- Posts: 3854
- Joined: Sat Aug 27, 2005 6:24 pm
Re: BSP secret revealed
That hole is gone but there are holes under the waterfall instead, I tried, but latest ver I have is 227g_28, so it still is not perfect and worse than 220.after setting Ignore Portals to 100 (equal to pre 221 according to the comments above) even that bsp hole was gone.
Last edited by Leo T_C_K on Sun May 16, 2010 5:40 pm, edited 1 time in total.
- Smirftsch
- Administrator
- Posts: 9001
- Joined: Wed Apr 29, 1998 10:00 pm
- Location: NaPali
- Contact:
Re: BSP secret revealed
worse...I'd say different, the question is- where is the difference.
I don't have the 220 code, so I can't easily compare, but I very much assume its only a very small change (which maybe even can affected due to some option).
A lot of testing through all settings is required here.
Edit: after setting optimization to "Lame" I wasn't able to find any BSP holes at all anymore. Maybe optimization failing?
Edit2: It seems this option is very misleading. "Optimal" optimizes for number of polygons not for best quality.
Indeed "Lame" produced in my test about the double amount of polys, but no bsp holes anymore. Could be the difference in 220.
Edit3: after comparing Polycount I'd assume it equals "good" in ued2, to much for "optimal", but to low for "lame"
I don't have the 220 code, so I can't easily compare, but I very much assume its only a very small change (which maybe even can affected due to some option).
A lot of testing through all settings is required here.
Edit: after setting optimization to "Lame" I wasn't able to find any BSP holes at all anymore. Maybe optimization failing?
Edit2: It seems this option is very misleading. "Optimal" optimizes for number of polygons not for best quality.
Indeed "Lame" produced in my test about the double amount of polys, but no bsp holes anymore. Could be the difference in 220.
Edit3: after comparing Polycount I'd assume it equals "good" in ued2, to much for "optimal", but to low for "lame"
Last edited by Smirftsch on Sun May 16, 2010 6:46 pm, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
- Leo T_C_K
- OldUnreal Member
- Posts: 3854
- Joined: Sat Aug 27, 2005 6:24 pm
Re: BSP secret revealed
I haven't tried the lame or good, but thx.
- GreatEmerald
- OldUnreal Member
- Posts: 5347
- Joined: Mon May 21, 2007 2:30 pm
Re: BSP secret revealed
That's interesting, I'd assume lame causes only a loss in framerate, but doesn't make the map file itself bigger? If so, these days the lame optimisation would actually be the best one...
And what about the last slider, balance tree vs minimise cuts?
And what about the last slider, balance tree vs minimise cuts?


