1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Group up and create a Warcraft hero based on a member of the Hive and win up to 100 rep and a rank icon. Enter the team contest now!
    Dismiss Notice
  3. The Music Contest #8 Results are out! Congratulate the creators of Hive's coolest soundtracks!
    Dismiss Notice
  4. Dismiss Notice
  5. The results for Mini-Mapping Contest #14 is up! Congratulate the winners here!
    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,844
    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

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

    Ralle

    Owner

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

    MindWorX

    Tool Moderator

    Joined:
    Aug 3, 2004
    Messages:
    630
    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:
    10,844
    Resources:
    22
    Tools:
    3
    Maps:
    5
    Tutorials:
    14
    Resources:
    22
    Just hit the spells section.
     
  6. HappyTauren

    HappyTauren

    Joined:
    Nov 3, 2006
    Messages:
    7,810
    Resources:
    84
    Models:
    61
    Icons:
    20
    Packs:
    1
    Tutorials:
    2
    Resources:
    84
    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,217
    Resources:
    18
    Icons:
    1
    Spells:
    4
    Tutorials:
    9
    JASS:
    4
    Resources:
    18
    Awesome! Looks gorgeousss
     
  8. KILLCIDE

    KILLCIDE

    Code Moderator

    Joined:
    Jul 22, 2015
    Messages:
    2,961
    Resources:
    8
    Icons:
    1
    Spells:
    6
    Tutorials:
    1
    Resources:
    8
    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:
    548
    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:
    291
    Resources:
    0
    Resources:
    0
    Damn!
    Awesome feature
    10/10
     
  12. BloodSoul

    BloodSoul

    Joined:
    May 10, 2009
    Messages:
    337
    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:
    392
    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,961
    Resources:
    8
    Icons:
    1
    Spells:
    6
    Tutorials:
    1
    Resources:
    8
    It doesn't work for protected maps.
     
  15. Spellbound

    Spellbound

    Joined:
    Jan 9, 2005
    Messages:
    1,600
    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,844
    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,326
    Resources:
    28
    Models:
    1
    Icons:
    19
    Template:
    8
    Resources:
    28
    Very Coooool, Chief! :)
     
  18. Daffa the Mage

    Daffa the Mage

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

    A]mun

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

    A Void

    Joined:
    Mar 29, 2011
    Messages:
    2,356
    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. =)