Recent content by Kuupora

  1. K

    Trying to mod the aircraft pulldown

    Okay, I read the UI tutorials 1, 2 and 3. First I'm trying to make a horizontal stack, and put stuff there. I added this line in UnitFlagManager.xml (after the <InstanceData Name="UnitInstance" > ...) <Stack ID="UnitStack" Anchor="L,C" StackGrowth="Right" Offset="0,0" Padding="10" />...
  2. K

    Trying to mod the aircraft pulldown

    Yes, I'd like to read some UI tutorials. Just found your tutorial in 2k forum :) So what do you think about the idea of this mod? I also thought about adding a "Rebase all" -button.
  3. K

    Trying to mod the aircraft pulldown

    whoward69, thanks for your answer. I intend to mod the aircraft pulldown to look more like this: I want each row to contain the name of the unit, health, and promotions respectively. So each row has to be a stack that grows to right. A further question: Is it possible to add a...
  4. K

    Trying to mod the aircraft pulldown

    This, for example, is strange: In the UnitFlagManager.xml file within the <Instance Name="AirButton" > and <InstanceData Name="UnitInstance" > tags is this line: <Button Size="175,26" Anchor="C,C" ID="Button" > I tried to mod the Button Size (x,y I presume) but it didn't seem to affect...
  5. K

    Mouseover bug

    Aircraft promotion mouseover texts not showing correctly. To clarify this happened with Communitas AI and Tools v3 3.14.1 CommunitaS Intarface v3 3.14.1
  6. K

    Trying to mod the aircraft pulldown

    I'm trying to add a stack which contains two buttons instead of one button in the aircraft pulldown. In UnitFlagManager.xml under the <Instance Name="AirButton" > -line is this: ... <InstanceData Name="UnitInstance" > <Button Size="175,26" Anchor="C,C" ID="Button" >...
  7. K

    Modding UnitFlagManager.lua

    Problem solved. I disabled VFS for InGame.xml and added UpdateDatabase for InGame.xml (in the first post this seems to be there but then I disabled for a while)
  8. K

    Modding UnitFlagManager.lua

    Yes, thank you, now the unit icons work correctly. However now a new bug appeared... I can't choose ideology, the button is unresponsive. This happens on Atomic Era / Information Era starts on the second turn. Any thoughts?
  9. K

    Modding UnitFlagManager.lua

    I have a modding project which loads modded UnitFlagManager.lua to the game. The .lua file is loaded successfully. The mod expands information in the aircraft selection menu. Only two lines in the code 1097 and 1103 are changed. controlTable.Button:SetText(.......) is edited. For that part...
  10. K

    Replaced lua file not working

    Thanks for your answer! It seems my problem was after all the byte order mark within the UTF-8 encoded lua file. For some reason my ModBuddy chose to save lua files with wrong encoding (:crazyeye:). I finally got rid of it by converting the encoding in notepad++ to "UTF-8 without BOM" and save...
  11. K

    Replaced lua file not working

    Hello, I have this little problem with my mod: When I try to run it, it get the following error in Lua.log: [2957.903] Syntax Error:<file path>\UnitFlagManager.lua:1: unexpected symbol near 'ï' [2957.903] Runtime Error: Error loading <file path>\UnitFlagManager.lua Unit flag icons...
Top Bottom