I'm curious what the maximum number of objects in a map is. After searching the site I found lots of references to the object limit but no mention of what that limit actually is. I mainly ask because I need to use a pretty decent amount of yav trees in a map, which also happens to be 256x256... so it's a lot of trees plus the addon leaves. Having placed about a third of what I need, the map is crashing either on spawn or seconds later with no severity 3 errors.
Additionally, does foliage count towards the object limit? I assume not, since that would drastically decrease the possible number of other props and such, but on the other hand foliage is a mesh too.
As far as the crashing is concerned, I'm using the stock sides. Only changes thus far are to the map, so my best guess is I've maxed out the objects.
Thanks for any help GT
Object Limit [Solved]
Moderator: Moderators
- Oceans14
- Command Sergeant Major

- Posts: 296
- Joined: Mon Apr 27, 2015 7:09 pm
- Projects :: Athenova Campaign
- Location: Planet 4546b
Object Limit [Solved]
Last edited by Oceans14 on Sat Mar 19, 2016 9:15 pm, edited 1 time in total.
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Object Limit
I think there is no real Object limit like the limit of avaiable CP's. Maybe it all matters how much needs to be rendered. I am not sure about that. You can fill your entire terrain with foliage, but the visibility range of each foliage group must be minimized down. Same for Objects. I often hit a limit of possible maximum objects, but on some maps I reached this limit earlier. Then sometimes I never hit a limit. I think adjusting the Far and Near Scene Range and other LOD settings and you should be able to have as many objects as possible. Or not. I never tried it.
I know trees are similair to foliages due to their 2D textures. Lowering the visibily range should fix the problem.
I know trees are similair to foliages due to their 2D textures. Lowering the visibily range should fix the problem.
- Oceans14
- Command Sergeant Major

- Posts: 296
- Joined: Mon Apr 27, 2015 7:09 pm
- Projects :: Athenova Campaign
- Location: Planet 4546b
Re: Object Limit
Ah okay. So to be clear, I would open the sky file and change the far scene range here from 5000 to, say, 2500 and then continue decreasing as needed?thelegend wrote:I think adjusting the Far and Near Scene Range and other LOD settings and you should be able to have as many objects as possible... Lowering the visibily range should fix the problem.
Code: Select all
NearSceneRange(30.0, 160.0, 40.0, 200.0);
FarSceneRange(5000.0, 5000.0);
FarSceneRange(5000.0);
FogRange(-100.0, 600.0);Edit:
Yeah, it's definitely the trees. I really don't have that many though:
Hidden/Spoiler:
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Object Limit
Also the nearscenerange is very important. I remember there are still some myths about the first numbers. I played around with it and came up with the following: The second and fourth = minimum and maximum Terrain View. Example: There is a transition if you have a discance of 100 at least between both (200-300).
The First one probably defines the Soldier Visibility Level. If you have high poly characters only then lowering this number should be helpful. Object distance is probably the third one. But I am not sure.
The First one probably defines the Soldier Visibility Level. If you have high poly characters only then lowering this number should be helpful. Object distance is probably the third one. But I am not sure.
- Oceans14
- Command Sergeant Major

- Posts: 296
- Joined: Mon Apr 27, 2015 7:09 pm
- Projects :: Athenova Campaign
- Location: Planet 4546b
Re: Object Limit
I stand corrected. After removing all the trees, the game still crashed, so I cleared the map of foliage and then added the trees back. Game runs fine now. I guess I'll just have to drop the foliage render distance wayyyy down (it was already at 35).
Edit: I've found that adding any foliage crashes the map, so I'm just abstaining for now. I need to inspect the prp file more carefully at some point. As for the object limit, that has been answered. Thanks thelegend!
Interesting. I'm definitely going to tweak these, as well as continue to adjust the near/far range in the sky file.Also the nearscenerange is very important. I remember there are still some myths about the first numbers. I played around with it and came up with the following: The second and fourth = minimum and maximum Terrain View. Example: There is a transition if you have a discance of 100 at least between both (200-300).
The First one probably defines the Soldier Visibility Level. If you have high poly characters only then lowering this number should be helpful. Object distance is probably the third one. But I am not sure.
Edit: I've found that adding any foliage crashes the map, so I'm just abstaining for now. I need to inspect the prp file more carefully at some point. As for the object limit, that has been answered. Thanks thelegend!
