1. Want to make a short map for the June 30 Custom Game Night? Check out AvatarsLord's Map Challenge!
    Dismiss Notice
  2. Join in on Icon Contest #17 and show your interpretation of a legendary equipment set!
    Dismiss Notice
  3. Join us in our custom games night on Saturday, June 30. We'll see you on Battle.net and Discord!
    Dismiss Notice
  4. Texturing Contest #28 has come to an end; vote for your favorite swamp dweller here! You can vote up to 3 entries.
    Dismiss Notice
  5. The Maxwell vs PrinceYaser Icon Challenge has come to a finish. See the results here!
    Dismiss Notice
  6. We've created the Staff Job Openings thread. We're currently in need of icon, video production, and social/multimedia positions to be filled. Thank you!
    Dismiss Notice
  7. Music Contest #10 Retro is out! Join us for some retro/vintage fun!
    Dismiss Notice
  8. Don't be stagnant - embrace change! The time has come to evolve and join the Techtree Contest #12 - Evolution.
    Dismiss Notice
  9. On May 20th a new law about privacy and data processing comes into work in the EU. I am no lawyer and I need help figuring out if we comply and if not, what we must do about it. Please message me if you can provide any assistance. Read more. Ralle
    Dismiss Notice

Introducing the Trigger Viewer

Discussion in 'Latest Updates and News' started by Ralle, Jul 15, 2017.

  1. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    11,025
    Resources:
    22
    Tools:
    3
    Maps:
    5
    Tutorials:
    14
    Resources:
    22
    As some of you might know, I slave away making changes to the site and logging them in my changelog. Sometimes these changes are nice and helpful but not worthy of news but sometimes they can be quite significant.
    Today I am happy to announce to you the "Preview Triggers" function. On every map without map protection in the maps and spells section you will find a little link right next to the famous "View Resources In Use" called "Preview Triggers":
    Screenshot 2017-07-15 20.46.13.png
    This shows you a replica of the World Editor's Trigger Editor with all triggers of the map. These triggers can be copy-pasted into [trigger] tags with correct indentation and each trigger also has a link so you can reference it in a post.
    Screenshot 2017-07-15 20.47.14.png
    This will be a useful tool in many situations: when showing examples of how things are made in the World Editor Help Zone, when spell and map moderators take a quick look at the source of a map to form an opinion, when browsing for a spell and looking at how its made before deciding to download it and many more.

    This tool also brought along with it a much more exact specification for the war3map.wtg file format which is big progress for the modding community. Now we are one step closer to knowing everything there is to know about the file formats in maps so we can one day seize control and make our own full alternative World Editor!

    Please post all feedback related to this tool in Site Discussion / Bug Reports. I am very interested in differences between the World Editor and this Trigger Viewer in terms of rendering text. I know there are a few cases where they are not the same. Please help me make it more accurate :).
     
  2. StoPCampinGn00b

    StoPCampinGn00b

    Community Manager

    Joined:
    Apr 2, 2013
    Messages:
    2,433
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Yay it's out! Nice work chieftain.
     
  3. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    11,025
    Resources:
    22
    Tools:
    3
    Maps:
    5
    Tutorials:
    14
    Resources:
    22
    Thanks :)
     
  4. MindWorX

    MindWorX

    Blizzard Developer

    Joined:
    Aug 3, 2004
    Messages:
    680
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    Damn that's sexy. Could you add a few examples to the post perhaps? Just links to a few resources. Apparently I'm very skilled in only selecting protected maps.
     
  5. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    11,025
    Resources:
    22
    Tools:
    3
    Maps:
    5
    Tutorials:
    14
    Resources:
    22
    Just hit the spells section.
     
  6. HappyTauren

    HappyTauren

    Joined:
    Nov 3, 2006
    Messages:
    8,427
    Resources:
    86
    Models:
    61
    Icons:
    22
    Packs:
    1
    Tutorials:
    2
    Resources:
    86
    Holy moose that's cool as fvckkkkkkkk

    I mean I absolutely won't need it but it looks really useful and it's obvious a ton of work went into this. You've really come a long way from setting up a rather simple PHPBB site :)
     
  7. PurgeandFire

    PurgeandFire

    Code Moderator

    Joined:
    Nov 11, 2006
    Messages:
    7,313
    Resources:
    18
    Icons:
    1
    Spells:
    4
    Tutorials:
    9
    JASS:
    4
    Resources:
    18
    Awesome! Looks gorgeousss
     
  8. KILLCIDE

    KILLCIDE

    Administrator

    Joined:
    Jul 22, 2015
    Messages:
    3,295
    Resources:
    20
    Models:
    2
    Icons:
    10
    Spells:
    7
    Tutorials:
    1
    Resources:
    20
    Looks great, Ralle. I almost said that we could probably get rid of the rule in the Spell Section where submissions musnt include code / triggers in the description until I noticed that syntax highlighting isn't supported.
     
  9. UmbraUnda

    UmbraUnda

    Joined:
    Mar 31, 2016
    Messages:
    573
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Awesome! Very useful.
     
  10. Kostyarik

    Kostyarik

    Joined:
    Dec 28, 2014
    Messages:
    24
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Hah, that's a good one =)
     
  11. Marcos_M

    Marcos_M

    Joined:
    Jan 23, 2011
    Messages:
    341
    Resources:
    0
    Resources:
    0
    Damn!
    Awesome feature
    10/10
     
  12. BloodSoul

    BloodSoul

    Joined:
    May 10, 2009
    Messages:
    589
    Resources:
    2
    Spells:
    2
    Resources:
    2
    Nicely done. One of the most coolest features!
     
  13. Eat_Bacon_Daily

    Eat_Bacon_Daily

    Joined:
    Jan 4, 2014
    Messages:
    426
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Holy shit man. You just created the solution to all the "can someone unprotect this map so I can see how he/she made this trigger". You also simultaneously turned hive into an amazing open source for triggers/code resource. Praise be to Ralle the one true king of hivesteros!
     
  14. KILLCIDE

    KILLCIDE

    Administrator

    Joined:
    Jul 22, 2015
    Messages:
    3,295
    Resources:
    20
    Models:
    2
    Icons:
    10
    Spells:
    7
    Tutorials:
    1
    Resources:
    20
    It doesn't work for protected maps.
     
  15. Spellbound

    Spellbound

    Joined:
    Jan 9, 2005
    Messages:
    1,821
    Resources:
    10
    Skins:
    4
    Spells:
    6
    Resources:
    10
    That's an amazing feature! It'll surely come it very handy.
     
  16. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    11,025
    Resources:
    22
    Tools:
    3
    Maps:
    5
    Tutorials:
    14
    Resources:
    22
    Thanks everyone!

    Syntax highlighting is on the list of things to do. I just had a vanilla trigger viewer as my focus to begin with.

    Now to those of you who like homework. I would like examples of triggers using the following types of data:
    Code (Text):
    destructablecode
    ordercode
    techcode
     
  17. PrinceYaser

    PrinceYaser

    Joined:
    May 7, 2016
    Messages:
    1,825
    Resources:
    67
    Models:
    1
    Icons:
    52
    Skins:
    5
    Maps:
    1
    Template:
    8
    Resources:
    67
    Very Coooool, Chief! :)
     
  18. Daffa the Mage

    Daffa the Mage

    Joined:
    Jan 30, 2013
    Messages:
    6,532
    Resources:
    16
    Maps:
    5
    Spells:
    10
    Tutorials:
    1
    Resources:
    16
    HOORAY FOR NO MORE TRIGGER INCLUDING SPELL UPLOADS! Oh wait, still not yet.
     
  19. A]mun

    A]mun

    Joined:
    Dec 4, 2007
    Messages:
    678
    Resources:
    0
    Resources:
    0
    Very noice.
     
  20. A Void

    A Void

    Joined:
    Mar 29, 2011
    Messages:
    2,474
    Resources:
    10
    Models:
    2
    Spells:
    1
    Tutorials:
    7
    Resources:
    10
    That's amazing! Hive has been improving a lot! Thanks to Ralle and skilled people who worked hard to make sure this was implemented. =)