Warcraft III resources & community, 2003–2006 · archived

Will anyone here turn GUI triggers into JASS?

13 posts
#1

Will anyone here turn GUI triggers into JASS?

I have a map with a LOT of custom (GUI) triggers and I'd really like it turned into JASS.
I tried learning it, but it's a whole new language and some of the triggers are really complex and I don't have that much time (and patience).

And also, will turning them into JASS reduce map loading time?
#2
u canlearn by first just convert them (u have a button for it) then look at it, open ur back up map again and try to do it urself. i dont think it reduces loading time
#3
So that "convert to text" thing is actually translating it to JASS, eh?
I always wondered about it hahaha...

Thanks for the reply.

Anyone know how do I reduce loading time? It gets stuck about 1/5th through loading, then after a while it goes fast again.
#4
u should try vexorians map optimizer, dl newest version on wc3campaigns.net ^^
#5
I don't really know why you want to turn all your GUI into JASS. Simply converting all your triggers to JASS will NOT do anything. It will not help loading time, reduce lag, or make anything more efficient. In fact, if you don't know JASS, it will make it hard for you to update your map later when you want to modify your triggers because you can't change your triggers back into GUI. If you want to make your triggers more efficient, read Daelin's tutorial on basic JASS on the tutorials forum. It takes about 10-20 min to read.
#6
it has a little use, u can look at it and learn from it, so after u did that (and read some tutors) try to make it from skretch (u know what i mean :P)
#7
Well it was sort of an attempt to reduce size and/or loading time.

I did use Vexorian's optimizer too. And thoroughly read Daelin's tutorial (which is one of the best written tutorials I've ever read hahaha..)

Thanks a lot for your inputs! I really appreciate it :D
#8
btw just wanted to point something out. what ive found in maps is if it gets stuck 1/5 of the way through thats generally when its loading all preplaced heros into the map and all the games abilities. like the other guy said, try using Vexorian's Map Optimizer and maybe the Widgetizer to.
#9
The reason it suddenly sticks is that its loading the map and doodad locations then it sticks when its loading custom objects.

Use a wigitizer to reduce map loading times vexorians is mostly a method or reducing size more than a load time improver.
Vexorians optomizer means triggers load faster and there are no uneccary files.
Wigitizer removes the STRING file reducing loading times drasticly if you have loads of custom objects.

I recomend using both for full effect.
#10
Oh wicked. That would be helpful. Thanks. Again hahaha....
#11
Still.. I think a full JASS map loads much faster then a GUI map.
JASS contains no variables, or almost none.
GUI has a lot of variables which are taking space in your map again.

Maybe to give you an idea to learn JASS by
converting GUI to JASS,
check emjlr3's JASS Spells 1 map.
He has the GUI disabled, and the results in JASS.

Good luck & have fun.
#12
just converting to JASS wont help anything as the game does that by itself when loading the map ingame
#13
To refer to the original headline: Me.

But I have to specify this offer a little bit:
Tell me, what your trigger does and I will write a JASS-trigger that does the same... Only better and (a little) faster.

GUI does things in a very different way than they should be done, so it may (dependant on how complex the triggers are) need more time to work through the GUI-Script than completely rewriting the functions.