Omni is a standalone application for writing your triggers in galaxy-code. It works outside the SC2 editor, but is integrated to it: you write the code in Omni and for compiling and testing it, you must have the SC2 editor running in order to Omni handle to it a modified version of the map script, the code you write in Omni is injected in the SC2 map-editor whenever you save or compile the map.
I've being developing it for more that one year, and at the beginning the goal was to make it for Warcraft, but then I slowly made it for SC2 since I completely dropped making maps for WC3. Thats why the trigger tree is like in World editor, only one level of triggers and categorys.
It already has support for plugins, but the SDK isnt ready yet. I already wrote one as an example of how one could write a parser, or a preprocessor, for Omni.
I havent writen a proper documentation how to use it, but I am sure anyone can discover for yourself, its just straightforward. However in the .zip there is a demonstration map that you should open with Omni, and read some explanations.
Some random notes:
the code-editor has: autocomplete, natives list, parameter list, syntax highlightning
whenever it crashes, you can send me the report if you want
MAKE SURE TO BACKUP YOUR MAP BEFORE USING IT IN THIS TOOL!!! I havent made yet an auto-backup feature
it supports both WoL and HotS editors
So you got your map, and want to write some trigger in Galaxy language with this tool, the sequence of things you might follow to get started is:
Open your map in Omni
Run the SC2 map-editor, and then open the same map on it
In Omni, there are two bars at the top, where it reads "GE.I", its an status if it has detected that your map is open in SC2 map-editor, both bars must be green in order to be able to compile your code
In the trigger tree, right-click in the name of your map and create a category
Then right click in the category and create your first trigger
After writing some code for your trigger, if GE.I is all green, you can press F7 to compile and check for errors
press F9 to test it the game
F7 does not save any changes, so make sure to save it when appropriated, whenever your issue a Save in Omni, it also triggers a save in the SC2 map-editor
CHANGELOG for v1.3
supports the new version of the Galaxy Editor for WoL (v2.04 build 2494) and HotS (v2.00 build 24247)
And could you supply the map with Chinese language(zhCN)?The character of Chinese is displayed error.Using SE with zhCN or other Language except enXX , the Triggger name would auto name with SE`s language ,such as 无标题的触发器 001.This mistake may ignore by programmers who is speak English.I am not a programmer and poor in English. I don`t know whether it is easy to supply other language.And i think it may be a good idea that Omni supply multi-language.
anyone has WOL and HOTS installed? plz make this test: can you open both WOL and HOTS editor at the same time?
(got my beta key but havent installed it yet)
you mean just a simple listing of all natives so you can double-click to insert it as code?
well, there isn't, but I could easily do it as a panel, like the other ones (Find/replace, Map info), though it might look a bit small ..
yes, I can support Chinese characteres as the app is Unicode aware, but I've never worked with chinese, its hard for me to test, so you must tell me exactly whats wrong, I didnt understand the problem you just said. I did the following test: pasted 无标题的触发器 as the trigger content and the trigger name, saved it, closed the map, reopened it, and yes, the chinese words were saved
I have upload a map create with the zhCN SE(we call StarCraft II Editor as SE) ,and a picture show the error characther whith the map name.
Because I had reinstall win8 and I had not reinstall the SC2, so I don`t know if it is related with the error.
And the multi-language just mean that there is a language file(such as a .xml),which we can choose different language file to choose the language of Omni.
The user of Omni in different can translate button names and text descriptions in the language file.You know Notepad
updated to version 1.01, the changelog is in the .zip, major update is that it now supports the HotS beta editor
So you would like Omni in chinese? sorry but I wont be adding multilanguage UI, its too much trouble.
I see no problem in the characters of that picture, though I see that the bars of GE.I. are red, so its not working, maybe because you havent yet updated SC2 since you just reinstalled it, Omni only recognizes the last version of the editor. Tell me if still not working ..
I added to this last version of Omni a way of clearing that recent-file-list, its a shortcut, just press CTRL + SHIFT + F11, I am keeping a list of available shortcuts here
I think there is also some bug about check if the SE is running.
Omni can use whit SE in enUS , see the picture ,two bar change green and everything is ok.
But if my network speed is in a slow speed ,and SE can`t open immediately that another window shows as the screenshot instead, when the window is exist ,the bar is yellow ,and when it is closing before the SE window shows ,the bar turns red.
I had three SC2 ,enUS,zhCN,zhTW. If I use SE with zhCN ,bar of Omni is yellow at first ,and then turn red.
About the error character ,see the screenshot ,I named the map whit path C:\Duke\... as "测试地图" which mean "Test map",but in recent map,it show name another as the screenshot which mean nothing. And if i click it ,there may be a error occur that Omni crashes.
PS: I had edit the crashrpt_lang.ini and the error report window is translated to Chinese.
The version of SE you are using is correct, so its something with Omni. There is a 25 seconds timeout for the SE editor be fully open, else Omni fails.
I've compiled a version of Omni whithout the timeout (actually half an hour), also it is not displaying the map name (the chinese text) because I think its the source of some problems, so plz, download it and just replace the Omni.exe with this one and tell me if it works better: https:dl.dropbox.com/u/1515790/OmniFix.zip
yes, it is not showing purposely, as I said before, because it was causing some crashes in my tests here, I have to investigate why. I made it for you to test if its correctly attaching to SE so can use the tool, just tell if now the 2 bars turn green.
Sorry,because of my poor English ,I did not catch what you mean.
And the new version is also can not be use in zhCN SE, but works well in enUS SE.
When I run the Omni ,the bar of GE is red ,then I run SE, it is turn yellow ,and keeping yellow even I close SE , and at this time ,if I run enUS SE, the bar still yellow.
You should describe how the plugin functionality works, this tool will really take off if the community can contribute to the project via plugins. Some very simple things like how the dll loads the map file would be useful.
Might as well post a list of things I'd like to see changed, because then you know how much I like it :P
The empty space between General/Trigger and the editor environment, you seem to be using it as a stack for potential widgets. That's neat but it'd be great if there was an option to hide it, or fold it like there is with the title over the editor.
Have you considered adding a Data tab to look strictly at the xml?