Author Topic: AI ship type sharing  (Read 1129 times)

Offline Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
AI ship type sharing
« on: December 16, 2010, 05:42:35 pm »
If a given AI type has a unique starting unlock, do both AI's get that ship or only the one with the AI type in question? I ask because I have a one way door master in my current game that also seems to have a pile of experimental ships of his color.

For example, if the orange AI is an experimentalist, does the red AI also get speed boosters and such?
« Last Edit: December 16, 2010, 05:53:50 pm by Vinraith »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: AI ship type sharing
« Reply #1 on: December 16, 2010, 08:25:41 pm »
No, they are definitely per-AI in terms of the unlocks.  The experimental stuff isn't unlocked in the normal way, though, because it's not a bonus ship class.  I just looked through the code, and I don't see an immediate way that the situation you describe could result.  So most likely they are not being directly seeded there, though I could be wrong.

More likely it's... something else.  Regenerator trains, possibly... or maybe something to do with barracks or similar.  Or maybe some sort of odd bug that I just am not able to see.  If you wouldn't mind logging the save with the issue into mantis, I can take a look and see if I can figure out what it is; having looked in the obvious places so far in the code, I'm not sure what it could be.  But, unless something is more broken than I realize, I think it's likely to be limited to just experimentalist ships as the issue, rather than just general unlocks, since as I noted those are two really different types of code branch -- which would make it a less critical issue, though still one to chase down.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Vinraith

  • Hero Member Mark II
  • *****
  • Posts: 806
Re: AI ship type sharing
« Reply #2 on: December 16, 2010, 09:49:13 pm »
It's been this way since the start of the game, which removes a number of possibilities. Here's the Mantis ticket, for your perusal, with a save:

http://www.arcengames.com/mantisbt/view.php?id=2066

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: AI ship type sharing
« Reply #3 on: December 17, 2010, 11:02:38 am »
Hmm, that is an interesting point -- I was looking in the reinforcement code, but perhaps the problem is in the initial-seed code and what you're seeing is just remnants from that.  Thanks for the mantis issue, I'll see what I can find out!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!