Trying to Get Back into GUI - GUI Timed Effects System

Romek

Super Moderator
Reaction score
964
It's been a long time since I did GUI. So I thought I'd try it out (again).
Here's a timed effects system (in GUI) I made. Comments are appreciated. =)

No, this isn't meant to be in the T&R section.

Requires JassHelper!
____________________

Timed Effects - GUI Version!
By Romek - Requires TimerUtils

Features:
:D Made in GUI!
:D GUI Friendly
:D First Timed Effects made entirely in GUI!
:D No confusing colours or bold text which you see in JASS!
:D All-GUI! So GUIers can easily learn from it!
:D Very Readable, because it's GUI!
:D Fully MUI!
:D GUI MUI! What could be better!?
:( Requires TimerUtils
:D Only one con!
:D 8 Pros!
:D Wait, that was another one!
:D ... Fine. 11 including this one!
:D Wait, that was excluding that one!
:D 14 Pros : 1 Con. (Including this pro!)​

Usage:
Trigger:
  • Example GUI
    • Events
    • Conditions
    • Actions
      • Set Duration = 5.00
      • Set Path = Some Model
      • Set Unit = (Last restored unit)
      • Trigger - Run GUI Effects <gen> (ignoring conditions)

Easy, isn't it!?
Unit is the unit to attach to.
Path is the path of the model
Duration is how long the effect should last.​

The Code:
Enjoy the lovely, readable, easy-to-use, friendly GUI Code! :D
Trigger:
  • GUI Effects
    • Events
    • Conditions
    • Actions
      • Custom script: call GUI_Usage.execute()
      • Custom script: endfunction
      • Custom script: struct GUI_Effect
      • Custom script: effect e
      • Custom script: endstruct
      • Custom script: function GUI_Effect_Expire takes nothing returns nothing
      • Custom script: local timer t = GetExpiredTimer()
      • Custom script: local GUI_Effect data = GetTimerData(t)
      • Custom script: call DestroyEffect(data.e)
      • Custom script: call ReleaseTimer(t)
      • Custom script: call data.destroy()
      • Custom script: endfunction
      • Custom script: function GUI_Usage takes nothing returns nothing
      • Custom script: local timer t = NewTimer()
      • Custom script: local GUI_Effect data = GUI_Effect.create()
      • Custom script: set data.e = AddSpecialEffectTarget(udg_Path, udg_Unit, "origin")
      • Custom script: call SetTimerData(t, data)
      • Custom script: call TimerStart(t, udg_Duration, false, function GUI_Effect_Expire)

 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
The second trig is custom GUI(JASS) and it is the best GUI code i ever laid my eyes on wink cough sarcasm cough wink
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Its good that a moderator is brining some humour to the world editor help forum. Its all GUI but you just need jasshelper and a jass system and some basic jass knoledgd to read this all GUI GUI
 

Romek

Super Moderator
Reaction score
964
> I'm afraid you're DSQ-d because of hybrid code.
But it's super-easy-to-use, and super-understandable and super-readable GUI.
No colourful text, bold writing or random spaces to confuse you. :(

> In what perspective is this better than http://www.thehelper.net/forums/show...39&postcount=3 ?
This one's accurate.

So, who likes my awesome GUI Skillz?
 

UndeadDragon

Super Moderator
Reaction score
447
Your GUI burns out my eyes.
 

Romek

Super Moderator
Reaction score
964
It's been a while since I've done GUI. So thanks for all the support guys!

> Your GUI burns out my eyes.
It's better than that colourful JASS. :p

This just shows that everything in JASS is possible in GUI.
...
...
:p
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Ther is something diffrent about this GUI but i cant put my finger on it.
 

Romek

Super Moderator
Reaction score
964
> Ther is something diffrent about this GUI but i cant put my finger on it.
It works?
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
>you spamming your post count by like 20 just in this thread. So do you hav a problem speak to my laywer 0832852967
 

Viikuna

No Marlo no game.
Reaction score
265
> This just shows that everything in JASS is possible in GUI.

GUI sucks so much that you cant do really do anything with it. You even need Jass ( custom scripts ) to remove leaks. o_O

With GUI + custom scripts you can do loads of cool stuff, but it still sucks terribly because of that horrible ugly looking GUI interface.

We dont use Jass only because its less laggy & buggy, but also because its much easier to code with and looks much much better than GUI and thus is easier to read.

edit. Ok, ok next time I read that first post properly before I post. luls. Nice one..
 
General chit-chat
Help Users
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top