Ultimate Apocalypse is a mod for Dawn of War Soulstorm, which aims to create the most diverse possible unit and faction selection within the confines of the original DOW engine. We strive to create the most engaging and balanced Warhammer 40,000 game that we can, without sacrificing the fun factor. From hordes of Orks to the towering Titans, you can always find a new way to play UA. We invite all of you to join us on our Discord server to keep up with the development of the mod!
Greetings folks I've been working the last few days on a tiny useful package for the Atom text editor (Get it here Atom.io), that allows syntax highlighting for the SCAR code used by the DoW engine to script maps and winconditions.
The idea is to take advantage of all the cool stuff that the Atom texteditor provides and make it available to the DoW modding community.
On the picture you can see the comparison between how the code looked previously and how it looks after I applied my Atom package.
My next steps would be to add some sort of autocomplete for the SCAR functions to the package as well as automatic code formatting in order to help anyone to either learn or write custom SCAR code to make amazing new scripted maps and game rules/winconditions!
No clue what I am looking at but definitely looks great with less red underlines.
You're looking at some actual color highlighting for the underground scripting language SCAR that was used by relic back in the day to handle all sorts of scripted behavior from Map scripts to winconditions.
This should help for better readability of any written code as well as better formatted code.
Talk about spell/grammar checks.
so that means we can finally expect a DOW:UA Campaign???!!!
That is definetely planned for the future and the proper code formatting may help in achieving that goal faster :D
yay
They found alien code and it had only power to do one thing - It was able to create one zero point power generator that would power whole planet or space elevator that would put our civilization into space age or reprogram our DNA and create super humans OR balance this mod. Guess what was their choice?
That looks cool, should speed up things a bit!
For someone who has played with the SS campaign using the UA mod, the colour coding is a nice change. But, notepad++ was already doing this.
That is only partially true. By default Notepad++ will load SCAR code in plaintext format as well, just like the Atom editor. You can however set the language manually to anything that somewhat resembles SCAR code in Notepad++ and call it a day and live with a more or less optimal syntax highlighting.
I was unhappy with that solution and just wanted to create a SCAR language extension for my favourite code Editor (Dark background ftw) so I have proper syntax highlighting that fits to the specific SCAR functions and THEN call it a day :P.
You can have dark background in notepad++ too.
I've only read about the fundamentals of code, but damn that looks A LOT cleaner. Great work!
My overall goal would not just be full SCAR syntax highlighting but also SCAR specific function autocomplete like it does in Code IDE's such as Visual Studio or Eclipse.
This way you wouldn't have to look into the SCARdoc everytime you forgot the exact name of a specific SCAR function :P.
Ah yes this all looks in order, could use more code up top and a little less code in the middle, carry your ones and make sure you use some code at the end there.
Lol I have no ******* clue what I'm looking at.