Bridge Commander Central

BC Forums => BC Technical Support => Topic started by: m35gibson on February 13, 2008, 08:46:56 AM

Title: the use of certain ships
Post by: m35gibson on February 13, 2008, 08:46:56 AM
hi guys
im hoping im doing this thread in the right section.
my question, i use kmo1, and it gives u a nice selection of ships, is there any way at all that i can use some of the ships i downloaded, they work fine in quick battle, in multiplayer? the only reason i ask this is because a friend wants to pit his nxo1 against my tos enterprise.
thanks
kevin
Title: Re: the use of certain ships
Post by: captainstull on February 13, 2008, 10:27:00 AM
I was also wondering if there was anyway to use other downloaded ships, like the Dreadnought, in multiplayer games.  Would all players have to have it installed on their computers or would KM 1.0 prevent only ships that it has choosen to use?  Thanks in advance!
Title: Re: the use of certain ships
Post by: MLeo on February 13, 2008, 07:18:11 PM
All players have to use the exact same install to make that work.

Aside for the fact that the MP menu isn't loaded from the same "source" as a normal ship list.
Title: Re: the use of certain ships
Post by: m35gibson on February 14, 2008, 09:58:40 AM
hi,
is there a way of adding ships to your mp menu
thank
kevin
Title: Re: the use of certain ships
Post by: MLeo on February 14, 2008, 05:45:32 PM
hi,
is there a way of adding ships to your mp menu
thank
kevin
Doesn't seem likely, does it? Considering things like KM. :P (Yes, I am pulling your leg here, sorry about that).

You need to edit SpeciesToShip.py (found in scripts/Multiplayer), remember, each ship needs to have an unique number, and it needs to match in the ship plugin.

I believe that's "it".
Title: Re: the use of certain ships
Post by: Picard_1 on February 24, 2008, 01:58:33 AM
Quote
You need to edit SpeciesToShip.py (found in scripts/Multiplayer), remember, each ship needs to have an unique number, and it needs to match in the ship plugin.

MLeo, are you referring to the species number in the ship hardpoint?
Title: Re: the use of certain ships
Post by: El on February 24, 2008, 05:34:04 AM
Moved to tech support
Title: Re: the use of certain ships
Post by: MLeo on February 24, 2008, 06:53:36 AM
That, and in the ship file (in scripts/Ships) and in the plugin scripts/Ships/Custom.

This is used to identify each ship, and will provide the correct icon as well.
Title: Re: the use of certain ships
Post by: Picard_1 on February 24, 2008, 07:06:49 PM
Ok, here I replaced the Constitution with a Constellation. The number 103 corresponds with the hardpoint. Is this correct?

EXIMIUS                 = 76
CENTAUR                 = 77
MIRANDA                 = 78
MIRADORN                = 79
CONSTELLATION            = 80

 ("Miranda",   147, "Federation", 1),
        ("Miradorn", 922, "Other", 1),
        ("DMconstellation",   103, "Federation", 1),
        ("Merchantman", 924, "Other", 1),
Title: Re: the use of certain ships
Post by: MLeo on February 25, 2008, 03:01:43 PM
All the Constellation numbers (assuming you intended those to be the same) _must_ have the same number, everywhere.
Title: Re: the use of certain ships
Post by: Picard_1 on February 25, 2008, 05:40:46 PM
Right, then I must be missing something here. The only number I see is the
species number in the HP file. I don't see any numbers in the ships/myship.py
or custom/ships/myship.py
Title: Re: the use of certain ships
Post by: MLeo on February 25, 2008, 05:57:22 PM
You don't, except for example this little nugget:
Code: [Select]
Multiplayer.SpeciesToShip.ASTEROIDH2Which references that constant you defined (you noticed the Mutliplayer.SpeciesToShip? Yep, that's the file you are editing).
Title: Re: the use of certain ships
Post by: Picard_1 on February 25, 2008, 07:04:24 PM
Then the  multi-player code for scripts/USSConstellation1017A should refer to the ship itself
and be written as:

Code: [Select]
import Multiplayer.SpeciesToShip.USSConstellation1017A
But lets take the Breen ship included with KM 1.0. It's custom/ships/myship.py
doesn't have a multi-player code but it functions in MP. The code only says:

Code: [Select]
import Foundation
import App

That is, I should only have to enter the multi-player code for the scripts/myship.py correct?
Title: Re: the use of certain ships
Post by: MLeo on February 26, 2008, 01:28:38 PM
I don't have a scripts/Custom/Ships/myship.py

And if it's empty, then it doesn't provide a ship (a single file in Custom/Ships can define 0 or more ships).