object limit ?

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
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

object limit ?

Post by wsa30h »

is there an object limit that limits how many objects you can have ingame or does it depend on your pc
Cattermelon
Private
Posts: 41
Joined: Mon Aug 28, 2017 12:14 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: object limit ?

Post by Cattermelon »

I'm pretty sure the object limit is 1024.
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

Re: object limit ?

Post by wsa30h »

so does this mean that when I get my gaming pc I can have a huge mega city map ? also is there a way to count all the objects currently ingame ?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: object limit ?

Post by Marth8880 »

Cattermelon is correct - see here: http://www.gametoast.com/viewtopic.php?f=27&t=13034
wsa30h wrote:also is there a way to count all the objects currently ingame ?
Not directly, AFAIK.

One thing you can do is press Alt+F in ZE to display various scene stats including the number of objects being rendered on-screen, but this isn't a great way to get the total count since it only counts what's currently visible.

However, you can use Notepad++'s "Find in Files" function to search for all instances of Object(" in all LYR files in your map's world1 directory. For the WLD file, you can open the file and use the "Count" button in the "Find" tab to count the instances of Object(". Finally, add the two numbers together and presto! You've got your object count. It is worth noting that any unused layers in your world will also be counted.

Image

---

Also congrats you've inspired me to make a tool that does all of that for you with the click of a button. Thanks. :u
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

Re: object limit ?

Post by wsa30h »

no probs when you have a tool made please post it here on gametoast and send a link would love to try it> :)
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: object limit ?

Post by Marth8880 »

Certainly. I've started it and you can follow its progress here: https://github.com/marth8880/ZeroWorldStats
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

Re: object limit ?

Post by wsa30h »

I have been looking forward to this fantastic keep up the great work :D
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: object limit ?

Post by Marth8880 »

wsa30h wrote:I have been looking forward to this fantastic keep up the great work :D
Here you go! viewtopic.php?f=64&t=33772
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

Re: object limit ?

Post by wsa30h »

thanks
Post Reply