HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Still having troubles with the game cache.

12-11-2002, 03:30 AM#1
Guest
create game cache..
set variable for it..
store unit as whatever in something
save created game cache

then..

create game cache
restore unit..

@L#N%RL!K% I cant get this right, even after looking over the tutorial in the repository
12-11-2002, 04:40 AM#2
Guest
Do you -

1. Actually link two maps together so you can store them over missions? : You can't just stuff a trigger in a map then create another map telling it to restore the unit.

2. Save the game cache right after the end of the map? : If you only saved it once - The restored unit would only be the unit you stored at the start!

3. Reload the units in the correct categories and labels? : e.g if you stored a unit as label of Arthas in category heroes, you'd have to restore him with the exact same category and label!

4. Create the same game cache name as before? : e.g Sauroid01.w3v created in the previous map would have to be the exact same name in the next map - Sauroid01.w3v!

And I got a million more do you's but I can't be bothered to write them all - just tell me if one of them works so I don't waste my time
12-12-2002, 12:02 AM#3
Guest
"1. Actually link two maps together so you can store them over missions? : You can't just stuff a trigger in a map then create another map telling it to restore the unit."

Yes

"2. Save the game cache right after the end of the map? : If you only saved it once - The restored unit would only be the unit you stored at the start!"

I have the game cache created and its variable set at map initialization, and only save it after the units are stored at the end of the map.

"3. Reload the units in the correct categories and labels? : e.g if you stored a unit as label of Arthas in category heroes, you'd have to restore him with the exact same category and label!"

Checked over that many times, saw no variations.

"4. Create the same game cache name as before? : e.g Sauroid01.w3v created in the previous map would have to be the exact same name in the next map - Sauroid01.w3v!""

Yes

My list of game cache things to do is:

Map1 -
Initialization - Create Cache + Set Variable
Victory (last thing before Set Next Map) - Store Unit(s) + Save Cache

Map2-
Initialization - Create Cache + Set Variable + Restore Unit(s)

Am I missing something?:\
12-12-2002, 07:53 AM#4
Guest
No - You are doing EVERYTHING correctly. I don't know what's going wrong..... Sorry
12-12-2002, 12:12 PM#5
Deicide
If I undertood correctly, you saved the game cache after the game ends in victory?

Try to save it before you call for the victory action.
12-12-2002, 04:48 PM#6
Guest
Just the Victory conditions are met, the actual Victory command comes after Set next level, which I have after the cache save.

Does anyone have a map I could download and check the triggers over?:\