Skip to content

General usage

Zezombye edited this page Nov 8, 2021 · 11 revisions

Installation

Decompiling your code

First, copy the workshop code from Overwatch using the "copy" button: uwu

Then, on VS Code, press Ctrl+Shift+P, then type "decompile". The "Decompile" command should pop up: owo

This will decompile the contents of your clipboard, and store the result in your clipboard.

Lastly, create an .opy file then open it in VS Code, and paste the clipboard contents.

If everything goes well, you will be able to start coding in OverPy: owo

Decompiling then compiling a gamemode, without any changes, yields the same effective gamemode.

Compiling

Press the "Compile" button at the top right:
owo

You can also save the file to trigger a compilation (can be disabled in the options).

If everything goes right, you should get a success notification, and the content of the code is copied into your clipboard. Else, you will get an error:
owo