View previous topic :: View next topic |
|
Author |
Message |
N1GH7H4WK
Ensign


Age: 22
Zodiac: 
Joined: 27 Feb 2006
Posts: 159
Location: On the bridge, Number One. Where else?

|
|
|

|
|
|
As I said, I made my new ship but I can't add the icons to the display.
I copied the ship icon to data/icons/ships, but I don't know how to direct the scripts to it
I added the name of the icon in the pointer file and the in file in custom/ships/ship.py, but I had no results. the image is propperly scaled, coloured and masked.
any ideas?
|
|
|
Back to top |
|
 |
MLeo
Fleet Admiral

Age: 22
Zodiac: 
Joined: 26 Nov 2002
Posts: 11439
Location: Netherlands

|
|
|
|
Back to top |
|
 |
N1GH7H4WK
Ensign


Age: 22
Zodiac: 
Joined: 27 Feb 2006
Posts: 159
Location: On the bridge, Number One. Where else?

|
|
|

|
|
|
I did!
How do you think I learned all these (regular) modding abilities? Looking at other people's work!
even with the correct code, it doesn't work.
I saw a definition of something in ShipIcons.py:
Code: |
ShipIconDef('Nebula', { 'species': App.SPECIES_NEBULA } )
ShipIconDef('FedShuttle', { 'species': App.SPECIES_SHUTTLE } )
ShipIconDef('Transport', { 'species': App.SPECIES_TRANSPORT } )
ShipIconDef('Defiant', { 'species': 136 } )
ShipIconDef('Intrepid', { 'species': 114 } )
ShipIconDef('USSLennox', { 'species': 128 } )
ShipIconDef('Norway', { 'species': 116 } )
ShipIconDef('Nova', { 'species': 117 } )
|
as you can see, there are two ways to load an icon.
should I add
ShipIconDef('MyShip', { 'species': *** } ) ?
|
|
|
Back to top |
|
 |
MLeo
Fleet Admiral

Age: 22
Zodiac: 
Joined: 26 Nov 2002
Posts: 11439
Location: Netherlands

|
|
|
|
Back to top |
|
 |
N1GH7H4WK
Ensign


Age: 22
Zodiac: 
Joined: 27 Feb 2006
Posts: 159
Location: On the bridge, Number One. Where else?

|
|
|

|
|
|
that's what I used.
I changed an standard plugin to adapt it to my ship, so I replaced all exactly as the original.
I'll check the tga again, just to be sure....
|
_________________
The point of the war is not dying for your country, but make your opponent die for his own one.
Winston Churchill, WWII
|
|
Back to top |
|
 |
N1GH7H4WK
Ensign


Age: 22
Zodiac: 
Joined: 27 Feb 2006
Posts: 159
Location: On the bridge, Number One. Where else?

|
|
|

|
|
|
bad tga.
works fine now. thanks
|
_________________
The point of the war is not dying for your country, but make your opponent die for his own one.
Winston Churchill, WWII
|
|
Back to top |
|
 |
tiqhud
Pro-Captain


Joined: 28 Aug 2004
Posts: 1067
Location: this Desktop

|
|
|

|
|
|
I had that problem with the Klingon Raptor (recently) and it turned out to be a corrupt plugin py, the one in scripts\custom\ships
As I looked at it everything was correct ,and it pointed to the correct files and everything
but when I deleted the one that was there , used BCMP and made a new one I got my tactical Icon.
|
_________________ TiqHud - COE
I didn't do it
If we don't learn from our Mistakes, we will surely repeat them.
It is all the little details, that cause headaches.
According to the way society is going, I'll need a college Degree just to change a light bulb
|
|
Back to top |
|
 |
|