HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Tower Defense in JASS

08-28-2006, 02:26 AM#1
Deuceswild
I am very new to JASS, but I have read quit a few tutorials and such on it, and basicaly I have been trying to find a tutorial for making a tower defense in jass for the past two days and have been unable to do so. So I have been looking at gui triggers, then converting them to custom text, but that can take a very long time especialy if I need to change something in the custom text.

If anyone knows of a JASS TD tutorial or a TD map that was made in jass and is open-source please let me know it would be a huge help.

This is a repost of one I made a couple days ago on wc3jass.com, it yeilded no results so I decided to try here.

**Please only post if you know of, or have a link to, a how to make a td in jass tutorial or an open-source jass td map.**
08-28-2006, 03:03 AM#2
Alevice
Congratulations on disregarding the useful advice given at the Jass Vault, btw.
08-28-2006, 03:46 AM#3
Wyvernoid
To tell you - don't be self-will. You request is weird and a little offending, which really caused a brawl at wc3jass. I'm referring to this:
Quote:
**Please only post if you know of, or have a link to, a how to make a td in jass tutorial or an open-source jass td map.**

To answer your question - there is NONE. Nor will it be a huge help even if there is.
08-28-2006, 07:02 AM#4
The)TideHunter(
Why is their such a urge to create a TD in Jass anyways?
TD's are pretty simple, your better of using GUI, then when you'v sorted them all out, convert them to Jass and remove BJ's, prevent leaks etc.
08-28-2006, 07:23 AM#5
PitzerMike
Quote:
Originally Posted by Deuceswild
So I have been looking at gui triggers, then converting them to custom text, but that can take a very long time especialy if I need to change something in the custom text.

It's not like you can create a good map within a day.
Anyway you won't find what you're looking for because making a TD in JASS or GUI doesn't make a difference.
If you have trouble converting the GUI triggers to JASS then a JASS tutorial is what you really need.
You can find plenty of those in our tutorial database.
08-28-2006, 08:56 AM#6
Deuceswild
The reason why I wish to create a td is primarily to familarize myself with JASS, I'm trying not to use the default gui, because a friend told me that learning the default gui would just make JASS harder to learn. "The useful" advice I was given at wc3jass.com was to just do it in gui, which is exactly what I'm trying not to do.

After reading a couple of the tutorials I figured that making a TD would be a good way to put that stuff together. Aparantly I assumed wrongly, that among all the JASS mapmakers someone would have made an open-source or td-tutorial.

Thank you to Mike and tidehunter, for possible the only good replys I have gotten (in both forums)

@wyvernoid- I'm not really sure how asking for a tutorial can offend you, and while making a td in JASS may seem trivial to you it is a fairly big challenge for me. A tutorial would be huge help.
@alevice- Congratulations for creating the most pointless reply in this thread.
08-28-2006, 09:00 AM#7
Captain Griffen
You don't learn from a stop by step how-to. Trial and error FTW!
08-28-2006, 09:26 AM#8
Wyvernoid
Quote:
Originally Posted by Deuceswild
...while making a td in JASS may seem trivial to you it is a fairly big challenge for me...
Your request didn't offend me as much as this sentence. I AM NOT EXPERIENCED JASSER, and my character determines that I will NEVER regard learning things as trivial.

As said muchly above, people are trying to persuade you not to do a TD first(and as told, there IS NOT one), if you have even not read a true JASS tutorial before. People crawl before they walk.
08-28-2006, 09:33 AM#9
Fireeye
Quote:
Originally Posted by Deuceswild
The reason why I wish to create a td is primarily to familarize myself with JASS, I'm trying not to use the default gui, because a friend told me that learning the default gui would just make JASS harder to learn.
Sorry, but that absolutly ****, i began with GUI too and it wasn't really hard to learn JASS.
When you know the commands in GUI and convert it to JASS you already know the function of the JASS Command.
Also you don't have to write a TD in JASS, because you won't ever use a non-GUI Command in a TD (or am i wrong?).
If you want, i can attach my TD System to this Post.
It contains:
- Respawn after all Units are dead
- Easy Configuration (you only have to change the init trigger)
- Basic Trigger for multiple ways
- and all other basic triggers
08-28-2006, 12:05 PM#10
buttoxide
I was a nub at JASS once. I have zero programming background.

Then I downloaded JASScraft, read Vexorian's tutorial:

http://www.wc3campaigns.net/showthread.php?t=74894

and after 2 hours of trial and error, I have learned the foundations of JASS myself.

I suppose there are alternative ways to learning JASS, but I really recommend Vexorian's guide, it's great in elucidating JASS to new people like me. I'd say you might want to start there...
08-28-2006, 12:27 PM#11
Rising_Dusk
Whats so wrong about writing a TD in jass though?
Nothing, I would say.

I know if I made a TD, just for the reason that jass is so easy to work with in contrast to GUI -- I would use jass.
That might also be because I'm psychotic though, can't really say.

However, follow buttoxide's advice, read that generic jass tutorial of Vex's.
That will get you pointed in the correct direction.

(Note: Griffy's got some grade A advice there. Trial and error really does work for learning.)
08-28-2006, 03:33 PM#12
blu_da_noob
Quote:
Originally Posted by Rising_Dusk
Whats so wrong about writing a TD in jass though?
Nothing, I would say.

They're not saying there is anything wrong with it, they're just saying that JASS is less useful for a TD than many other types of maps. I would still definitely use JASS if I made a TD though; dynamic game cache stuff etc would be top of my list.
08-31-2006, 12:02 AM#13
Deuceswild
Yea, I read that tutorial and a couple of other ones at this website(before starting this thread). I have a pretty good feel for the basic jass syntax, but was running into problems when I would convert a trigger from gui to custom text, then try to make the code more efficient by getting rid of unnecessary functions especialy bj functions.

@fireeye Any sort of jass td foundation you give me would be much appreciated. Also on thehelper site in the tutorial "so you want to learn JASS" the author seems to think that learning jass first is easier. Not saying your wrong,I certainly don't know, but the rest of his tutorial seemed pretty good to me so I figured he was credible.
08-31-2006, 12:22 AM#15
PitzerMike
In cause you have trouble with/questions about specific code pieces, feel free to post them here and ask.
That's what the forums are for :)