1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Participate in Blizzard's Public Test Realm to give them feedback on the upcoming patches. Info is here.
    Dismiss Notice
  3. Take part in forum poll and decide the winner of Icon Contest #16!
    Dismiss Notice
  4. Congratulate the winners of the first ATC contest!
    Dismiss Notice
  5. Zwiebelchen is hosting a special UI texturing contest. Whomever wins will get a $150 reward through paypal! Come along and draw your texturing tools for the Fantastic Adventurer UI contest.
    Dismiss Notice
  6. Sneak, pickpocket and assassinate! Create a stealth map in Mini-Mapping Contest #14!
    Dismiss Notice
  7. Music Contest #8 - Hive Soundtrack is up! Create the soundtrack for the upcoming videos of Hive Workshop's YouTube Channel.
    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:
    10,800
    Resources:
    8
    Tools:
    3
    Maps:
    5
    Resources:
    8
    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,337
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Yay it's out! Nice work chieftain.
     
  3. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    10,800
    Resources:
    8
    Tools:
    3
    Maps:
    5
    Resources:
    8
    Thanks :)
     
  4. MindWorX

    MindWorX

    Tool Moderator

    Joined:
    Aug 3, 2004
    Messages:
    626
    Resources:
    2
    Tools:
    2
    Resources:
    2
    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:
    10,800
    Resources:
    8
    Tools:
    3
    Maps:
    5
    Resources:
    8
    Just hit the spells section.
     
  6. HappyTauren

    HappyTauren

    Joined:
    Nov 3, 2006
    Messages:
    7,803
    Resources:
    82
    Models:
    61
    Icons:
    20
    Packs:
    1
    Resources:
    82
    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,214
    Resources:
    5
    Icons:
    1
    Spells:
    4
    Resources:
    5
    Awesome! Looks gorgeousss
     
  8. KILLCIDE

    KILLCIDE

    Code Moderator

    Joined:
    Jul 22, 2015
    Messages:
    2,927
    Resources:
    7
    Icons:
    1
    Spells:
    6
    Resources:
    7
    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:
    535
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Awesome! Very useful.
     
  10. Kostyarik

    Kostyarik

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

    Marcos_M

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

    BloodSoul

    Joined:
    May 10, 2009
    Messages:
    294
    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:
    378
    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

    Code Moderator

    Joined:
    Jul 22, 2015
    Messages:
    2,927
    Resources:
    7
    Icons:
    1
    Spells:
    6
    Resources:
    7
    It doesn't work for protected maps.
     
  15. Spellbound

    Spellbound

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

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    10,800
    Resources:
    8
    Tools:
    3
    Maps:
    5
    Resources:
    8
    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,154
    Resources:
    21
    Models:
    1
    Icons:
    12
    Template:
    8
    Resources:
    21
    Very Coooool, Chief! :)
     
  18. Daffa the Mage

    Daffa the Mage

    Joined:
    Jan 30, 2013
    Messages:
    5,525
    Resources:
    11
    Maps:
    4
    Spells:
    7
    Resources:
    11
    HOORAY FOR NO MORE TRIGGER INCLUDING SPELL UPLOADS! Oh wait, still not yet.
     
  19. A]mun

    A]mun

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

    A Void

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