Skip to content

OSTW v0.7

Pre-release
Pre-release

Choose a tag to compare

@ItsDeltin ItsDeltin released this 06 Nov 04:45
· 1778 commits to master since this release
  • Switched from .net framework to .net core.
  • Updated for the workshop's new variable system.
    • Variables are no longer in the extended variable array by default.
    • Removed ChaseVariable() since now it's a better idea to use the workshop's Chase Variable Over Time/At Rate.
    • Removed variable overriding. (define myVar A) Variables defined at the rule level can use a specific ID by adding a number after the name. (define globalvar myGlobalVar 4)
    • If you are copying workshop code into an existing workshop, you can reserve variable names and IDs at the top of your script so the output won't use them. Numbers will reserve IDs, names will reserve variable names.:
globalvar {
    0,
    1,
    variableName
}
playervar {
    0,
    1,
    variableName
}
  • Removed GetMap(), replaced with the new workshop value CurrentMap(). Also updated the map enum.
  • Custom strings are now used by default. Localized strings are created like @"player: <0>".
  • Pick-and-choose parameters:
CreateHudText(
    Text     :"cool!",
    Location :Location.Right,
    TextColor:Color.Red
);
  • Added the Paris pathmap for pathfinding on Paris.

  • Improved performance of importing files. Doing one change will no longer re-parse all imported files. (#83)
  • Fixed constructors not being able to use parameter values.
  • Fixed setting player variables at an index. (#82)

v0.7.1

  • Fixed imports

v0.7.2

  • Fixed Map enum output (#84)
  • Fixed truncating long variable names (#85)

v0.7.3

  • Fixed crash when using root as an expression.
  • Fixed crash when some methods had incomplete parameters.
  • Fixed formatted localized strings.