Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

How's Wurst?

Discussion in 'Warcraft Editing Tools' started by Marsmallos, Apr 5, 2018.

  1. Marsmallos

    Marsmallos

    Joined:
    May 20, 2008
    Messages:
    138
    Resources:
    0
    Resources:
    0
    Been thinking about getting back into Warcraft 3 modding, maybe resurrect some old project. Back in the days I used to do everything with GUI triggers but during my absence from Warcraft I've learned a lot more about programming. I've been looking at Wurst and it looks kind of nice. People who have used it - how is it? Do people use it? Is it a solid alternative to vJass or has it even started to replace it (i never learned vJass)? Does it work well or is it buggy?

    Cheers!
     
  2. pick-a-chew

    pick-a-chew

    Joined:
    Jul 15, 2007
    Messages:
    733
    Resources:
    4
    Icons:
    2
    Maps:
    2
    Resources:
    4
    I don't use it but i believe the attitude towards it is this: if you're good at coding and are looking to start a new project from scratch, and you have the choice between learning vJass or Wurst, you should go with Wurst. Else stay with vJass if you already know it.
     
  3. Chaosy

    Chaosy

    Tutorial Reviewer

    Joined:
    Jun 9, 2011
    Messages:
    11,065
    Resources:
    18
    Icons:
    1
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    18
    Wurst is what vjass should have been.

    If you know any programming language it should be a piece of cake to use.
    Only real downside is that it does not work too well with campaigns, and that wurst submissions cannot be used by (v)jass users.
    Wurst can use vjass and jass however, just not the other way around.
     
  4. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,545
    Resources:
    9
    Models:
    1
    Icons:
    2
    Maps:
    2
    Spells:
    3
    JASS:
    1
    Resources:
    9
    I cannot say per se, but the number of those using Wurst has increased quite impressively, and I suppose the reason behind it is that the majority of the Wurst Users are new Warcraft 3 modders. It even has the ability to test in-game behavior outside of the game, though it is not expected to accurately reflect the entire behavior in-game (something like 85% - 95%).

    Due to Wurst being envisioned as a solid alternative to vJASS, I would say with confidence that it is actively being developed. You can even contact the following who, as far as my knowledge goes, use Wurst:
    @Frotty, @HappyTauren, @Chaosy, @Cokemonkey11.

    If your Warcraft 3 version is updated (v.1.28+), and you like to generate new objects with ease, I'd suggest going into Wurst.
    The ability to generate objects in the Object Editor by script, offered by vJASS, using lua, is somewhat not working (e.g. Cannot extract Units/MetaData.slk exception).

    Otherwise, if you feel like having an output script that best resembles the input script, it would be preferable to pick vJASS. (low-level resemblance).
     
  5. Frotty

    Frotty

    Wurst Reviewer

    Joined:
    Jan 1, 2009
    Messages:
    1,479
    Resources:
    11
    Models:
    3
    Tools:
    1
    Maps:
    5
    Tutorials:
    1
    Wurst:
    1
    Resources:
    11
    I would only call a compiler "buggy" if it crashes unexpectedly or produces erroneous output code.
    Both things haven't been the case for quite some time and even the standard library is mostly unit tested now.
    There are some bugs which prevent certain esoteric language constructs to be used, but these simply produce an error when they shouldn't, in theory.

    So no, I wouldn't call it buggy, and yes, it's still actively developed.
    As MyPad said, unless you want unbridled low level access, Wurst is usually the better choice for wc3 modding.
    I would argue that it is also easier to learn than vJass, as it is more readable, you get instant feedback on errors as well as excellent autocomplete in the code editor and wurst resembles popular programming languages like kotlin/java/python more closely.
    However our tutorials section is still lacking on fundamentals..
    You can see some maps developed with wurst in our WurstScript • Showcase

    Feel free to drop by our chat to talk some wurst!
     
  6. Marsmallos

    Marsmallos

    Joined:
    May 20, 2008
    Messages:
    138
    Resources:
    0
    Resources:
    0
    Yeah this looks very cool!

    This is what excited me the most when I started reading about Wurst :) I always found Jass to be a bit hard to read and understand.
     
  7. Donach

    Donach

    Joined:
    Jan 12, 2011
    Messages:
    98
    Resources:
    1
    Tutorials:
    1
    Resources:
    1


    I can only second what Frotty said.
    Wurst is the best invention since vJass. Go for it, you won't ever wanna go back to vJass, not even talking about GUI.
     
  8. Bannar

    Bannar

    Joined:
    Mar 19, 2008
    Messages:
    3,099
    Resources:
    20
    Spells:
    5
    Tutorials:
    1
    JASS:
    14
    Resources:
    20
    C# is Java done right.
    Wurst is vJass done right.

    @MyPad I don't use Wurst at all. Kappa.