1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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
  3. Here are the winners of Icon Contest #15!
    Dismiss Notice
  4. Sneak, pickpocket and assassinate! Create a stealth map in Mini-Mapping Contest #14!
    Dismiss Notice
  5. Daffa the Mage challenged Rheiko to create the better GUI spell. Vote who you think was best here!
    Dismiss Notice
  6. Decide who's the leader among the leaders! The poll for the Paired Modeling/Texturing Contest #3 is up!
    Dismiss Notice
  7. Join Music Contest #7 - Location! Craft a song that depicts any place.
    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,756
    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,302
    Yay it's out! Nice work chieftain.
     
  3. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    10,756
    Thanks :)
     
  4. MindWorX

    MindWorX

    Tool Moderator

    Joined:
    Aug 3, 2004
    Messages:
    608
    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,756
    Just hit the spells section.
     
  6. HappyTauren

    HappyTauren

    Joined:
    Nov 3, 2006
    Messages:
    7,798
    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,203
    Awesome! Looks gorgeousss
     
  8. KILLCIDE

    KILLCIDE

    Code Moderator

    Joined:
    Jul 22, 2015
    Messages:
    2,786
    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:
    506
    Awesome! Very useful.
     
  10. Kostyarik

    Kostyarik

    Joined:
    Dec 28, 2014
    Messages:
    15
    Hah, that's a good one =)
     
  11. Marcos_M

    Marcos_M

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

    BloodSoul

    Joined:
    May 10, 2009
    Messages:
    207
    Nicely done. One of the most coolest features!
     
  13. Eat_Bacon_Daily

    Eat_Bacon_Daily

    Joined:
    Jan 4, 2014
    Messages:
    363
    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,786
    It doesn't work for protected maps.
     
  15. Spellbound

    Spellbound

    Joined:
    Jan 9, 2005
    Messages:
    1,515
    That's an amazing feature! It'll surely come it very handy.
     
  16. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    10,756
    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,014
    Very Coooool, Chief! :)
     
  18. Daffa the Mage

    Daffa the Mage

    Joined:
    Jan 30, 2013
    Messages:
    5,382
    HOORAY FOR NO MORE TRIGGER INCLUDING SPELL UPLOADS! Oh wait, still not yet.
     
  19. A]mun

    A]mun

    Joined:
    Dec 4, 2007
    Messages:
    505
    Very noice.
     
  20. A Void

    A Void

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