UFO:Alien Invasion
Development => Mapping => Topic started by: ShipIt on January 31, 2012, 03:35:55 pm
-
After spending countless hours I still was not able to solve this problem. I am somewhat lost now and have to ask for help.
Problem is, brushes that are pretty simple in radiant, get stretched in game. This most happens in poolhouse (bars build in corners and windows, but also on some of the coast tiles. As poolhouse.map is where I started at it may contain bad brushwork and worse, wich may be a reason for this. I had similar problems in this map in early stages, wich I solved by simply 'trial and error'. Removing a model once and a small brush the other time solved those problems. But now the map is much bigger. For that reason my example is mansion_coast_south_d.map.
From the start. I used ufo2map -check and -fix to prove the map is clean. It also compiles without problems.
This is how it looks in radiant:
(http://www10.pic-upload.de/31.01.12/khuo9pi1s6ls.png) (http://www.pic-upload.de/view-12810174/ufo12.png.html)
Now the problem ingame. It shows the brush stretched to the left.
(http://www10.pic-upload.de/31.01.12/7vh667sgrpex.png) (http://www.pic-upload.de/view-12810243/ufo13.png.html)
By removing the wall below this brush I can show how it 'should' look like. This also works if I remove all levelflags from the brush.
(http://www10.pic-upload.de/31.01.12/fx78xseadsfo.png) (http://www.pic-upload.de/view-12810311/ufo14.png.html)
I build a new wall below - brush becomes stretched
I rebuild the brush up from scratch - stretched
I remove the cliff to the left - brush becomes stretched to the right
I replace the cliff on the right by a simple brush (build up from scratch of course) - still stretched
I remove everything in the map, leaving only 3 brushes (also info_human_start and _alien_start is needed to load the map) in the entity list, each one build up from scratch :
(http://www10.pic-upload.de/31.01.12/3lj44jvgvc5.png) (http://www.pic-upload.de/view-12810327/ufo17.png.html)
still stretched.
-
1. Try giving the brush the Detail content flag. If I understood Sandro correctly, it will put the brush in a separate BSP tree and not cut it long the same edges. Maybe.
2. You may already know this, but check the image.
-
I have bad news 4 you:
http://sourceforge.net/tracker/index.php?func=detail&aid=3311452&group_id=157793&atid=805242
-
^ if you are right I will be away for some time.
At least until I can get a new keyboard.
-
this happens often if you did carving/cutting (the csg tools) that wasn't grid aligned.
-
this happens often if you did carving/cutting (the csg tools) that wasn't grid aligned.
That might be the reason why it happens on that early tile mostly.
-
if you see this happen, just remove the brush and remodel it with grid aligning activated. if you use the cutting tool, make sure that your cutting points are on the brush edge. otherwise you will generate not grid aligned brushes.
Attached a small image to represent what i'm talking about.
-
if you see this happen, just remove the brush and remodel it with grid aligning activated
Replacing the brush by a new one of the same sizes will not do the job. None of the "stretched" brushes i encountered on my map was out of grid. They were all well alligned (see example map).
In order to solve this, the size of the brush needs to be changed in some way. Often 0.125 pts. is enough.