Skip to content

Releases: ItsDeltin/Overwatch-Script-To-Workshop

v2.5

14 May 23:13
Compare
Choose a tag to compare

Change: Reduced element count of interpolated strings in output.
Fixed: Interpolated strings not working in certain scenarios.
Fixed: #396

v2.4

10 Mar 04:28
Compare
Choose a tag to compare

Feature: Added TruncateClassData()
Feature: Added DeleteAllClasses()
Feature: Added DoNotOptimize<T>(T value)

v2.3

07 Mar 16:18
Compare
Choose a tag to compare

The continue statement now compiles as the Skip action instead of the Continue action due to a bug with nesting ifs inside whiles in the workshop.

v2.2

07 Mar 06:26
Compare
Choose a tag to compare

Feature: Added GetLines() & GetPoints()

Feature: Added DistanceTo in the player type

Change: Optimized pathmap creation

Fixed: First created class having a reference of 0 (_classIndexes[0] is now -1)

Fixed: Ref not working properly in constructors

Fixed: Exception when marking a macro as ref

Fixed: Exception when method groups are used in incorrect places

Fixed: Vector.Zero returning 0 instead of a Zero vector

Fixed: Structs now work in foreach

Fixed: Updated jump pad example for v2.0+ syntax

Fixed: Added error when creating an empty struct type

Fixed: Local variables can no longer be marked with in or ref

v2.1

09 Nov 17:19
0382296
Compare
Choose a tag to compare

Change: McCree's name to Cassidy (@CactusPuppy )
Feature: Added Mode Name to lobby settings (@CactusPuppy )
Feature: Array mapping now supports generics
Feature: Support for struct mapping
Lobby Settings: Added Malevento (@scorttt )
Lobby Settings: Added more data centers (@CactusPuppy )
Lobby Settings: Adjusted Mei freeze rate scalar minimum (@CactusPuppy )
Fixed: Some issues regarding struct arrays
Fixed: Some issues regarding nesting lambda expressions

v2.0

26 Jun 02:26
Compare
Choose a tag to compare
  • New feature: Structs (wiki)
    A new type that can be used to encapsulate data. Unlike classes, it does not need to be allocated and manually deallocated.
    See also: wiki/data-types
    Known bugs: #351

  • New feature: Type args

  • New feature/Breaking change: ref's functionality updated to be closer to c#. in replaces old ref behavior.
    Note: see #344

  • Breaking change: Constructor syntax updated.
    Now declared using the constructor keyword. Ex: public constructor(in Number value) {}

  • Breaking change: BlockLambda, ValueBlockLambda, and MacroLambda types have been replaced with dedicated syntax.
    Inline lambdas are now created by preceding a function type with the 'const' keyword like so: const () => void

  • Breaking change: EvaluateOnce and UpdateEveryFrame now returns the type of the provided argument.

  • Breaking change: Type aliasing temporarily disabled, see #350.

  • Breaking change: ProgressBarEvaluation is now ProgressBarHudEvaluation and ProgressBarWorldEvaluation

  • Change: The Any type can now be used to deallocate class instances.

  • Change: Lobby range errors are now nonfatal warnings.

  • Change: 'Weapon Freeze Rate Scalar' minimum reduced from 25 to 0.

  • Change: Extended collections & array builder is no longer assigned if not needed.

Notice: There have been a lot of internal changes. If your script behaves unexpectedly unrelated to the listed breaking changes, contact me.

v2.0-beta.13

17 Feb 07:40
Compare
Choose a tag to compare
  • Updated element counter.
  • Decompiler: Support for decompiling extensions.
  • Fixed: Exception when opening completion for defined enumerators.
  • Fixed: Importing maps with parentheses.
  • Fixed: Decompiling Capture the Flag settings.
  • Fixed: Ternary conditionals use If-Then-Else rather than C syntax.
  • Fixed: 'McCree Flashbang Explosion Sound' typo.

v2.0-beta.14

28 Feb 23:45
5946b04
Compare
Choose a tag to compare
type Players = Player | Player[];
globalvar Players zombies;
  • Fixed: Elements issues #309 and #311.
  • Fixed: WorkshopSettingHero and WorkshopSettingCombo return types. #307

v2.0-beta.12

10 Feb 01:06
Compare
Choose a tag to compare

v2.0-beta.11

07 Feb 06:35
Compare
Choose a tag to compare
v2.0-beta.11 Pre-release
Pre-release
  • New Feature: Gamemode support for Bounty Hunter.
  • New Feature: Map support for Workshop Green Screen, Kanezaka, and Practice Range.
  • Lobby: Projectile Speed max value 300 -> 500.
  • Lobby/Decompiler: Support for shared mode settings.
  • Decompiler: Fixed decompiling workshop functions with explicit rework.
  • Fixed: Player variable ambiguity when doing Player | Player[].
  • Fixed: Ternary conditionals and unknown binary operators returning null types.
  • Fixed: Updated some workshop function return types and parameter types.
  • Fixed: Formatting localized strings.