[GUI Question] how to add new buttons to client 5517

07/21/2023 09:20 vo0olt#1
Hello All,

I have an issue when adding a new button to client 5517 as it has no textures and not clickable.

Steps taken:
1- Added the button using ResHacker (res_hacker.png), compiled the code and saved the new conquer.exe
2- Button appears as a black border with no texture (button_border.png).
3- Button exists in GUI.ini.

=========
//VIP½çÃæ-X
[338-1573]
x=40
y=140
w=106
h=20
=========

4- Button .dds Texture is in Data/main folder.
5- Added the button to Control.ani but nothing.

NOTE: not sure if i did step 5 correctly as i have tried two methods but neither worked.

Method 1:
=======
// ɾ����ť(Dialog338)
[Button1573]
FrameAmount=4
Frame0=data/interface/VIP/BtestBtnNormal.dds
Frame1=data/interface/VIP/BtestBtnClick.dds
Frame2=data/interface/VIP/BtestBtnUnClick.dds
Frame3=data/interface/VIP/BtestBtnEmboss.dds

Method 2:
=======
//Vip��Ȩ����-�г��ֿⰴť
[VIP_BtestBtn]
FrameAmount=4
Frame0=data/interface/VIP/BtestBtnNormal.dds
Frame1=data/interface/VIP/BtestBtnClick.dds
Frame2=data/interface/VIP/BtestBtnUnClick.dds
Frame3=data/interface/VIP/BtestBtnEmboss.dds

Any help would be much appreciated <3