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
TUTORIAL
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)
For autocomplete, it should work by default, you dont need to configure nothing: in a trigger, start typing the name of a native, and then press CTRL+Space to show the autocompletion list
Good job!
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)
@Juxtapozition: Go
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 ..
@whimsyduke: Go
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
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)
No you can´t. You can only have one open at a time.
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? It is a multi-language app with this way.And it is a open source software.Of course ,this is a suggestion of mine ,
There is another question .I had open Omni and SE with the same map but the bars even red. and where I can delete all the records of recently used map?Is this records record in the regedit?
updated to version 1.01, the changelog is in the .zip, major update is that it now supports the HotS beta editor
@whimsyduke: Go
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
@whimsyduke: Go
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.
@whimsyduke: Go
Sorry, but Omni will only work with SE in English, but you can change the locale of SE in the options: File/Preferences/Locale, then choose enUS or enGB.
Also you dont need to start Omni before running the editor, try opening Omni after SE is fully open.
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?
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:
TUTORIAL
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:
CHANGELOG for v1.3
DOWNLOAD v1.3
This looks very promising... I'll have to check it out sometime.
I can't wait to see a video :P
Any chance of beta hots version? D:
edit: how do i get the auto-complete and natives list to show up?
@Juxtapozition: Go
For HOTS, maybe this weekend I make it
For autocomplete, it should work by default, you dont need to configure nothing: in a trigger, start typing the name of a native, and then press CTRL+Space to show the autocompletion list
Ah great it worked. Is there anyway to see a complete natives list in omni?
This is really cool, :D.
@midiway: Go
Good job! 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.
Thanks for the app again.
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)
@Juxtapozition: Go 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 ..
@whimsyduke: Go 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
No you can´t. You can only have one open at a time.
@midiway: Go
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? It is a multi-language app with this way.And it is a open source software.Of course ,this is a suggestion of mine ,
Thanks for your reply
There is another question .I had open Omni and SE with the same map but the bars even red. and where I can delete all the records of recently used map?Is this records record in the regedit?
updated to version 1.01, the changelog is in the .zip, major update is that it now supports the HotS beta editor
@whimsyduke: Go 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
@midiway: Go
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.
@midiway: Go
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.
@whimsyduke: Go
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
@midiway: Go
Just like the screenshot ,the Chinese text show nothing .The map name is also "测试地图".This even happen at English name .
But it is right at the path of the map .
@whimsyduke: Go 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.
@midiway: Go
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.
@whimsyduke: Go Sorry, but Omni will only work with SE in English, but you can change the locale of SE in the options: File/Preferences/Locale, then choose enUS or enGB.
Also you dont need to start Omni before running the editor, try opening Omni after SE is fully open.
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