• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Rexxar Campagin map transition dont work

Status
Not open for further replies.
Level 2
Joined
Sep 2, 2017
Messages
5
Hello,
i am currently working on a edited Warcraft 3 Reforged Rexxar Campaign with the goal to restore the normal difficulty and exchanging the Human models with Kul Tiran ones.

Using this guide everything works fine already except for transition from and to other maps like the different missions in the chapter. It seems that the heoes doesn´t spawn at all and i have no clue how to set that right.

Can anybody help me with that?
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,156
The heroes not being restored sounds like the game cache is not working correctly (probably empty). Try changing the game cache reference name consistently across all maps. The reference name used by the campaign might be protected to limit people's ability to corrupt or cheat in the campaign.
 
Level 2
Joined
Sep 2, 2017
Messages
5
Thanks for the suggestion. I double checked that, but that didn´t solve the problem. I dont think the issue is to get the game cache to up and running.

The issue is here, that when transit to an other map in the same chapter, the heroes doesn´t spawn at all at map initialization.

I wonder, which trigger is responsible for that.
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,156
The issue is here, that when transit to an other map in the same chapter, the heroes doesn´t spawn at all at map initialization.

I wonder, which trigger is responsible for that.
The heroes are "restored" from the game cache. If the hero data is missing inside the game cache, or is not compatible with the current map, then they will fail to be restored and so no hero will be created.
 
Level 28
Joined
Feb 18, 2014
Messages
3,565
Game Cache works differently on campaigns with map transition, it's more than just saving heroes and restoring them in the next level. I don't have Reforged so I cannot tell exactly what is wrong with your code, but based on the guide you're following, it looks like you are trying to change the game cache name. Now, I don't know if the triggers are exactly the same in Reforged and older versions of the game but if they are then you should be able to edit the game cache in the Transitions Common folder under Export All and Import All. You may also have to change ZoneMapPath to refer to the path where you created the campaigns folder inside retail folder.

FYI, Level Data is used to store heroes and load them on a seperate level (E.g: from Act 1 to Act 2) It has nothing to do with Map Transition.
 

Attachments

  • Export.png
    Export.png
    71.4 KB · Views: 25
  • Import.png
    Import.png
    68.8 KB · Views: 25
  • Zone.png
    Zone.png
    66.3 KB · Views: 29
Level 2
Joined
Sep 2, 2017
Messages
5
Thanks, i figured that out and the transition works now, BUT if i am transit the heroes back to the main Map, the entire chapter begins from anew.

So i can transit to an other map, but not back.
 
Status
Not open for further replies.
Top