Posted: Thu Oct 02, 2008 12:05 am
I had an idea a few years ago for one of the faction in my core:
They would only have 1 "combat" ship. Instead of researching new ships, you could research upgrades.
Like a sup would give it a ripcord, tac would allow it to use a cloak and exp would allow it to use a booster.
So what'd like is a way to make a ship that can be upgraded in many different orders. I know it is an issue that affected many persons who tried to make a core and the final word was almost always: It's impossible. In all the years I've toyed with ICE, I've noticed that the allegiance code is full of bugs when you have a core that exploit them and I managed to create many interesting things that would have seemed impossible. I managed to create a combat drone and then noticed that most though it was impossible. We now know it is, so my point is that there might be a solution to this problem.
So far, there would be 6 different upgrades. To make it more simple, let's give them letters.
Upgrade A, Upgrade B, Upgrade C. Also, the "adv" type would be AA, BB, CC(A is the basic upgrade, AA would mean advanced).
If I didn't do any mistake, there would be 24 different possibilities of ships. I don't think it's possible to do anything without having 24 different ships, so it's fine. However, how can you make sure that only the "best" version that you can use becomes available?
I'll now post what I tried, so you don't have to read if it's too long for you, but if you wanna help, I think it's good to know what others tried.
My 1st real idea was to split the ships into 6 levels( The level was equal to the number of upgrades).
I created a dummie ship for every levels and every ship of said level was supposed to be overwrited by the dummie ship of the same level whenever a ship of a higher level was available.
The dummie ship was overwrited by the scout , so it was never available. TEK said that all possible versions of every ships would be available, but it was wrong... None of them actually was.
It took me a while to figure out why it didn't work, but here's the problem: Allegiance seems to overwrite ships if the "higher level" is available even if the "lower level" isn't available. So the dummie ships(which weren't supposed to be available yet) were automatically upgraded by the scouts. Allegiance somehows recreate the chains and instead of checking if the "lower level" ships can be upgraded into their next ship, it looked if it could be replaced by the scouts(which replaced the dummie ships). The result is that all ships were upgraded into scouts and no ships were available.
Math example for those who understand it better than words(like me):
Let's say there's this upgrade scheme A-----)B------)C
If B isn't available but that C is, B will still be upgraded into C. Then, when the game checks if A can be upgraded into B, since B was replaced by C, it'll check if A can be replaced by C. Since C is available, A will be upgraded into C even if B isn't available.
so I'm gonna play with it a bit more, but I'd like to see if anyone else has decent ideas to be able to only have only 1 ship that is available instead of every possible versions.
So, now, what I'm gonna try now is to create an update chain by levels starting by the same levels.
So it would be something like: A-----)B-----)C------)AB-----)AC-------)BC, etc.
If you get A, you would get ship A. If you then buy C, you'd get AC. Since AC is available, AB would be replaced by AB. Since AB is available, C would be replaced by AB. Since B is available, A would be replaced by B. In the end, I think that A will be replaced by AC. I'll give you the results.
They would only have 1 "combat" ship. Instead of researching new ships, you could research upgrades.
Like a sup would give it a ripcord, tac would allow it to use a cloak and exp would allow it to use a booster.
So what'd like is a way to make a ship that can be upgraded in many different orders. I know it is an issue that affected many persons who tried to make a core and the final word was almost always: It's impossible. In all the years I've toyed with ICE, I've noticed that the allegiance code is full of bugs when you have a core that exploit them and I managed to create many interesting things that would have seemed impossible. I managed to create a combat drone and then noticed that most though it was impossible. We now know it is, so my point is that there might be a solution to this problem.
So far, there would be 6 different upgrades. To make it more simple, let's give them letters.
Upgrade A, Upgrade B, Upgrade C. Also, the "adv" type would be AA, BB, CC(A is the basic upgrade, AA would mean advanced).
If I didn't do any mistake, there would be 24 different possibilities of ships. I don't think it's possible to do anything without having 24 different ships, so it's fine. However, how can you make sure that only the "best" version that you can use becomes available?
I'll now post what I tried, so you don't have to read if it's too long for you, but if you wanna help, I think it's good to know what others tried.
My 1st real idea was to split the ships into 6 levels( The level was equal to the number of upgrades).
I created a dummie ship for every levels and every ship of said level was supposed to be overwrited by the dummie ship of the same level whenever a ship of a higher level was available.
The dummie ship was overwrited by the scout , so it was never available. TEK said that all possible versions of every ships would be available, but it was wrong... None of them actually was.
It took me a while to figure out why it didn't work, but here's the problem: Allegiance seems to overwrite ships if the "higher level" is available even if the "lower level" isn't available. So the dummie ships(which weren't supposed to be available yet) were automatically upgraded by the scouts. Allegiance somehows recreate the chains and instead of checking if the "lower level" ships can be upgraded into their next ship, it looked if it could be replaced by the scouts(which replaced the dummie ships). The result is that all ships were upgraded into scouts and no ships were available.
Math example for those who understand it better than words(like me):
Let's say there's this upgrade scheme A-----)B------)C
If B isn't available but that C is, B will still be upgraded into C. Then, when the game checks if A can be upgraded into B, since B was replaced by C, it'll check if A can be replaced by C. Since C is available, A will be upgraded into C even if B isn't available.
so I'm gonna play with it a bit more, but I'd like to see if anyone else has decent ideas to be able to only have only 1 ship that is available instead of every possible versions.
So, now, what I'm gonna try now is to create an update chain by levels starting by the same levels.
So it would be something like: A-----)B-----)C------)AB-----)AC-------)BC, etc.
If you get A, you would get ship A. If you then buy C, you'd get AC. Since AC is available, AB would be replaced by AB. Since AB is available, C would be replaced by AB. Since B is available, A would be replaced by B. In the end, I think that A will be replaced by AC. I'll give you the results.