Bridge Commander Central

BC Forums => BC Technical Support => Solved Problems => Topic started by: Kirk on July 21, 2008, 04:02:14 PM

Title: Icon problem - wrong icons showing (again).
Post by: Kirk on July 21, 2008, 04:02:14 PM
But this time I have been testing my ships one by one and have located the ship pack that caused my problem (http://bridgecommander.filefront.com/file/MetropolClass_and_Bridge;74022).


(See Jimmy, I told you I'd break it again.)
Title: Re: Icon problem - wrong icons showing (again).
Post by: MLeo on July 21, 2008, 07:13:51 PM
So it started after you installed this ship/bridge combo?
Title: Re: Icon problem - wrong icons showing (again).
Post by: Kirk on July 22, 2008, 12:08:39 AM
Yes.
Title: Re: Icon problem - wrong icons showing (again).
Post by: JimmyB76 on July 22, 2008, 09:30:58 AM
yopyop is a regular patron here - maybe he should be alerted to this thread?
he created this mod, he might have some insight?
Title: Re: Icon problem - wrong icons showing (again).
Post by: MLeo on July 22, 2008, 10:11:27 AM
I haven't seen anything particularly wrong with the scripts (atleast, nothing overwriting sections of the Foundation or the GUI).

What I did notice was that the icon files where all lowercase, while the plugins refer to the icons with an uppercase M, so you could try to go to data/icons/ships/ and rename metropol.tga to Metropol.tga and metropol2.tga to Metropol2.tga
Title: Re: Icon problem - wrong icons showing (again).
Post by: Kirk on July 22, 2008, 03:09:07 PM
No luck. Here's my current ship plugin.

Also attached a "Scan BC" report.
Title: Re: Icon problem - wrong icons showing (again).
Post by: MLeo on July 22, 2008, 03:11:48 PM
Ehh... That was not what I was talking about.
I was talking about the icon filenames.
Title: Re: Icon problem - wrong icons showing (again).
Post by: Kirk on July 22, 2008, 03:13:30 PM
:wink: I renamed them as well, and it didn't help. The problem still exists.
Title: Re: Icon problem - wrong icons showing (again).
Post by: MLeo on July 25, 2008, 06:27:12 PM
Do other ships now also show the same problems?

I want you to type in the following in the console:
Code: [Select]
import ShipIcons

print ShipIcons.shipIconNames.has_key("metropol")
print ShipIcons.shipIconNames.has_key("Metropol")# Notice the different capital M, you may leave out this comment btw, anything from the # onwards)
Now, if either returns 1, then make sure that's the name you have entered in the ship plugin.
Title: Re: Icon problem - wrong icons showing (again).
Post by: Shino Tenshi on July 25, 2008, 06:42:13 PM
Hm... I never had that problem and nobody ever told me about having it.. so I guess it worked fine for everybody else...
Maybe it's some kind of compatibility problem caused by another ship you are using.

That's the only thing I could think of,  I've never been really deep in BC-Modding though...  :?
Title: Re: Icon problem - wrong icons showing (again).
Post by: Kirk on August 04, 2008, 10:32:33 AM
Problem Solved
I have attached the plugin. BC does not like it when the abbrev name and the shipfile name are not the same.
Title: Re: Icon problem - wrong icons showing (again).
Post by: MLeo on August 04, 2008, 12:45:57 PM
Ah, now that I didn't think of.

All this because of the fact that, basicly, the Foundation is trying to emulate the previous system as best as possible, maybe too well emulated.
Title: Re: Icon problem - wrong icons showing (again).
Post by: Shino Tenshi on August 04, 2008, 05:14:15 PM
hehe.. that's good news though  :D