base ship classes

Post ideas & suggestions you have pertaining to the game here.
Post Reply
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

I have some mods that use the new typFind to show and spawn ships. It is super that I can filter out ships that can not actually be spawned, but I was wondering if we perhaps could add one common attribute to these classes.

Right now we have behaviourClass and baseClass, and who knows what we might get in the future. Perhaps make one common attribute across these types of classes (ships that should not actually be spawned), so they can all be filtered out in one go.

Perhaps use baseClass or some more descriptive, NotForSpawnClass :)
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

How about VirtualClass?
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

sounds good to me
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Another possibility (though it breaks backwards-compatibility):

1. typFind should exclude virtual classes by default.
2. Using the 'V' flag in typFind includes virtual classes.

The advantage of this proposal is that it is consistent with item and object criteria.

The disadvantage is that it breaks compatibility, but I'm not sure anyone is using typFind to get virtual classes right now.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

OK, that is a better solution... atm I think I am the only one that has really been using typFind in mods, and I will gladly fix this.

Better to break this now, than later.
Post Reply