Hi, I have a problem with an extetion. During the doking sequence the extesione is supposed to load an image different from ShipInterior.jpg but no image is loaded. I tried to understand why reading the .xml extracted with transdata and made by george moromisato, but I have not been able to understand the problem. Should the images be in a defined folder in order to be loaded? Any clue?
Below I'll paste the relevant part of the code.
Quote:
<Image UNID="&rsAgricFarm;" bitmap="AgriFarming.jpg"/>
<DockScreens>
<Main
name="=(objGetName gSource)"
backgroundID="&rsAgricFarm;">
<Panes>
<Default desc= "You are docked in the Agricultural Station">
<Actions>
... a set of deleted actions
</Actions>
</Default>
</Panes>
</Main>
</DockScreens>
Changing the docking screen?
Did you make an UNID extension for your image?
Did you set your UNID in <Image imageID="&rsYourImageUNIDhere;" and give it XY values? Sometimes just changing those values to 0 will work, depending on your image.
Take a look at the settings for the dockscreen image code and compare with yours.
All images that belong to your xml file should be included in the Extensions folder along with the xml file. No other folder is necessary.
Did you set your UNID in <Image imageID="&rsYourImageUNIDhere;" and give it XY values? Sometimes just changing those values to 0 will work, depending on your image.
Take a look at the settings for the dockscreen image code and compare with yours.
All images that belong to your xml file should be included in the Extensions folder along with the xml file. No other folder is necessary.
The way I understand it, Giulio wants to use his own image and replace the original so a UNID is needed for his image in order for it to show up.Yugimotomanager wrote:FAD, AgricFarm is already in Transcendence, so no UNID is needed.
- dvlenk6
- Militia Captain
- Posts: 519
- Joined: Sun Mar 05, 2006 6:56 am
- Location: Sanctuary and beyond
- Contact:
Try puttingGiulio Cesare Augusto wrote:<Image UNID="&rsAgricFarm;" bitmap="AgriFarming.jpg"/>
Code: Select all
loadOnUse="true"
That is new to the xml for version 0.97
I suspect it has something to do with the module arrangement of the xmls in this version.
- Giulio Cesare Augusto
- Anarchist
- Posts: 17
- Joined: Sun Sep 24, 2006 4:26 pm
Thanks. Unfortunaltely even adding "LoadOnUse..." does not work.
More ideas?
More ideas?
- dvlenk6
- Militia Captain
- Posts: 519
- Joined: Sun Mar 05, 2006 6:56 am
- Location: Sanctuary and beyond
- Contact:
Kind of out of ideas
I have a mod that uses a different dockscreen, it works.
The only difference I see between my format and yours is this:The backColor. The transcendence xml doesn't use that for the ShipInterior. Dockscreens shouldn't need that, but I can't remember if I put that there on purpose or because of a problem.

I have a mod that uses a different dockscreen, it works.
The only difference I see between my format and yours is this:
Code: Select all
<Image UNID="&rsFerianDock;" bitmap="feriandock.jpg" backColor="0x00000000"/>
- Giulio Cesare Augusto
- Anarchist
- Posts: 17
- Joined: Sun Sep 24, 2006 4:26 pm
Dear Dvlenk6,
I addeded the "backColor="0x00000000" but still when i dock to the station the image is not displayed. If anybody has further suggestions they would really be welcome.
Thanks a lot, anyway.
I addeded the "backColor="0x00000000" but still when i dock to the station the image is not displayed. If anybody has further suggestions they would really be welcome.
Thanks a lot, anyway.
- Giulio Cesare Augusto
- Anarchist
- Posts: 17
- Joined: Sun Sep 24, 2006 4:26 pm
Sorry evilbob,
I'm not sure that I see the point. Are you answering to my post or to the post of somebody else?
I'm not sure that I see the point. Are you answering to my post or to the post of somebody else?
- dvlenk6
- Militia Captain
- Posts: 519
- Joined: Sun Mar 05, 2006 6:56 am
- Location: Sanctuary and beyond
- Contact:
Could you post a copy of the whole xml? or better yet send it to me: [email protected]Giulio Cesare Augusto wrote:Dear Dvlenk6,
I addeded the "backColor="0x00000000" but still when i dock to the station the image is not displayed. If anybody has further suggestions they would really be welcome.
Thanks a lot, anyway.
From everything that I can see, the image should load. There must be something wrong somewhere else in the xml that is causing the image call to malfunction. Can't tell without looking at the entire xml.