vJASS

jomik

New Member
Reaction score
17
Hey, can you guys help me out? I would really like to know how I import the vJASS stuff into my map :p I've failed to find any downloads or any guides on how to set up vJASS >.< I'm wondering if it's just in the NewGen WE, but that doesn't work correctly for me.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, what do you mean exactly ? :S

You don't "implement" vJASS, you simply use it XD
Though you need Newgen WE ;)

And, to use some special stuff like the private or public keyword, you need to put your code inside a library/scope...

What, more specificly, do you want to know ? :S
 

jomik

New Member
Reaction score
17
Ahh, so I just make the triggers with NewGen WE? Then it'll work? I thought I had to like, import some code into some MPQ file :p
Can I make the triggers in vJASS with NewGen WE, then save it and open it in normal WE and work there like normal?
And you pretty much answered what I wanted :p
 

Romek

Super Moderator
Reaction score
964
If you're using vJass, you'll need Jasshelper, which comes with newgen.
You won't be able to use vJass code in the regular editor.

Then again, why on earth would you use the regular editor if you have newgen?
 

jomik

New Member
Reaction score
17
Ahh okay, well, I can't test maps with NewGen for some reason, which makes it a pain in the ass to test stuff... Dunno how to fix it, Would be AWESOME in bold and italic if you could help me there :p And it's because I have a mate who does the terrain and units, who doesn't use NewGen :p
 

Romek

Super Moderator
Reaction score
964
Why can't you test maps? What happens when you try to test maps?
 

HellCraft

Member
Reaction score
19
Disable Reinventing the Craft
Its on the last drop down list at the top.

If its already disabled or you still cant test maps then I am not sure what the problem is.
 

jomik

New Member
Reaction score
17
Nothing o_O That's the problem :p I'm trying a reinstallation atm, and will do a dual installation then, with 1.21b for map making, and 1.24b as my normal one :p
But, wont it be harder to make maps for 1.24b using version 1.21b? o_O

Edit: @ HellCraft; What is Reinventing the Craft? :p I saw it, and it were disabled I think >.< But as I said above, I'm reinstalling now :p
 

Nestharus

o-o
Reaction score
84
Er.....

Drop down menu, top right, you'll see Reinventing the Craft or w/e... disable it.

Another thing is use 1.24.... I don't know why on earth you are going on about 1.21 or w/e -.-.

Just install NewGen, open it, disable RtC, and you are set... nothing extra... nothing special... lol.

Of course, I'd install cJASS too, but shhh ; p
 

Jesus4Lyf

Good Idea™
Reaction score
397
>I don't know why on earth you are going on about 1.21 or w/e -.-.
Grimoire (the forgotten awesomeness).

>I can't test maps with NewGen
I can't believe no one has said this yet. You must save the map immediately before testing each time, and yeah, you must have Reinventing the Craft disabled.
 

jomik

New Member
Reaction score
17
Yeah yeah, it IS a given :p I am doing that, but currently I can't test a map through NewGen which runs perfectly fine if I run it through a normally started Frozen Throne, or through normal WE. But the empty maps run fine now. It's the demo map from Romek's Creating a passive spell in JASS tutorial
It just opens TFT and shows me the main menu, and I can't start it if I go to single player and start it there. Only in a normally started WE or TFT... :S
 

the Immortal

I know, I know...
Reaction score
51
Before each testing of the map hit the 'save' button and then the 'test' one.
If you modify the map and press directly the 'test' button, it won't work (JassHelper won't run and convert your vJass to normal code). You have to manually save every time exactly before u test.
 

Azlier

Old World Ghost
Reaction score
461
You also have to save every time you scroll through a trigger because of how TESH works.
 

jomik

New Member
Reaction score
17
Thanks Azlier! That seemed to be the problem >.<
It's because you're able to fold all the different blocks with TESH right? :p
 

Azlier

Old World Ghost
Reaction score
461
Well, it places comments around the code that look like [ljass]//TESH.alwaysfold = 0[/ljass] or something like that. Another one for scroll position. Since it does that, it changed the map in some way, and so the map needs resaving.
 

Azlier

Old World Ghost
Reaction score
461
No idea. But the other comment still stays. Unless you modify your actual TESH, you're going to have to save the map every time you scroll through code.
 

jomik

New Member
Reaction score
17
But the //TESH.alwaysfold = 0 is a static comment? I mean, it doesn't move around like the scroll one would? So if you had that function disabled, then it wouldn't put in that scroll comment, and you wouldn't need to recompile the map? :O
Anyways, it's not a big problem :p
 

Azlier

Old World Ghost
Reaction score
461
No idea. Maybe you could test it.
 
General chit-chat
Help Users

      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