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!

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Report RSS SCAR highlighting in Atom (view original)
SCAR highlighting in Atom
embed
share
view previous next
Share Image
Share on Facebook Post Email a friend
Embed Image
Post comment Comments
Kiril_470
Kiril_470 - - 283 comments

No clue what I am looking at but definitely looks great with less red underlines.

Reply Good karma Bad karma+18 votes
FragJacker Author
FragJacker - - 1,624 comments

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.

Reply Good karma+2 votes
Kimmy⠀Kat
Kimmy⠀Kat - - 4,538 comments

Talk about spell/grammar checks.

Reply Good karma Bad karma+3 votes
Machine-Reaper
Machine-Reaper - - 2,221 comments

so that means we can finally expect a DOW:UA Campaign???!!!

Reply Good karma Bad karma+12 votes
FragJacker Author
FragJacker - - 1,624 comments

That is definetely planned for the future and the proper code formatting may help in achieving that goal faster :D

Reply Good karma+3 votes
Machine-Reaper
Machine-Reaper - - 2,221 comments

yay

Reply Good karma Bad karma+1 vote
***Geroj***
***Geroj*** - - 2,161 comments

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?

Reply Good karma Bad karma+7 votes
RomRomRya
RomRomRya - - 299 comments

That looks cool, should speed up things a bit!

Reply Good karma Bad karma+3 votes
50ShadesofGray
50ShadesofGray - - 412 comments

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.

Reply Good karma Bad karma+1 vote
FragJacker Author
FragJacker - - 1,624 comments

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.

Reply Good karma+1 vote
Zeidra_Senester
Zeidra_Senester - - 541 comments

You can have dark background in notepad++ too.

Reply Good karma Bad karma-1 votes
xXBerethorXx
xXBerethorXx - - 587 comments

I've only read about the fundamentals of code, but damn that looks A LOT cleaner. Great work!

Reply Good karma Bad karma+1 vote
FragJacker Author
FragJacker - - 1,624 comments

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.

Reply Good karma+1 vote
PhotogenicWhorse
PhotogenicWhorse - - 129 comments

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.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

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!