• 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.

Custom Campaign

Status
Not open for further replies.
Level 22
Joined
Feb 4, 2005
Messages
3,971
  • MeleeInitialization
    • Events
      • TriggerAddEventMapInit()
    • Local Variables
    • Conditions
    • Actions
      • GameSetNextMap(map)
      • GameOver(1, c_gameOverVictory, true, true)
These actions with whatever event you want will be done like war3 where after you finish a map it will load the next map. As for how to create campaign, im searching as i dont see a campaign editor. /// Yup no such thing, only way is as I told you.
 
Last edited:
Level 24
Joined
Jun 14, 2005
Messages
2,506
Theres a few things you need to do to be able to correctly load a map:

  • You need to ensure that the map you are trying to load is in the Maps directory of the Starcraft 2 folder. Make sure that you place it in the actual maps folder where Starcraft 2 is installed, not the Starcraft 2 folder which appears in My Documents.
  • Get rid of the SC2Map extension, as it is not needed. So your map would simply be named Map2.
  • Finally, making sure that you include the directory of the map you are trying to load. For example, if you had a map named Map2 in a folder named Map1 you would enter Map1/Map2 into the function.
Also, for some reason if you open your map by dropping it on the Starcraft 2 Icon it won't work. Not sure why, but in order for it to work the only way you can open the map is by using the Test button in the editor.

Anyway, hopefully that should work :)
 
Status
Not open for further replies.
Top