I am wondering how it is that objects drawn using positionType hook into their respective .gfx files. In any instance in which I see positionType used to any effect, I do not see a corresponding spriteType the references the name of the positionType. For instance;
In the interface files for the traditions tree in Stellaris there is a list of positionTypes that place the tradition picks within their respective traditions windows. One of these may be called "tr_<tradition-key>". When I check the corresponding .gfx to the .gui, I will see "GFX_tr_<tradition-key>" and its corresponding .dds icon file. It is obvious these two work together, as breaking one causes the icon to not appear, but nowhere else in the code (using Agent Ransack) do I find "GFX_tr_<tradition-key>". As a result I have no idea how to link these two in my own mod in order to add more traditions.
How does positionType interact with spriteType?
In the interface files for the traditions tree in Stellaris there is a list of positionTypes that place the tradition picks within their respective traditions windows. One of these may be called "tr_<tradition-key>". When I check the corresponding .gfx to the .gui, I will see "GFX_tr_<tradition-key>" and its corresponding .dds icon file. It is obvious these two work together, as breaking one causes the icon to not appear, but nowhere else in the code (using Agent Ransack) do I find "GFX_tr_<tradition-key>". As a result I have no idea how to link these two in my own mod in order to add more traditions.
How does positionType interact with spriteType?