The Ultimate Apocalypse mod team proudly presents to the Dawn of War: Soulstorm players and fans, an eagerly awaited and packed with epic content game experience, the Ultimate Apocalypse mod! Imagine a mod featuring massive Warhammer 40,000 battles where all 9 races in Soulstorm (and more!) have a chance at epic victory. A mod where there's no shortage of all new units, buildings, abilities, and even titans! A mod where there's nearly no limits holding you back. It's all about all out, massive war. Wanna nuke your enemies? You can. Gloriously epic titan duels are your thing? Ultimate Apocalypse has you covered. Not only that, but Ultimate Apocalypse is continuously tested to ensure the epic battle experience it delivers remains unique while being completely awesome. Thanks to you (yes, you!) and everyone playing, Ultimate Apocalypse has been steady within the top 20 ranked mods for years.

  • 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 Tweet Email a friend
Embed Image
Comments
Kiril_470
Kiril_470

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

Reply Good karma Bad karma+17 votes
Cosmocrat Author
Cosmocrat

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+1 vote
Philosoraptor 
Philosoraptor 

Talk about spell/grammar checks.

Reply Good karma Bad karma+3 votes
Machine-Reaper
Machine-Reaper

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

Reply Good karma Bad karma+12 votes
Cosmocrat Author
Cosmocrat

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

yay

Reply Good karma Bad karma+1 vote
***Geroj***
***Geroj***

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

That looks cool, should speed up things a bit!

Reply Good karma Bad karma+3 votes
50ShadesofGray
50ShadesofGray

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
Cosmocrat Author
Cosmocrat

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

You can have dark background in notepad++ too.

Reply Good karma Bad karma-1 votes
xXBerethorXx
xXBerethorXx

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
Cosmocrat Author
Cosmocrat

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

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
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

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!

Details
Date
Size
1617×1991
Options
URL
Embed
Embed Thumb
Share
Explore
Browse archive
Feed
RSS
Report
Report