Staredit Network > Forums > SC2 Assistance > Topic: [SOLVED] Command Card UI issue
[SOLVED] Command Card UI issue
This topic is locked. You can no longer write replies here.
Mar 13 2013, 9:26 pm
By: DevliN  

Mar 13 2013, 9:26 pm DevliN Post #1

OVERWATCH STATUS GO

I'm having an issue with the command card UI, and I'm not sure what's causing it. This used to work fine, so I'm not sure what exactly is making it no longer work. Basically I have 6 command card buttons in a row (05, 06, 07, 08, 09, 10), then a small gap, and 2 more (00, 01). The first six line up perfectly, but the last two don't show up at all.
Code
       <Frame type="CommandButton" name="CommandButton05" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent" pos="Min" offset="#CommandButtonGap"/>
       </Frame>
       <Frame type="CommandButton" name="CommandButton06" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton05" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton05" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
       <Frame type="CommandButton" name="CommandButton07" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton06" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton06" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
       <Frame type="CommandButton" name="CommandButton08" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton07" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton07" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
       <Frame type="CommandButton" name="CommandButton09" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton08" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton08" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
     <Frame type="CommandButton" name="CommandButton10" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton09" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton09" pos="Max" offset="#CommandButtonGap"/>
     </Frame>
     <Frame type="CommandButton" name="CommandButton00" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton10" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton10" pos="Max" offset="10"/>
     </Frame>
       <Frame type="CommandButton" name="CommandButton01" template="CommandButton/CommandButtonTemplate">
           <Anchor side="Top" relative="$parent/CommandButton00" pos="Min" offset="0"/>
           <Anchor side="Left" relative="$parent/CommandButton00" pos="Max" offset="#CommandButtonGap"/>
       </Frame>
     <Frame type="CommandButton" name="CommandButton11" template="CommandButton/CommandButtonTemplate">
       <Visible val='False'/>
           <Anchor side="Top" relative="$parent/CommandButton05" pos="Max" offset="#CommandButtonGap"/>
           <Anchor side="Left" relative="$parent/CommandButton05" pos="Min" offset="0"/>
     </Frame>


And I realize I could get rid of the 06 through 09 frames since they aren't modified at all, but I included them just to see if maybe the chaining was wrong.

For reference, this is what I used to use in my SC2Layout file that used to work:
Code
        <Frame type="CommandButton" name="CommandButton05" template="CommandButton/CommandButtonTemplate">
          <Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
          <Anchor side="Left" relative="$parent" pos="Min" offset="#CommandButtonGap"/>
        </Frame>
        <Frame type="CommandButton" name="CommandButton10" template="CommandButton/CommandButtonTemplate">
          <Visible val='False'/>
          <Anchor side="Top" relative="$parent/CommandButton09" pos="Min" offset="0"/>
          <Anchor side="Left" relative="$parent/CommandButton09" pos="Max" offset="#CommandButtonGap"/>
        </Frame>
        <Frame type="CommandButton" name="CommandButton11" template="CommandButton/CommandButtonTemplate">
          <Visible val='False'/>
          <Anchor side="Top" relative="$parent/CommandButton01" pos="Min" offset="0"/>
          <Anchor side="Left" relative="$parent/CommandButton01" pos="Max" offset="#CommandButtonGap"/>
        </Frame>
        <Frame type="CommandButton" name="CommandButton00" template="CommandButton/CommandButtonTemplate">
          <Visible val='False'/>
          <Anchor side="Top" relative="$parent/CommandButton10" pos="Min" offset="0"/>
          <Anchor side="Left" relative="$parent/CommandButton10" pos="Max" offset="10"/>
        </Frame>


Post has been edited 1 time(s), last time on Mar 13 2013, 10:06 pm by DevliN.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Mar 13 2013, 10:06 pm DevliN Post #2

OVERWATCH STATUS GO

Scratch that, solved. Apparently the "Simple Command Card" option removes the first row (00-04) entirely. Overriding that fixed this.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:51 am]
Ultraviolet -- RIVE
RIVE shouted: Beta 4 lyfe, ya kno
feels like a lower commitment. like if someone bitches about something, I can say it's in beta phase whatchu expect? :P
[2023-9-28. : 6:46 am]
RIVE -- Beta 4 lyfe, ya kno
[2023-9-28. : 5:26 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider I suppose that's one justification for pushing it to 1.00. I'm still messing with some novel concepts, I completely revamped the Shadowcraft hero in v0.18 and there's some kinks to work out with some of the other changes I made, but I suppose that doesn't mean I can't call the currently version 1.XX
indeed
[2023-9-28. : 1:13 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet prediction: It will. ;)
:massimo:
[2023-9-28. : 1:13 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet Oh, then your versioning is maybe a bit misleading. I didn't have much trust in a v0.2
I suppose that's one justification for pushing it to 1.00. I'm still messing with some novel concepts, I completely revamped the Shadowcraft hero in v0.18 and there's some kinks to work out with some of the other changes I made, but I suppose that doesn't mean I can't call the currently version 1.XX
[2023-9-28. : 1:12 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet :lol: did you really just commit another shout just to add a bracket? :D
Damn straight! :P
[2023-9-27. : 7:22 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: Imp UV3 is actually in the works with some major changes, but it's been slow going. I'd like to have a version of Imp UV for every tileset at one point.. hopefully it doesn't take until 2030 :P
prediction: It will. ;)
[2023-9-27. : 7:21 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider Oh definitely fully playable. I used the first map as the shell, so it was basically complete from the first release. I've made some tweaks and improvements here and there based on nuances between the maps, like UV2 has more air units so certain ground-focused heroes like Psycho and Shadowcraft have needed some buffing. Other improvements have been little bug fixes or ways of stopping cheese strategies (like the bosses now spawn in a random location instead of at their lair so players can't just camp them with nukes. UV2 is definitely harder despite only being 4 levels + boss fight instead of 5. I'd say it's definitely worth a go, there's some unique mechanics that make each of the levels have kind of their own interesting spin
Oh, then your versioning is maybe a bit misleading. I didn't have much trust in a v0.2
[2023-9-27. : 7:21 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: nukes).* lol
:lol: did you really just commit another shout just to add a bracket? :D
[2023-9-27. : 4:22 pm]
ubtrueblue -- hello
Please log in to shout.


Members Online: Roy, leahrosa