11-13-2011, 08:44 AM | #41 | |
GURPS FAQ Keeper
Join Date: Mar 2006
Location: Kyïv, Ukraine
|
Re: Spaceships: Chance of a space combat aid. But is there a need? 2D or 3D?
Quote:
I'm intending to implement systems as some sort of list of either classes or structs. Though I'm not quite sure how to best implement system positioning - two options are through their positioning in the list, or through a property/variable within the system class/struct itself. The main reason why it matters at all is that it is possible to have more than the standard 6+6+6+2 system groups (i.e. in case of larger/smaller systems). Last edited by vicky_molokh; 11-13-2011 at 10:14 AM. |
|
11-14-2011, 10:28 AM | #42 |
GURPS FAQ Keeper
Join Date: Mar 2006
Location: Kyïv, Ukraine
|
Re: Spaceships: Chance of a space combat aid. But is there a need? 2D or 3D?
Done alpha-testing of the save/load functions for fleets. Well, it mostly works with minor bugs, and doesn't have a UI subsection yet. I guess you can expect an ability to save a battle in progress (or a premade) in a few days (depending on free time and inspiration).
At this point, I'm getting a bit worried about planning the class structure of ship data. Specifically, whether to make much of a plan ahead in order to offer non-clumsy Rogue Trader support in addition to GURPS Spaceships support. Or any other game, for that matter. [edit] Okay, seems like I cleared out the bugs of the load/save functionality, but it turns out (and I only noticed a minute ago) that the formation builder is screwed up in any orientation other than zero. So it'll go for a rewrite eventually. PC version with F2 to save and F3 to load; file is saved to the Data directory. [/edit] Last edited by vicky_molokh; 11-14-2011 at 11:51 AM. |
11-16-2011, 12:55 PM | #43 |
GURPS FAQ Keeper
Join Date: Mar 2006
Location: Kyïv, Ukraine
|
Re: Spaceships: Chance of a space combat aid. But is there a need? 2D or 3D?
I'm currently fiddling with the data hierarchy. That is, the convenient way to record all the many variables (and lists...) describing a ship in terms of a game system. Yes, a game system - I'm planning at least rudimentary support for Rogue Trader and SJG Ogre too.
Currently, I'm thinking something along these lines (instead of lumping all variables together the way they are now): class ShipData
class GameSystemSpecificClass (name subject to change) as an abstract class only, maybe with some methods that are identical between game systems (e.g. . Maybe, just maybe, it should be enumerable (if I can implement that - not sure yet) class GURPSSpaceshipsData (inherits from GameSysSpecClass class) contains a series of variables/properties, some of the public/writeable, while others only supporting a get accessor (due to being calculated from other properties) class RogueTraderData and class OgreData (ditto) as the GURPS one. ------------------------------------------------------------- Does this look as a reasonable course, or are there some things I am going to regret later? |
11-22-2011, 07:43 AM | #44 |
GURPS FAQ Keeper
Join Date: Mar 2006
Location: Kyïv, Ukraine
|
Re: Spaceships: Chance of a space combat aid. But is there a need? 2D or 3D?
Okay, so either the hierarchy is good, or nobody's brave enough to pick its nits. ;)
Anyway, stumbled on another issue: System-specific data contains some bits that are edited directly, and others that are calculated (and not user-writeable) from editable data. This means that for many ship traits, the 'I' (edit ship info) interface will be inappropriate. That actually means that there's reason for two separate windows available - the ship editor, which modifies defining traits (e.g. SM), and the Quick Ship Sheet window, which allows one to modify some of the traits (e.g. current HP) and only view others (e.g. max HP, loaded mass etc.). Anyone have preferences regarding how it should look/be done? I'm aiming at a simple interface, mostly in the form of textboxes and checkboxes. |
Tags |
game aid, gurps spaceship battles, spaceships |
|
|