Are the custom layout files throwing errors at you, then look for the error in the list below. It might be already documented with how to fix it.
Could not find the error?
please reply to this thread with the error then I can add it to the list.
Got a solution for an error.
check if the solution is not already listed if not, then please reply to this thread with the error number (or error if not listed yet) and the solution.
Error List
[[StarCraftMaps]\UI Layout Files\[StarCraftMaps]\UI Layout Files\Move Info Panel.SC2Layout: in 1 :col 1 ] Frame tag encountered with no root Desc tag.
.... are marked as Blizzard Only and cannot be created by users. (UI) is marked as Blizzard-only and can only be created by Blizzard.
{{{[[StarCraftMaps]\UI Layout Files\[StarCraftMaps]\UI Layout Files\Move Info Panel.SC2Layout: in 8 :col 1 ] Unknown start tag encountered: Anchor
Anchor can be any frame property.
Fixes
You re missing the default template make up. Surround the contents of your SC2Layout file with "<Desc></Desc>" and add at the top "<?xml version="1.0" encoding="utf-8" standalone="yes"?>"
The are multiple causes for this one and also multiple fixes:
If you are trying to move an existing frame, check if you have the location and type of the frame correctly.
If you are trying to create a new frame, then you can not use that frame type.
You have a frame property defined outside of a frame you will get this error. for example when you have
Please post any unlisted bugs here as a reply or in the forum with the [bug] tag prefixed.
The following SC2Layout, Assets.txt files or Information is needed to fix certain UI bugs:
(the file which is linked to the described problem fixes this.)
The following bugs should be fixed in SC2 v1.5:
Hiding supply Icon leaves background of the icon visible: layout file fix
that error is because creation of a frame of that type is not allowed by non-blizzard maps.
if you wrongly reference an existing frame then you can also get that message because the game thinks you want to create a new frame of that type.
I will add this to the list above when I have more time.
Anyone having problems in WoL saving the UI changes? Cant seems to find reason why sometimes it doesnt save the changes to UI layout. Maybe someone found the sequence how to save everytime the changes in UI?!?!?! Something have to do with the window in which you press save or the timing... idk :/
2. Blizzard changed the fields in the gameUI it seems. Your map has fields the editor doesn't know anymore, so he doesn't know where to put the data your map contains and throws error messages instead.
The first 2 errors occur because the max stack count value in 2 behavior entries are too big. So you should edit those values. The editor might be smart enough to give you a proper upper border for the value now.
To fix the other things the editor complains about, change a value in the GameUI tab of the data editor. Save the map, revert the value to what was there before (-> right click field -> reset to parent -> chose upper option) and save the map again. The change in the data makes the editor overwrite that section in your map when you save it. Then you go ahead and revert that change and save again.
Thanks for the reply. Sorry did not see a spot for this type of question and well you did use UI in the reply so it sort of relates in a convoluted way :)
The map still works fine so im not sure if those stack errors are causing any harm.
I checked "special used" and its max stack was set to 65,000 all i did was change it to 400 and the error is gone. But I really don't know what the max stack should be set at. I guess I don't understand what the stack value is for and how to figure out what the max value should be set at. Why cap it etc.
Max stack value is the amount of behaviors of that type that can be applied to a unit. With a max stack of 1 or 0, there is only 1 behavior of that type on a unit.
For example, if you would give stimpacks stacks, then marines could stim multiple times and run/shoot even faster.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Table of Contents
SC2Layout Error Messages
SC2Layout Bugs and Fixes
SC2Layout Error Messages
Are the custom layout files throwing errors at you, then look for the error in the list below. It might be already documented with how to fix it.
Could not find the error?
please reply to this thread with the error then I can add it to the list.
Got a solution for an error.
check if the solution is not already listed if not, then please reply to this thread with the error number (or error if not listed yet) and the solution.
Error List
[[StarCraftMaps]\UI Layout Files\[StarCraftMaps]\UI Layout Files\Move Info Panel.SC2Layout: in 1 :col 1 ] Frame tag encountered with no root Desc tag.
(UI) is marked as Blizzard-only and can only be created by Blizzard.
Fixes
<Desc></Desc>
" and add at the top "<?xml version="1.0" encoding="utf-8" standalone="yes"?>
"instead of
SC2Layout Bugs and Fixes
Here I'm going to list all the bugs and the fixes for it in the UI.
The same list can be found here: Tutorial: SC2Layout Files override Method - UI Bugs and Fixes
Please post any unlisted bugs here as a reply or in the forum with the [bug] tag prefixed.
The following SC2Layout, Assets.txt files or Information is needed to fix certain UI bugs:
(the file which is linked to the described problem fixes this.)
The following bugs should be fixed in SC2 v1.5:
My apologies, I posted a bug in a tutorial thread before I saw this- I accessed the tutorial from a link by ProzaicMuse on the Blizzard forums.
The behavior bar and Unit Wireframe cannot be modified. "(UI) is marked as Blizzard-only and can only be created by Blizzard."
The listed message is created as an error upon attempting to move a Unit Wireframe or Behavior Bar.
@Dragoneles: Go
that error is because creation of a frame of that type is not allowed by non-blizzard maps.
if you wrongly reference an existing frame then you can also get that message because the game thinks you want to create a new frame of that type.
I will add this to the list above when I have more time.
Anyone having problems in WoL saving the UI changes? Cant seems to find reason why sometimes it doesnt save the changes to UI layout. Maybe someone found the sequence how to save everytime the changes in UI?!?!?! Something have to do with the window in which you press save or the timing... idk :/
I get these annoying errors loading my map. Not sure why it cant write value and why so large. Need a bit of help tracking them down. Thanks
[6/6/2013 6:41:31 PM] Warning: XML: GameData\BehaviorData.xml(314,9) : Unable to write value: 4294967295; reason: Core: invalid or unexpected object format Source: Source C:beta.SC2Map SpecialUsed Scope: CBehaviorBuff Field: MaxStackCount
[6/6/2013 6:41:31 PM] Warning: XML: GameData\BehaviorData.xml(437,9) : Unable to write value: 999999999; reason: Core: invalid or unexpected object format Source: Source C:beta.SC2Map StimPack2 Scope: CBehaviorBuff Field: MaxStackCount
[6/6/2013 6:41:31 PM] Warning: XML: GameData\GameUIData.xml(14,9) : Unable to find field AutoVariant Source C:beta.SC2Map Dflt Scope: CGameUI
[6/6/2013 6:41:31 PM] Warning: XML: GameData\GameUIData.xml(15,13) : Unable to find field MinPlayers Source C:beta.SC2Map Dflt Scope: CGameUI
[6/6/2013 6:41:31 PM] Warning: XML: GameData\GameUIData.xml(16,13) : Unable to find field MaxPlayers Source C:beta.SC2Map Dflt Scope: CGameUI
[6/6/2013 6:41:31 PM] Warning: XML: GameData\GameUIData.xml(17,13) : Unable to find field TeamCount Source C:beta.SC2Map Dflt Scope: CGameUI
[6/6/2013 6:41:31 PM] Warning: XML: GameData\GameUIData.xml(18,13) : Unable to find field PlayersPerTeam Source C:beta.SC2Map Dflt Scope: CGameUI
@RAJOD: Go
1. Wrong forum. This is not sc2 UI related.
2. Blizzard changed the fields in the gameUI it seems. Your map has fields the editor doesn't know anymore, so he doesn't know where to put the data your map contains and throws error messages instead.
The first 2 errors occur because the max stack count value in 2 behavior entries are too big. So you should edit those values. The editor might be smart enough to give you a proper upper border for the value now.
To fix the other things the editor complains about, change a value in the GameUI tab of the data editor. Save the map, revert the value to what was there before (-> right click field -> reset to parent -> chose upper option) and save the map again. The change in the data makes the editor overwrite that section in your map when you save it. Then you go ahead and revert that change and save again.
@Ahli634:
Thanks for the reply. Sorry did not see a spot for this type of question and well you did use UI in the reply so it sort of relates in a convoluted way :)
The map still works fine so im not sure if those stack errors are causing any harm.
I checked "special used" and its max stack was set to 65,000 all i did was change it to 400 and the error is gone. But I really don't know what the max stack should be set at. I guess I don't understand what the stack value is for and how to figure out what the max value should be set at. Why cap it etc.
Thanks
Max stack value is the amount of behaviors of that type that can be applied to a unit. With a max stack of 1 or 0, there is only 1 behavior of that type on a unit.
For example, if you would give stimpacks stacks, then marines could stim multiple times and run/shoot even faster.