Changing the docking screen?

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Giulio Cesare Augusto
Anarchist
Anarchist
Posts: 17
Joined: Sun Sep 24, 2006 4:26 pm

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>
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

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.
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

FAD, AgricFarm is already in Transcendence, so no UNID is needed.

Giulio, I can see no problem with that, though i'm not so experienced with technical coding, so don't take my word for it.
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

Yugimotomanager wrote:FAD, AgricFarm is already in Transcendence, so no UNID is needed.
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.
User avatar
dvlenk6
Militia Captain
Militia Captain
Posts: 519
Joined: Sun Mar 05, 2006 6:56 am
Location: Sanctuary and beyond
Contact:

Giulio Cesare Augusto wrote:<Image UNID="&rsAgricFarm;" bitmap="AgriFarming.jpg"/>
Try putting

Code: Select all

loadOnUse="true"
just after the bitmap=... part
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.
"War is hell."
-William Tecumseh Sherman
http://dvlenk6.blackraven3d.com/transgals.html
User avatar
Giulio Cesare Augusto
Anarchist
Anarchist
Posts: 17
Joined: Sun Sep 24, 2006 4:26 pm

Thanks. Unfortunaltely even adding "LoadOnUse..." does not work.
More ideas?
User avatar
dvlenk6
Militia Captain
Militia Captain
Posts: 519
Joined: Sun Mar 05, 2006 6:56 am
Location: Sanctuary and beyond
Contact:

Kind of out of ideas :cry:
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"/>
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.
"War is hell."
-William Tecumseh Sherman
http://dvlenk6.blackraven3d.com/transgals.html
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

I don't see why you asked that in this topic, but the answer is I have no idea. I don't think you can...
User avatar
Giulio Cesare Augusto
Anarchist
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.
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

Yugimotomanager wrote:I don't see why you asked that in this topic, but the answer is I have no idea. I don't think you can...
look at the link in his sig. I reckon its a bot.
User avatar
Giulio Cesare Augusto
Anarchist
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?
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

answering yugi's post about dave18
User avatar
dvlenk6
Militia Captain
Militia Captain
Posts: 519
Joined: Sun Mar 05, 2006 6:56 am
Location: Sanctuary and beyond
Contact:

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.
Could you post a copy of the whole xml? or better yet send it to me: [email protected]

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.
"War is hell."
-William Tecumseh Sherman
http://dvlenk6.blackraven3d.com/transgals.html
Post Reply