I'm pretty new to the editor, but I have some background with programming so I feel I'm catching on fairly quickly. I have been working on a test map over the course of a few days, and yesterday I ran into a very big issue. At some point while working on the map (I'm uncertain exactly when it happened), every single custom trigger I've made had it's name reset to "Untitled [Element] 001".
This issue is also effecting local variables which is now shown in the screenshot.
Oddly enough all the triggers still work in this state. When I create a new element, the name will still default to "Untitled [Element] 001" and subsequent elements after that will increment correctly. Manually renaming them doesn't cause issues; the names will once again save properly.
So I'm just looking for some insight into how this happened and how I can avoid it in the future. I'm fine with manually fixing the issue this time, but were it to happen later on when I have a lot of the map done, I would be in a pretty bad spot. Thanks for any feedback.
Which locale are you using and are there multiple in your map right now (Map {at the top} -> Locale, the one you are using has a checkmark next to its name)?
For your info, a map usually requires exactly one locale.
How does the TriggerStrings.txt content look like (-> import module, click the checkbox, find the file in a localized folder, does it have content)?
Having the map file would greatly help to try to understand what is wrong.
Also, make sure to tell Blizzard about that weird issue in their Editor Issues forum.
Everything I've modified in the data editor has the prefix "Escape - " so all custom stuff should be easily searchable.
I'll add this to the editor issues forum at some point today. I was hoping it was a known issue that had some simple remedy, but of course that would just be too easy.
Turns out the issue was just my own ignorance. Figure I'll post the answer on the off chance someone else runs into this.
It was as simple as not realizing I had the "View Raw Data" option turned on before I created my triggers, and then inadvertently turning it off again without realizing it. I basically just named all the triggers in the wrong view.
I'm pretty new to the editor, but I have some background with programming so I feel I'm catching on fairly quickly. I have been working on a test map over the course of a few days, and yesterday I ran into a very big issue. At some point while working on the map (I'm uncertain exactly when it happened), every single custom trigger I've made had it's name reset to "Untitled [Element] 001".
Here is a screenshot showing the issue: http://i.imgur.com/yTeWD1M.png
This issue is also effecting local variables which is now shown in the screenshot.
Oddly enough all the triggers still work in this state. When I create a new element, the name will still default to "Untitled [Element] 001" and subsequent elements after that will increment correctly. Manually renaming them doesn't cause issues; the names will once again save properly.
So I'm just looking for some insight into how this happened and how I can avoid it in the future. I'm fine with manually fixing the issue this time, but were it to happen later on when I have a lot of the map done, I would be in a pretty bad spot. Thanks for any feedback.
Which locale are you using and are there multiple in your map right now (Map {at the top} -> Locale, the one you are using has a checkmark next to its name)?
For your info, a map usually requires exactly one locale.
How does the TriggerStrings.txt content look like (-> import module, click the checkbox, find the file in a localized folder, does it have content)?
Having the map file would greatly help to try to understand what is wrong.
Also, make sure to tell Blizzard about that weird issue in their Editor Issues forum.
There is only one locale on the list, it is checked, and it is titled "English (US) <enUS>".
Here is a pastebin of the TriggerStrings.txt: http://pastebin.com/SXSMdXUi
Pretty much everything with a seemingly proper name (InitMap, u, p, unit, testnum, etc) was added or renamed after the bug occured.
Map Download: Link Removed: http://www.mediafire.com/download/13y23mx58eprop3/EscapeMap.SC2Map
Everything I've modified in the data editor has the prefix "Escape - " so all custom stuff should be easily searchable.
I'll add this to the editor issues forum at some point today. I was hoping it was a known issue that had some simple remedy, but of course that would just be too easy.
Turns out the issue was just my own ignorance. Figure I'll post the answer on the off chance someone else runs into this.
It was as simple as not realizing I had the "View Raw Data" option turned on before I created my triggers, and then inadvertently turning it off again without realizing it. I basically just named all the triggers in the wrong view.