• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

jazz in gui? :weekani:

Status
Not open for further replies.
Level 4
Joined
Dec 15, 2007
Messages
108
hi guys i just wanna ask if it will be possible to convert jazz in gui or maybe only partial that maybe 50% in gui rest in jazz what isnt possible to convert maybe there is an tool thx for onfi :wcool:
 
Level 8
Joined
Oct 8, 2005
Messages
409
I guess if the JASS was orginaly GUI and had zero custom JASS in it...
You could convert bits a pieces...
Still, anyone who can make a program that converts JASS to GUI has spent the time to learn JASS and will not have a reason to make a program to convert JASS to GUI. JASS is simply better in almost every way other than being user friendly.
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
Why couldn't you create a program that recognise a certain structure (such as the structure of a for loop) and convert it into the gui for loop? Yes you can. It's just not going to be easy to make the thing flexible, and probably nearly insane to make a "deconverter" work properly in the first place.

If you can convert plastic in metal, you can convert metal into plastic as well.
Sure, I understand your point of view and you can't possibly convert a jass trigger in 100% gui (unless perhaps if the trigger was originally made in gui), but that's not what he asked. He asked if it's possible to reproduce certain jass parts into gui, and yes, theoretically it is.

But practically, nobody is going to consider doing it, especially because it would probably be easier just to teach you jass.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
A JASS to GUI convert is easy, only problem is it will still be in JASS but just use custom script GUI actions.

JASS is far superior to GUI in every way, thus converting propper well coded JASS to GUI is impossiable unless like I said, it is just custom script actions with the very same JASS which has no advantages over pure JASS anyway.

Its like converting a real into an integer, it just can not happen unless data loss occures, but JASS to GUI is a lot more complicated.
 
Level 10
Joined
May 31, 2007
Messages
645
Well, I actually believe a good Jasser and a GUI Triger maker could work together to convert parts of the JASS script to GUI together, but not making a tool as this would take ages to complete and would need some more than simple Jass/Gui skills to complete. I don't think a system can be created, but I hope one (even not complete) will come up sooner or later!
 
Level 4
Joined
Feb 22, 2005
Messages
110
Rofl eleandor that is NOT POSSIBILE by ANY MEANS. Its like trying to convert metal into plastic.

Meh, just create custom editor like WEU with additional lists for every jass function. Proplem solved. It is possible, but no one should spend time doing it.

EDIT: Too tired, didn't remember few things that make this a LOT harder. Nvm me.
 
Meh, just create custom editor like WEU with additional lists for every jass function. Proplem solved. It is possible, but no one should spend time doing it.

EDIT: Too tired, didn't remember few things that make this a LOT harder. Nvm me.

well you forgot this :p
You would have to make every single statement, all with if,then,endif and shit like that,which is by no means possibile. Jass doesnt work like gui nor does gui work like jass. In jass, in one "GUI" trigger you can make numerous jass triggers, functions and global declarations, structs, methods and things that come with newgen.
 
Level 11
Joined
Feb 18, 2004
Messages
394
its easy to go from GUI -> JASS -> GUI. Going from JASS not written by the GUI to GUI is #1: Stupid, #2: Hard, #3: In a lot of cases, completely impossible. There have been utilities which can rebuild GUI data from JASS code written by the GUI. (I'm not going to be linking to them, of course.)

if you do not understand why it is completely impossible, then you need to learn a hell of a lot more about programing before you can hope to understand it.
 
Status
Not open for further replies.
Top