Building_atlas.dds

Voynitsky

Chieftain
Joined
Nov 12, 2005
Messages
21
Hi people,
I'm happy modding away adding civilizations etc. I'm now trying to add new buildings. I've got the icon sorted on the citybar but not in the civipedia and game menu icons. I assume this is to do with the Building_atlas.dds. If so where is this file? If not what do I need to do to get the icons to appear?

Thanks in advance
James.
 
Voynitsky said:
...I'm happy modding away adding civilizations etc. I'm now trying to add new buildings. I've got the icon sorted on the citybar but not in the civipedia and game menu icons.


Im not sure why the civilopedia and game menu icons are not showing up...

but to define the buttons edit this file
(make sure you back up your stuff first!) :mischief:


CIV4ArtDefines_Building.xml

for example:
<Button>,Art/Interface/Buttons/Buildings/Parthenon.dds,Art/Interface/Buttons/Buildings_Atlas.dds,7,5</Button>


since you can not modify the atlas (see below) remove it (Stuff in red)...

for my own custom building I used this reference:

<Button>,Art/Interface/Buttons/Buildings/WarCollege.dds</Button>

(notice no second path with the atlas included)



Voynitsky said:
I assume this is to do with the Building_atlas.dds. If so where is this file? If not what do I need to do to get the icons to appear?...

unfortunately you can not edit Building_atlas.dds
(for some reason civi4 doesnt allow you to mod that... see thread links below for some further info)

the good news with buildings you dont have to worry becuase when buildings are "created" and not in that building_atlas.dds a pink icon will appear briefly when it is build and disappear...

the bad news is the units also have the "off screen" pic... but it shows pink again... no big deal... but sometimes annoying...


here are two similar tutorials on buttons and such:



http://forums.civfanatics.com/showthread.php?t=156760



http://forums.civfanatics.com/showthread.php?t=151450



they are a little incomplete... but post here and if you have any problems and I'll try to help ya! ;)
 
Officer Reene said:
....unfortunately you can not edit Building_atlas.dds
(for some reason civi4 doesnt allow you to mod that... see thread links below for some further info)

the good news with buildings you dont have to worry becuase when buildings are "created" and not in that building_atlas.dds a pink icon will appear briefly when it is build and disappear...

the bad news is the units also have the "off screen" pic... but it shows pink again... no big deal... but sometimes annoying...


jenks solves the problem!:eek:



jenks posted this:

jenks said:
not 100% if this is relevant but we experienced on Roanoke that custom art needs the 'comma' removing from the start of the address written in the <button> tag, to make the hover icon go to the custom art folder ...
not sure if there is ever a hover icon (circular popup that comes when navigating off screen) in game for leaders, but if you put custom graphics in for anything else ...

here is the link:

http://forums.civfanatics.com/showthread.php?p=4269331#post4269331







so the problem was as simple as removing the comma from the <button>

I tried it out myself...and it works !!! :goodjob:

I only tried a custom unit... but I'll bet it works for buildings too! ;)


The only problem is that the "construct"/"offscreen" image is lower quality than the city button pic:sad:

Im not sure (gotta experiment) :mischief: but it may need the second part of the tagline (the one that refers to the Atlas.dds file) but possibly not the atlas file... but a custom image (smaller in size) ...however I am unsure since I have not tested this out yet.... :crazyeye:

all I know is that removing the comma works!!!


Excelsior!!!! :lol:
 
Back
Top Bottom