Warcraft III: MapsModelsSkinsIconsSpellsToolsTutorials
WC3 JASS: Code SnippetsJASS and vJASS Spells and SystemsJass Tutorials
Chat @Discord

Author Topic: [Jass 101] - Introduction  (Read 7889 times)

  • Site Owner
  • Administrator
  • Starter - level 4
  • *
  • Posts: 983
  • WC3 Models: 15
  • WC3 Tutorials: 12
  • WC3 Tools: 10
  • WC3 Maps: 11
  • WC3 Skins: 6
  • WC3 Icons: 2
  • WC3 Spells: 5
  • Reputation: 1153
  • Site Admin - I love fix things
    • View Profile
    • Blizzard Modding Information Center
[Jass 101] - Introduction
« on: October 21, 2012, 11:51:18 AM »
JASS 101 - Introduction

Welcome to the first chapter of JASS 101. Before we start, we should set some concepts clear.

What's JASS??
According to Wikipedia:
Quote
JASS or JASS2 (sometimes said to stand for Just Another Scripting Syntax) is an event driven scripting language used in Blizzard Entertainment's Warcraft III game and its expansion pack The Frozen Throne. Map creators can use it in the World Editor to create scripts for triggers and AI (artificial intelligence) in custom maps and campaigns.

With jass, you can extend the functionality of a Warcraft III game using triggers, you can control many aspects of the game though this language. JASS is the script behind the GUI, which is a simplest form of coding using predefined blocks of objects.


How much control I can get with JASS?

You can do many things with JASS, but is healthy to emphasize that JASS is not the solution for everything. JASS can't change abilities in game or allow full control in some aspects of the units like the unit model path for instance. JASS must be used in conjunction with other game sections like the Object Editor. In fact, some of the most well developed triggers are the ones which take full advantage of an ability behavior.

In conclusion: Doing everything in jass is not a good idea, use it wisely, mix it properly with object editor and you'll get a very stable game.


What is a good use of JASS?

Jass is very good to:
  • Create nice spells based on actual spells
  • Can create modify and delete units/destructables/items
  • Create specific situation in the game based on events
  • Create systems that controls a general aspect like unit respawns, damage detection, etc.
  • Can be used to generate AI behaviors (*.ai files) or triggered AI so neutral and/or computer players react properly according to specific circumstances, etc...
  • And much more...


What do I need to code in JASS?

Jass can be managed directly in World Editor, but it very uncomfortable and from time to time the Editor freezes and don't save stuff. For that reason it was developed PJASS and JassCraft and they made the things a little bit faster ans safer. Later with the arrival of Grimoire (a tool that inject code in WE), wc3modders were able to add new features to World Editor and the final result of this work is Jass New Gen Pack (JNGP) which the latest version can be found here: http://wc3modding.info/4263/the-jass-newgen-pack-jngp-1-5e/

With this you can code in Jass in a very comfortable way and do more advanced stuff in one and only one application. For that reason this tutorial will require in a mandatory way this tool so we can take FULL advantage of this language. To learn about how to install and configure JNGP please follow this quick tutorial.

Too much talk!!! :D
Let's start this tutorial right now. Check the bar below to move in the tutorial.

« Last Edit: February 10, 2013, 12:59:17 PM by moyack »

We can give you full hosting for your projects, a complete page!!

A custom altered melee map where you can play Naga and Demons. Check it out!!
Use Dropbox...

  • Site Owner
  • Administrator
  • Starter - level 4
  • *
  • Posts: 983
  • WC3 Models: 15
  • WC3 Tutorials: 12
  • WC3 Tools: 10
  • WC3 Maps: 11
  • WC3 Skins: 6
  • WC3 Icons: 2
  • WC3 Spells: 5
  • Reputation: 1153
  • Site Admin - I love fix things
    • View Profile
    • Blizzard Modding Information Center
[Jass 101] - Introduction
« Reply #1 on: February 10, 2013, 12:01:24 PM »
Small update :)

We can give you full hosting for your projects, a complete page!!

A custom altered melee map where you can play Naga and Demons. Check it out!!
Use Dropbox...

 

The Jass NewGen Pack (JNGP) 2.0 vs Warcraft III's patch 1.27a

Started by ApelliBoard General Help and WC3 Discussion

Replies: 9
Views: 4889
Last post March 21, 2016, 06:32:55 AM
by LembidiZ
Jass Newgen Pack 2.0 Alpha - Recruiting for testing

Started by moyackBoard General Help and WC3 Discussion

Replies: 84
Views: 44794
Last post July 17, 2013, 09:37:47 AM
by moyack
What's the best jass preprocessor? pjass or zoxc jassparser?

Started by moyackBoard Jass Theory & Questions

Replies: 2
Views: 8393
Last post December 14, 2012, 02:58:27 PM
by moyack
The Jass NewGen Pack (JNGP) 2.0

Started by moyackBoard WC3 Editing Tools

Replies: 213
Views: 184011
Last post August 01, 2017, 04:16:29 AM
by Glowackos
Jass NewGen Pack Update

Started by PurgeandfireBoard General Jass Discussion

Replies: 4
Views: 12008
Last post July 29, 2012, 03:28:05 PM
by Purgeandfire
Blizzard Modding Information Center Starcraft II Modding Information Center Wacraft III Modding Information Center WC3JASS.com - The JASS Vault Chronicles of Darkness - A Warcraft III mod Jetcraft - A Starcraft II mod Troll Smash - A Warcraft III Arena
  Mod DB - Change the Game Power of Corruption - A Warcraft III altered melee map Chaos Realm - The world of Game modders and wc3 addicts Follow us on Facebook!!