Switching ships

Post ideas & suggestions you have pertaining to the game here.
Post Reply
bluesaberist
Commonwealth Pilot
Commonwealth Pilot
Posts: 97
Joined: Wed Jan 16, 2008 2:13 am
Location: Pennsylvania

I came up with a new method for switching ships that could make it plausible much sooner. You know how the capacity, device slots, etc. are all defined by constants? Instead of using constants, use some kind of function that decides what values should go there. This could also be made to work for the ship image.
This could also be used in a much simpler way that would make your ship upgradeable. All you would have to do is make another variable called ship_level, that would define the upgrade level of the ship. For every value of ship_level, there would be different values for capacity, device slots, etc.
This seems a lot easier than completely changing ships.
If you drop a bar of soap on the ground, is it dirty?
If a person is legally blind, and can suddenly see, is he breaking the law?
If a friend says he's going outside to get some air, what was he breathing before?
-Brad Stein
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

well the only difference between that and really changing ships is just the graphics and I don't see that as the stumbling block.
Crying is not a proper retort!
bluesaberist
Commonwealth Pilot
Commonwealth Pilot
Posts: 97
Joined: Wed Jan 16, 2008 2:13 am
Location: Pennsylvania

The difference is that you are not switching .xml files. It has been awhile since I tried it, but it seems to me that you can change the constant values in the .xml files without messing up the game's save files.
If you drop a bar of soap on the ground, is it dirty?
If a person is legally blind, and can suddenly see, is he breaking the law?
If a friend says he's going outside to get some air, what was he breathing before?
-Brad Stein
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

What would that accomplish?

It won't put a function in a static data holder.

You can't change the graphic of the ship that way, except from outside the game perhaps- which doesn't bode well for switching ships: "You have bought a new ship! Please exit the game and change the <Image> bitmap for your ship changes to take effect. Have a nice day."
bluesaberist
Commonwealth Pilot
Commonwealth Pilot
Posts: 97
Joined: Wed Jan 16, 2008 2:13 am
Location: Pennsylvania

Ok, so maybe it wont work. That is a pretty funny idea you came up with. Maybe that's what we could do when we want to change ships. Just exit the game and change them. :wink:
If you drop a bar of soap on the ground, is it dirty?
If a person is legally blind, and can suddenly see, is he breaking the law?
If a friend says he's going outside to get some air, what was he breathing before?
-Brad Stein
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Don't mind me, I have spent the better part of 6 months trying to find sneaky ways to affect deep changes to the playership object and tend to vent my frustration whenever people bring it up. :P
Post Reply