Cardia on 26/8/2018 at 17:23
Ever since i´ve built this house i´ve start having problems with cells:
Inline Image:
https://s22.postimg.cc/rjmajaeep/dump104.pngThe beams coming out are objects, the rest is solid brushes, i´ve tried to replace the diagonal beams with objects. i´ve tried using giant walls around the house and the problem with cells still persist. I´ve reduced many faces from nearby cylinders brushes...still the problem remains.What else can be causing this problem with too many cells? I still have several cylinders brushes with 24 sides in other areas, but they are covered behind walls, could this be a problem?
DarkMax on 26/8/2018 at 17:31
Is the error "too many cells on screen" or just "too many cells"? Is the map too detailed/large on terrain brushes? If the case is the latter, then it means you've reached the cells limit. Maybe you can share a screen of the error message or the monolog.
skacky on 26/8/2018 at 17:57
If you're having the red "too many cells" error and have gone beyond the hard-limit of 32760 cells, then here are a few factors for that:
- Overhanging/protruding solids consume quite a bit of cells if you use a lot of them (e.g. roofs, doorframes, wooden beams, protruding trimming); the more complex the brush, the more cells it'll consume
- Complex air brushes such as cylinders and pyramids (the more faces, the more cells they'll consume)
- Overabundance of air brushes (e.g. stacked air brushes for trimming)
- Dead space between solids (e.g. under the playable area), any space that isn't filled with solid consumes cells
- Floating solid brushes (every solid brush should touch the ground if possible).
Here are some little techniques to help you reduce cells:
- Create arches using solid wedges instead of air cylinders,
- Create vaulted ceilings using solid corner-apex pyramids instead of air cylinders
- Create carpet using solid brushes instead of air brushes
- If you want to have decoration on walls, floors or ceilings, it's usually a much better practice to make them flush with a face. A solid brush that is inside another brush and doesn't protrude does not consume any cell.
- Use solid brushes for trims.
Try to find stuff like in the first list in your mission and change it so they don't consume as many cells. This can be a pretty tedious and slow process.
Cardia on 26/8/2018 at 18:07
Thank you Max and Skacky , yes the error is displayed in red :
Inline Image:
https://s22.postimg.cc/hnpsxc0kh/Sem_T_tulo.jpgthis is the number of cells my mission has, and i don't know what's the max we can have:
Inline Image:
https://s22.postimg.cc/ei576nkdt/Sem1.jpgI´ve still half map to build, but i guess i´ll have to split the map into two missions, I´ll follow your suggestions Skacky , i didn't some of thos things could consume cells, however i try to keep things well detailed.
skacky on 26/8/2018 at 18:09
Monolog displays quite a few different numbers for cells but the real one is the one right under the csgmerge operation, which I think cannot launch if you go beyond the limit.
Inline Image:
https://i.imgur.com/atdFuCL.pngThis number here in red cannot go over 32760.
DarkMax on 26/8/2018 at 18:12
Yeah that's exactly the mission having too many terrain brushes, especially air. You can try filling empty spaces between solid brushes that the player will not reach, or being careful with stairs. Funny rotations also consume a hell lot of cells as well, but if you're not even halfway done with the mission then splitting it into two is your best bet.
DrK on 26/8/2018 at 18:12
This shows the raw cell count, which you can disregard. You have to look for the line "File has XXX cells" right after the csgmerge.
It looks like this in the monolog window:
--------------- csgmerge ---------------
Epsilon is 1.e-004
File has 2298 cells.
Allocations: 2299
Min: -365.73822 12.895203 -57.
Max: -265.73822 92.895203 7.
...
This shows the right amount of cells there is in the mission, or the aera brush you have activated at the moment of optimization.
Ninja'd by skacky :p
Cardia on 26/8/2018 at 18:50
Ahhh, it's under the optimizing option i can see that report:
Inline Image:
https://s22.postimg.cc/g68xz2xxt/optmi.jpg1 cell to reach the maximum, i have alot of work to do, i have many stairs with air brushes below, as well as cylinders with many faces, so much ting to change, i´ll have to make the other half of this french city in a second mission.
Thank you again so much for your help Skaky , Max and Drk...i´ll name you all in the credits list.
DrK on 26/8/2018 at 19:06
Good luck, there's a lot of work ahead of you.
The cells limit is the number 1 priority with newdark now. Always keep an eye on them, and try to use as many solid brushes as possible instead of air brushes.
Cardia on 26/8/2018 at 19:19
Quote Posted by DrK
Good luck, there's a lot of work ahead of you.
The cells limit is the number 1 priority with newdark now. Always keep an eye on them, and try to use as many solid brushes as possible instead of air brushes.
Yes, i´ll make sure to have as less cells as possible from now on...Merci encore une fois!