Omnium: Code in TypeScript

Hello
TLDR: We can now use TypeScript make workshop maps - link at the bottom.

To a software developer, the workshop programming language is not optimal. I understand the need for a GUI based language, but as a programmer, I would much rather have a text based language with syntax highlighting and code completion.

So, I spent my spare time the last couple of months developing a compiler that translates from TypeScript to Overwatch workshop code. This can then be copy-pasted into the workshop.
Using this means,

  • Faster and easier development, if you are familiar with TypeScript.
  • You get syntax highlighting and code completion - using whatever TypeScript editor you prefer.
  • Variables can now be called whatever you want, instead of A, B, C
  • You can split your code up into functions, instead of duplicating it
  • Control flow is handled with normal if-scentences, as well as for, foreach and while loops, instead of skip/skip-if/loop
  • Large projects can be split into multiple files

This forum does not allow links, but you can find it on
https : / / github . com / Beier / Omnium

I hope other people finds this useful as well.

1 Like

Interesting will have to try this i love typescript :slight_smile:

Its my favorite language after C#