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

[Trigger] Submaps not loading, help! +Rep!

Status
Not open for further replies.
Level 12
Joined
Jan 30, 2009
Messages
1,067
EDIT 2: We have fixed the issue. Thanks for the help! (The load functions weren't calling everything back) :)

EDIT: We seem to have found a work-around for this issue. :D
Our fix is minor, we're gonna end up having a group of maps and the campaign file itself to run the maps, and the maps will duplicate, but it WILL work! However, this will effectively more than DOUBLE the size of this already (planned-to-be) massive campaign. So, if you can still find a better fix, it would be appreciated. But for now, we can continue production with our minor fix while awaiting for a better (and hopefully permanent) solution to arise. :)

I followed this tutorial to help me get the basics of a save/load system for submaps and the like: http://www.hiveworkshop.com/forums/f278/transitions-among-campaign-maps-6283/

For some reason, when I go to the appropriate region, it just goes back to the campaign screen instead of going to the next map. I do not understand why this is happening. It seems to me like it's saving, just not loading, perhaps. Though again, I'm not sure.

There's no custom anything in this map, so that cannot be the culprit. Therefore my conclusion is that the problem rests within the trigger itself.

The thing is: I want to use the Hub-and-Spoke method mentioned on that tut, but it only shows the mesh system (and I have not been able to find one for the hub-and-spoke), so I tried to adjust it accordingly. Basically, the only thing I changed was that I didn't have a Map 3. So everything associated with map 3 is not in the triggers.

I will attach it here so you guys can see what I may have done wrong As I said, this was just a test to see if i can create this system (the hub-and-spoke) for an RPG campaign I'm working on.

Any and all help is appreciated, and +Rep if you can fix my issue! ^^
 
Last edited:
Level 24
Joined
Jun 14, 2005
Messages
2,506
Ok I found your problem. When loading the new map, you used the .w3x extension, rather then the .w3m extension, so the path for the map was wrong since the maps are ROC (w3m) maps. So the new trigger would look something like this.

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Map2NewGame Equal to True
    • Then - Actions
      • Game - Save game as Map 1.w3z and change level to Map 2.w3m (Skip scores)
    • Else - Actions
      • Game - Save game as Map 1.w3z and load Map 2.w3z (Skip scores)
 
Status
Not open for further replies.
Top