adding Custom atlas dds files.. is this possible?

Kailric

Jack of All Trades
Joined
Mar 25, 2008
Messages
3,100
Location
Marooned, Y'isrumgone
Well at the moment I am just trying to use the warlords.atlas.1.dds buttons but I can't seem to get any of them to load. I don't have the warlords expansion but the file is there to use it would seem. This is what I have in the xml:

Art/Interface/Buttons/Techtree/Warlords_Atlas_1.dds,1,15

but all I get is a block of pink.

I can add single dds.. but I haven't figured out how to add buttons from atlas, is this possible and what do you have to do?
 
mabey make a new independent .dds file for your image and point to that little image in the xml. Forget that 1,15 pointing. what are you trying to be ? a machine ? :D I'd say it's always easier to make single shot changes one at a time because typos kill mods.
 
mabey make a new independent .dds file for your image and point to that little image in the xml. Forget that 1,15 pointing. what are you trying to be ? a machine ? :D I'd say it's always easier to make single shot changes one at a time because typos kill mods.

Thanks for feedback. Thats what I have done already. But it seems to me if the "1,15" thingy worked then it would have saved me all the headache of having to make 56x56 snapshots of all the new units, techs, and buildings for my mod sense the atlas.dds is already present.

Maybe to do x,y it has to be a packed file?
 
The X,Y in my experience doesn't need to be packed.

the problem might be a stray comma or something I believe the format should be (I am at work so this is comming from memory.

<Button>,art/interface/button/file.dds,art/interface/button/warlords_atlas_1.dds,x,y</Button>

or something to that effect. That first comma if omitted, I believe causes the whole thing to turn pink.
Asside from that just make sure your filepaths are correct.
 
The X,Y in my experience doesn't need to be packed.

the problem might be a stray comma or something I believe the format should be (I am at work so this is comming from memory.

<Button>,art/interface/button/file.dds,art/interface/button/warlords_atlas_1.dds,x,y</Button>

or something to that effect. That first comma if omitted, I believe causes the whole thing to turn pink.
Asside from that just make sure your filepaths are correct.

Hmm.. just what is ,art/interface/button/file.dds suppose to be pointing too? If you are getting the button from the warlords_atlas_.dds,x,y then way have the other?

Well.... does it have to do with assigning a name to the button thats in the atlas so as in warlords_atlas_.1dds,1,2 becomes "file.dds"?

EDIT: ahhh yeah.. i just tried that.. i removed the custom button i made.. added the line pointing to the warlords atlas, then put in all the commas.. and it worked great.

Thanks for your input!
 
I am not 100% sure, but theoretically, the code was suppose to point to 2 buttons, the first one appeared in the Pedia, the Second in the BuildQueue (I think), but if you put one in, it works for both.

the name "file.dds" was just an example.

hmm, well I just tried using only the code

Code:
,Art/Interface/Buttons/Warlords_Atlas_1.dds,1,15

but all I get is a pink box.

But it works when I do..

Code:
,Art/Interface/Buttons/Techtree/Chivalry.dds,Art/Interface/Buttons/Techtree/Warlords_Atlas_1.dds,1,15

The things is I have no Chivalry.dds in the Techtree folder. So I am guessing that the above code creates a single Chivalry button to use for other instances of this tech. Like in the civilopdedia and the tech selecting menu.
 
Back
Top Bottom