• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Campaign <--×-- Jass Systems

Status
Not open for further replies.
Level 6
Joined
Sep 15, 2015
Messages
211
Damn Damn Damn. Why the hell I cannot run/test my map in campaign when (I use jass systems in their trigger editor)?

For example I import "simError" system into trigger editor of my map in my campaign but ... When I want to test it, map will not run (only show black screen) It is same about custom resources system :(

And the map will run correctly when I export it O_o

help!!
 
I assume these system are vJASS and thus require JASSHelper.
If you use JNGP you can save these maps and play them. However if you import them into a campaign and edit them from within the campaign editor, it is actually a different type of map editor. This map editor does not support vJASS.

You must edit your maps with the normal editor. When you want to play the campaign, import this map and do not edit the map from the campaign editor anymore. If you want to edit the map, edit the original map, delete the map in the campaign editor and add the original map again.

It's probably the same with other editors that allow vJASS. In general you should avoid editing maps from within the campaign editor, as the are probably more differences between the normal map editor and the map editor when editing campaign maps.
 
I assume these system are vJASS and thus require JASSHelper.
If you use JNGP you can save these maps and play them. However if you import them into a campaign and edit them from within the campaign editor, it is actually a different type of map editor. This map editor does not support vJASS.

You must edit your maps with the normal editor. When you want to play the campaign, import this map and do not edit the map from the campaign editor anymore. If you want to edit the map, edit the original map, delete the map in the campaign editor and add the original map again.

It's probably the same with other editors that allow vJASS. In general you should avoid editing maps from within the campaign editor, as the are probably more differences between the normal map editor and the map editor when editing campaign maps.

This is really useful info. Just for clarification, can I add vJASS systems to the map, then import it to campaign and then edit other stuff and leave the systems alone, or that will break the systems too?
 
This is really useful info. Just for clarification, can I add vJASS systems to the map, then import it to campaign and then edit other stuff and leave the systems alone, or that will break the systems too?
No you can't. The map script is created whenever the map is saved. If you have vJASS in your map and you save the map, JASSHelper must be active, because only JASSHelper can compile vJASS and create the map script from it.
The map script contains not only your triggers, but also all units placed in the map for example. Because of this it is always created when the map is saved.
 
No you can't. The map script is created whenever the map is saved. If you have vJASS in your map and you save the map, JASSHelper must be active, because only JASSHelper can compile vJASS and create the map script from it.
The map script contains not only your triggers, but also all units placed in the map for example. Because of this it is always created when the map is saved.

I see. In that case, the plausible solution might be importing the map to the campaign, placing terrain, units and everything, than saving outside the campaign, adding vJASS scripts, save again and then add the map to the campaign and don't save it anymore. What a hussle
 
Status
Not open for further replies.
Back
Top