Object Limit.... (very simple)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

Object Limit.... (very simple)

Post by Hebes24 »

2 part question:

1.) I've Heard that there is a limit on How many objects there can be in a map. What is it?

2.) I've also heard that if you keep adding new layers, you can have however many objects in as you want, is this true?
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

RE: Object Limit.... (very simple)

Post by PvtParts »

There is a limit. I have hit it. And you get some random error that you'd otherwise never expect.

But I had a lot, and I mean a lot, of objects in my map. You shouldn't need to worry about this. Realistically theres no reason you need that many objects, and if you have a map big enough for them, its too big. I can say this with confidence from prior experience.

I dont know about the new layers thing, but what I said above stands. You should, however, make a point of putting all design related things in either your base of a new 'design' layer, and put your cp's and other gamemode related things in the pertaining layer.

It makes it much less confusing when your trying to move things/fix bugs etc.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Object Limit.... (very simple)

Post by Teancum »

To answer number two --

The only way that number two would work that way is if you had some layers on and some layers off. Basically you'd still have that same limit, but if you were only loading 1-2 layers at a time (per mode) you can put x amount on each layer, vs on everything.
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

RE: Object Limit.... (very simple)

Post by Hebes24 »

Interesting. The reason why I asked is that I have a yavin map, and I need alot of trees (big forest).

also, there are some things that I would like to know about in the ***.sky file:

NearSceneRange(XXX.000000, XXX.000000, XXX.000000, XXX.000000) - How does that work? FarSceneRage(XX.0, XX.0) - same as NearSceneRange

FogRange(-XX.0, XX.0) - what do those 2 values do?

note: (X = random number)
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by squipple »

Yes, friends, there is an object limit. I have found it in Eddie's Italia. The limit is 1041 objects. At 1042, it freezes the map before it loads completely. Italia convieniently had 1043 objects in it when I received it. So, there may be a few less boxes or something somewhere in order to accomodate BF2's limit :?
Post Reply