Game Cache Issues

  • Thread starter Thread starter Veritas88
  • Start date Start date
V

Veritas88

Guest
First of all, I know how game cache's work and I've read FAQ's and all that good stuff. I've made maps in the past with working game cache's but they were all in .w3m format. I don't know if something needs to be changed for .w3x format, or if there is another way to transfer heros from one map to another but either way it isn't working for me when i do it normally. Anyone want to help me out here?
 
End of Map 1 (Triggered at the end of Ending Cinematics)
Code:
Cache and Victory
    Events
    Conditions
    Actions
        Game Cache - Create a game cache from WCRPG.w3v
        Game Cache - Store Octavian 0001 <gen> as Octavian of WCRPG01 in (Last created game cache)
        Game Cache - Store (Player 2 (Blue) Current gold) as Gold of WCRPG01 in (Last created game cache)
        Game Cache - Save (Last created game cache)
        Game - Show custom campaign button 2
        Game - Set the next level to Maps\FrozenThrone\Campaigns\WCRPG2.w3x
        Game - Victory Player 2 (Blue) (Show dialogs, Show scores)

Beginning of Map 2
Code:
Map Data
    Events
        Map initialization
    Conditions
    Actions
        Game - Set the time of day to 12.00
        Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Thelsamar Center <gen>) to a radius of 2000.00
        Game Cache - Create a game cache from WCRPG.w3v
        Game Cache - Restore Octavian of WCRPG01 from (Last created game cache) for Player 2 (Blue) at (Center of Thelsamar Center <gen>) facing 270.00

Is there something wrong with these triggers that I'm not seeing?
 
You could try the game cachee reload all data from disc before loading the stored unit?

i'm no expert in game cachee's, but this could maby solve it?? correct me if im totally off :D
 
I cant se anything wrong :confused: but i am not an expert in gc loading betwen maps.

I can come up with 11 possibility why it isnt workin:

They Octavian 0001 <gen> doestn exist when you are trying to store it. You have replaced it or removed it from game.

If the Gold loading works this is probebly the answer. That or that you dont have the same label and category, you may have a extra space after or before one of the lobel/category that we cannot se.
 
You could try the game cachee reload all data from disc before loading the stored unit?

i'm no expert in game cachee's, but this could maby solve it?? correct me if im totally off
Unfortunatly no change :(

I cant se anything wrong but i am not an expert in gc loading betwen maps.

I can come up with 11 possibility why it isnt workin:

They Octavian 0001 <gen> doestn exist when you are trying to store it. You have replaced it or removed it from game.

If the Gold loading works this is probebly the answer. That or that you dont have the same label and category, you may have a extra space after or before one of the lobel/category that we cannot se.
Octavian is alive and well when he's being stored so that can't be it. The gold DOES load, I just realized, so it probably has to have something to do with the actual unit itself. I do change the owner of Octavian before he is stored, I don't know if that has anything to do with anything, but that's the only thing I ever change about him. Oh and those triggers are copied straight out of the WE (no editing).
 
If Octavian is a custom unit, you must define it in both maps under Object editor.
If you're creating a campaign (w3n) make sure you define Octavian under the Campaign object editor.
Anyhow, your triggers look alright.
 
Does this apply to custom items, abilities, buffs et cetera also?
 
As far as I'm concerned, you only can save items in game caches by creating dummy heroes and giving him the items
But take care, if the item is a custom one and it doesn't exist in the object editor of your 'destination' map (the map where you want to load this item) the game won't be able to create it.
The same occurs with abilities.
You can't save abilities in the game cache, but you may want to save a unit with a special ability in the game cache.
If this ability doesn't exist in your destination map, the unit won't be able to use this ability.
About buffs, I don't know if storing a unit with buffs in game cache also stores the unit buffs. Check it
 
I'm fairly sure you do have to Reload All Data From Disk before right after you create it when you're trying to read data.

Like already stated, it's good to make sure the custom data is exactly the same by exporting and importing.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top