Game crashes or does nothing after using load action

rtatpi

New Member
Reaction score
3
I have gotten a game cache to transfer between two maps. The first map saves correctly and changes the level to the second map. However, when the second map is done, it does one of two things:

1: The game crashes and goes to the main screen
2: It lags for a second, but doesn't change levels.

I'm using the save and load actions because when the player goes back to the first map, the game needs to start off where it saved before going to the second map.

Here is the trigger that goes from the first to the second map.

Code:
Events
    Player - Player 1 (Red) Selects a unit

Conditions
    (Unit-type of (Triggering unit)) Equal to Blane
    ((Region centered at (Position of blane) with size (500.00, 500.00)) contains hero_unit) Equal to True

Actions
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Disable user control for (All players)
    Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 0.00 seconds
    Camera - Apply Camera 005 <gen> for Player 1 (Red) over 2.00 seconds
    Unit - Make blane face hero_unit over 0.00 seconds
    Unit - Make hero_unit face blane over 0.00 seconds
    Cinematic - Send transmission to (All players) from blane named blanename: Play No sound and display Oh, great you're he....  Modify duration: Add 3.50 seconds and Wait
    Game Cache - Create a game cache from siege.w3v
    Set siegecache = (Last created game cache)
    Game Cache - Store hero_unit as hero of player in siegecache
    Game Cache - Save (Last created game cache)
    Game - Save game as karinsiege.w3z and change level to Maps\Scenario\siegeofsilibi.w3x (Skip scores)

The next trigger is in the second map. It is after you win the second map. I believe this is where the problem is.

Code:
victory
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to Bandit Lord
    Actions
        Game - Display to (All players) the text: Karin is saved!
        Wait 3.00 seconds
        Game Cache - Store hero_unit as one of player in siegecache
        Game Cache - Save siegecache
        Game - Save game as siege.w3z and load karinsiege.w3z (Skip scores)

Please could someone try to figure out what's wrong with these triggers?

rtatpi
 

Archer 1

New Member
Reaction score
2
I've been having trouble with a campaign, too. I used set next level as my trigger, and it didn't work, so I tried Save Game and Change Level to...but it won't go to the next map. I did loading screen buttons and imported all the files and data and everything. This is my trigger
Save Game as Emissary.w3z and Change Level to Blank.w3x

I've tried making it Maps\Blank.w3x but it doesn't work.
What should I do?

Sry I answered your question with a question, but I've been trying to figure this out for at least literally a month and it won't work.
 

rtatpi

New Member
Reaction score
3
Yeah no kidding. I'm not sure why it doesn't load the save files. Perhaps when saving using triggers they go in a special folder?

Ok, I found it. When you save with triggers like in mine, they go into their own folders. For example in the Silibi_the_game map, when I used the save game action, it created a folder named Silibi_the_game, put the save file in there, then put that folder into a custom saves folder which is in the profile used to play. Maybe, in the load game action you have to put the full extension?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top