Skip to content

NecroButton – An alternative table for raising undead.

User Avatar
#4
Auto-translated
Ziegmaster
Reference information:
The golden plus sign next to a creature's miniature means that the same applies to its upgrades as well. This is done to save space.
What if we put a footnote at the very bottom of the table — like, the gold plus means all upgrades, and say a blue plus means the last two upgrades, then there'd be no need to combine icons?
Known issues:
The background transparency also carries over to the creature miniatures due to the alpha channel.
To avoid this, you should add white miniatures to the alpha channel.
Attachment 67755Attachment 67756
The mod was tested at a resolution of 1920x1080. If the window displays incorrectly on other resolutions, I'll try to fix the issue.
The window jumps around on other resolutions; to fix it, you need to set the position more rigidly in Info.(WindowSimple).xdb, for example Attachment 67757

There are 4 options total:
EPA_HIGH_END - align to the right/bottom edge
EPA_LOW_END - align to the left/top edge
EPA_MARGIN - stretch across the entire screen
ERA_CENTER - center it
they can be used together with the (x\y) values in the Position section; they won't be taken into account while the value in the Second section = false.
I can also say the following: The file Info.(WindowSimpleShared).xdb specifies the size of the image displayed on screen as 640\450, while the actual image itself is 1024\1024. When saving in DXT3 or DXT5 format, image quality suffers. You can change the canvas size to 640\450 and save losslessly in 8888 format — as a result, the file size will increase only slightly, but the quality will be lossless. For the image to display correctly in game, you need to edit the Background.xdb file and specify the image format in it.

example Background.xdb file
<?xml version="1.0" encoding="UTF-8"?>
<Texture ObjectRecordID="1001589">
    <SrcName href="/UI/HeroScreen/back_army.tga"/>
    <DestName href="Background.dds"/>
    <Type>TEXTURE_2D</Type>
    <ConversionType>CONVERT_ORDINARY</ConversionType>
    <AddrType>CLAMP</AddrType>
    <Format>TF_8888</Format>
    <Width>640</Width>
    <Height>450</Height>
    <MappingSize>0</MappingSize>
    <NMips>1</NMips>
    <Gain>0</Gain>
    <AverageColor>-1769572762</AverageColor>
    <InstantLoad>true</InstantLoad>
    <IsDXT>false</IsDXT>
    <FlipY>false</FlipY>
    <StandardExport>true</StandardExport>
    <UseS3TC>false</UseS3TC>
</Texture>
Attachments 3
3 files attached • Total size: 407.1 KB
Грешить, злодействовать, а равно и делать добро или совершать подвиги надо без натуги. А если с натугой — то лучше не надо.
К. Прутков-инженер. Мысль № 77.
Многие вещи нам непонятны не потому, что наши понятия слабы; но потому, что сии вещи не входят в круг наших понятий.
© Козьма Прутков