Bridge Commander Central

BC Forums => BC Scripting => Topic started by: Mandalore on April 26, 2009, 07:44:11 AM

Title: Stock Ship renaming
Post by: Mandalore on April 26, 2009, 07:44:11 AM
I am currently reorganizing my Fed ships and while I can put the stock ships in submenues, I'd also like to rename them (As example "Nebula" to "USS Nebula"). Is there a way similar to the one used for submenues to do this?
I have allready tried this and it doesn't work:
Code: [Select]
import Foundation

Foundation.ShipDef.Nebula.longName = 'USS Nebula'
Foundation.ShipDef.Nebula.SubMenu = "Nebula Class"
Foundation.ShipDef.Nebula.SubSubMenu = "Standard"
Title: Re: Stock Ship renaming
Post by: MLeo on April 26, 2009, 07:51:55 AM
Add:
Code: [Select]
Foundation.ShipDef.Nebula.hasTGLName = 0
Also, I'm sure Jimmy can help you here.
Title: Re: Stock Ship renaming
Post by: JimmyB76 on April 26, 2009, 08:42:52 AM
i think using BCUT you'd be able to change stock ship names (i havent yet tried doing it tho)...

otherwise, try adding in
Code: [Select]
Foundation.ShipDef.Nebula.name = "USS Nebula"
under
Code: [Select]
import App
import Foundation
Title: Re: Stock Ship renaming
Post by: Mandalore on April 26, 2009, 09:14:58 AM
That worked. Thanks Jimmy