Hi there.
I have managed to add a new button using python after a bit of copying around. Mind you, I am altering texts straight from the .py files.
Anyway, from looking at existing button fuctions so far, (or just the ones I can understand at the moment) I can create buttons that close the screen, do nothing or jump to the civilpedia. They all seem to be using some Widgets which I have no idea where they are referenced from.
I was wondering what is the best approach to add/replace text on button click.
The XML files looks darn promising for some fun customised game texts.
I have managed to add a new button using python after a bit of copying around. Mind you, I am altering texts straight from the .py files.
Anyway, from looking at existing button fuctions so far, (or just the ones I can understand at the moment) I can create buttons that close the screen, do nothing or jump to the civilpedia. They all seem to be using some Widgets which I have no idea where they are referenced from.
I was wondering what is the best approach to add/replace text on button click.
The XML files looks darn promising for some fun customised game texts.
Comment