Author Topic: How do you make the ships table infinite?  (Read 3528 times)

0 Members and 1 Guest are viewing this topic.

How do you make the ships table infinite?
How do you make the ships table infinite?

  

Offline Shade

  • 211
Re: How do you make the ships table infinite?
That requires code changes, not something that can be done through modding. You do have two options, though:

1) Use an Inferno build, which have a higher limit than regular fs_open builds.
2) Use ship templates, as those can cover several ships in a single table entry.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: How do you make the ships table infinite?
There is always some limit for amount of material that can be loaded into the game.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Re: How do you make the ships table infinite?
Oh, ok.

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
Re: How do you make the ships table infinite?
Having unlimited anything in a game might cause serious memory issues when running it.

Its like opening a container, and never closing it. People keep putting more and more things in it and eventually it overflows.
Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: How do you make the ships table infinite?
2) Use ship templates, as those can cover several ships in a single table entry.

That won't work, since every ship defined, even ones that use a template, take up room in the ship classes array, which has a capacity of 130.

For those who don't understand the tech speak, that means that ship templates won't allow you to have any more ships.

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
Re: How do you make the ships table infinite?
Simplified version:

The array is like a box. With 130 spaces. Even when you use a ship template, each ship in the template, will also take up space in the box. So unless you use an Inferno build, or modify your own code, eventually it will be full.

What happense if you exceed the limit tho? Do the overflowed ships just not appear?
Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: How do you make the ships table infinite?
The array is like a box. With 130 spaces. Even when you use a ship template, each ship in the template, will also take up space in the box. So unless you use an Inferno build, or modify your own code, eventually it will be full.

Pretty close, but ship templates do not take up space in the ship classes array.  The ships that use the templates, however, do.  Ship templates have their own array, which is dynamic, meaning that you can have as many ship templates as you want.  You are probably asking: why not do this for ships as well?  The answer is that a lot of things, including pilot files and multi, rely on their being a limited number of ships.

What happense if you exceed the limit tho? Do the overflowed ships just not appear?

Yes.  You can't have more objects in an array than there are spaces available.

 

Offline Excalibur

  • 28
  • Forsee a new beginning.
Re: How do you make the ships table infinite?
You need more than 130 ships?
His legacy will last until the beginning.

 
Re: How do you make the ships table infinite?
Wait for 3.10? release.

You need more than 130 ships?

I know with Saga + mine > 130.  I have to disable one before I get a new one to become visible.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Stormkeeper

  • Interviewer Extraordinaire
  • 211
  • Boomz!
Re: How do you make the ships table infinite?
How many ships are there in the first place? 60 odd ?
Ancient-Shivan War|Interview Board

Member of the Scooby Doo Fanclub. And we're not talking a cartoon dog here people!!

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: How do you make the ships table infinite?
107

 
Re: How do you make the ships table infinite?
is the wep table infinite?

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: How do you make the ships table infinite?
No, but there are fewer weapons by default, so there's more room.
(´・ω・`)
=============================================================

 

Offline Hellstryker

  • waffles
  • 210
    • Skype
Re: How do you make the ships table infinite?
How many weapons -does- it hold exactly..

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: How do you make the ships table infinite?
Forgot. Someone mentioned it at one point...when I was complaining about ship limits.
(´・ω・`)
=============================================================

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: How do you make the ships table infinite?
Brief checks for some of the asked limits from the code....

Max number of ship table entries: 130 (multi) / 130 (standard) / 250 (inferno)
Max number of weapon table entries: 200 (standard) / 300 (inferno)
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: How do you make the ships table infinite?
IMO Inferno builds should be renamed, as it stands most newbs are confused with the Inferno mod, Inferno R1, Inferno SCP, Inferno Alliance, Inferno builds, etc. etc.

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: How do you make the ships table infinite?
Scoob, if you mean 3.6.10, it won't be there.  But it won't be as far off as 3.10 either, it should be part of the changes planned for 3.7 I believe.  That's still a ways off though.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: How do you make the ships table infinite?
Scoob, if you mean 3.6.10, it won't be there.  But it won't be as far off as 3.10 either, it should be part of the changes planned for 3.7 I believe.  That's still a ways off though.

My bad, I meant 3.7. 
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"