How to change the UI and add new buttons?

Mods and development for mods. Including WoG & Equilibris (RU) subforums.

Moderator: Moderators

User avatar
Posts: 242
Joined: 17 Mar 2007

How to change the UI and add new buttons?

Postby Apocalypse » Mar 20 2007, 14:57

Hi all,

I want to add a new page containing the skill tree in the Hero screen

First I'd like to add a button, like the Army, Artifacts, Racial and Skills, Abilities and Biography buttons are (on the left). I got it placed but it doesn't respond to my command (i.e. it's a useless button)

Second I want this button to bring another window (like the Scenario Options button does). This new window will contain the skill tree and maybe some additional buttons if it's possible.

The thing is that I spent a very long time searching in the UI xdb files and haven't found anything regarding actions taken by pressing a button. All the buttons send some <EventName>something</EventName> events but I haven't found a window or something reading this event (so that the game knows which window to bring when you press a specific button). I just hope it's not hard-coded in the exe :(

Any help would be appreciated :)

Return to “Modcrafting Guild”

Who is online

Users browsing this forum: No registered users and 1 guest