• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Odd map to map transition problem

Status
Not open for further replies.
Level 2
Joined
Aug 24, 2018
Messages
5
I’m trying to do a fan-made alternative story to "Orc Bonus Campaign" (I've used original OrcX maps as a starting point to save time), the map transition part seems to have a problem.

With the help of this tutorial, I changed Blizzard’s way of performing map transitions to tutorial’s one. Then I’ve inserted my map(s) to TransitionTutorial.w3n (transition campaign included in tutorial). I matched all map transition related triggers, variables, map regions in two of my inserted maps (named AR0100 and AR0101) for testing. While transition from the main (AR0100) map to additional (AR0101) map works as expected (transfers heroes, resources, etc), but when I try to go back to the main map, the triggers just don’t “fire”. The transfer tripwire region won’t fire (I’ve tried changing region, no help), but when instead of using my additional map (AR0101), I’ve used map that was originally there by tutorial, it started working as long as the path for Save/Load trigger (starting after "WarcraftIII\save\Profile1\CustomSaves", meaning CustomSaves\(name of campaign)\(map name)) is less then 43 characters.

To be exact, this is the problematic trigger, the Event just doesn't get registered.
  • Road to Camp
    • Events
      • Unit - A unit enters Zone Barrens Tripwire <gen>
    • Conditions
      • (The trigger queue is empty) Equal to True
      • (Owner of (Triggering unit)) Equal to Controller
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Trigger - Turn off (This trigger)
      • Set TargetAreaIndex = 1
      • Set RestorePointIndex = 1
      • Trigger - Add Area Change Begin <gen> to the trigger queue (Checking conditions)
      • Wait 4.00 seconds
      • Trigger - Turn on (This trigger)
Any ideas how to fix this?

I’ve included my campaign files, thanks:).

TC.w3n - with 2 maps inserted.
TCE.w3n - only the main map inserted.
TCO.w3n - original tutorial campaign.

PS: Sorry for my grammar:rolleyes:.
 

Attachments

  • TC.w3n
    965.1 KB · Views: 56
  • TCE.w3n
    848.6 KB · Views: 56
  • TCO.w3n
    329.4 KB · Views: 63
Last edited:
Level 28
Joined
Feb 18, 2014
Messages
3,579
The problem is not in the transition but rather in the Map Intialization.

Your trigger is bugged because Leaderboards cannot be created at Map Initialization.

The error is due to :
  • Trigger - Add FirstTime Gameplay <gen> to the trigger queue ( Test Conditions )
instead of
  • Trigger - Add FirstTime MiniCinematic Q <gen> to the trigger queue (Test conditions)
Your Intialization trigger for map AR0101 should be like this :

  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Game - Set ally color filtering to 0
      • Trigger - Run Init 01 Players <gen> (checking conditions)
      • Trigger - Run Init 02A Units <gen> (checking conditions)
      • Trigger - Run Init 02B Arena Settings <gen> (checking conditions)
      • Trigger - Run Init 03 Music <gen> (checking conditions)
      • Trigger - Run Init 04 Environment <gen> (checking conditions)
      • Trigger - Run Init 05 Quests <gen> (checking conditions)
      • Trigger - Run Init 06a Hard <gen> (checking conditions)
      • Trigger - Run Init 06b Normal <gen> (checking conditions)
      • Trigger - Run Init 06c Easy <gen> (checking conditions)
      • Trigger - Run Init 07 SyncData <gen> (checking conditions)
      • Trigger - Run Init 08 Spawn Timers <gen> (checking conditions)
      • -------- Start Intro Cinematic --------
      • Trigger - Add FirstTime MiniCinematic Q <gen> to the trigger queue (Test conditions)
      • Trigger - Run Disable Mission Restart <gen> (checking conditions)
 
Status
Not open for further replies.
Top