Bridge Commander Central
BC Forums => BC Scripting => Topic started by: angryandorian on February 27, 2009, 06:48:26 PM
-
I recently replaced the stock galaxy in BC with the DJ Galaxy Pack USS Enterprise-D (not the Season 1 version), by changing the longName to Galaxy in the DJEnterprise.py in the Custom/ships/ folder. This went on with out a hitch, but the new ship retains the description from the stock ship in the menus. How do I change this?
-
It's because it's from a TGL (mostlikely).
To fix it, comment out one of the 2 tgl lines in the plugin (by placing a # infront of a line).
-
Well I don't find any TGL lines in the plugin. I'm assuming your referring to the DJEnterprise.py plugin in the Custom/Ships/ folder. Usually I'm able to overcome this problem by changing the abbrev to the name of the stock ship i'm replacing. For example, when I replaced the stock ambassador with another ship, I changed the abbrev to ambassador and imputed my own description. When I start the game, the new ship description appears. I tried to doing the same for the galaxy class, but when I do, the ship appears ingame with the stock nebula-class icon in the tactical interface!
-
Could you attach your changed plugin here?
I'll take a look at it in the morning and fix it if I can (currently 1AM here).
-
Gladly! Thanks for your help by the way.
-
I did it right away, I think this should work. I have also disabled the name, so you may want to edit it again (incase the name from the TGL was intended).
The names speak for themselves.
-
I played around with Foundation.ShipDef.DJEnterprise.hasTGLName , set it to 1 and it worked thank you.
-
Even the icon?
Considering you changed your post.
-
Yes, even the icon. Thanks again.
-
You won't believe it, but it seems the problem has returned. I was checking the descriptions today, and the stock Galaxy description reappeared! I don't know what happened since I hadn't touch anything since my last post. Is the description hard-wired into the game or something?
-
1. Download BCUT, install it and run it
2. Go to Foundation Section of BCUT
3. Install QB Description Fix which is designed to fix the issue which you're having
-
Nope, that didn't work. If I change the abbrev to Galaxy, I get the Nebula icon again. I can't fathom why this happens.
-
hasTGLDesc must be set to 0 in the plugin.
Foundation.ShipDef.myship.hasTGLDesc = 0
-
Well I seemed to have fixed it again. I not going to go into details cause I'm a little PO at the game right now. :x In any case, I've attached the modified py file to show anyone with a similar dilemma how I fixed it.
-
Well...
12 years after you solve this problem, i have the same.
Unfortunately the file is not online anymore.
Can someone please tell me how to fix the issue, that BC shows the Nebula Class icon instead the Galaxy?