• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Game Caches

Status
Not open for further replies.
Level 7
Joined
Apr 4, 2005
Messages
177
I'm a pretty experienced at triggering, and mapmaking all-around, so there's no need to treat me like a noob and tell me how to open the trigger editor (If I'm asking about game caches, I think I've figured that out already). Anyways, I've examined Blizzard's sample campaign (the game cache I'm trying to create is for a unit from one mission to another). I replicated what Blizzard did as closely as I could, but it doesn't seem to work. I've a suspicion that it saves correctely, as when I attempt to load the unit in the next mission, nothing appears. The problem with this is that I used Blizzard's actions so that if there is nothing within the cache, the unit will be created with my set of abilities. This portion of the trigger does not execute. Therefore, I'm going to conclude that the problem is with my restoration, and not the fact that nothing lies within the cache.

Is there anyone here who is experienced with game caches for campaigns who's willing to help out?
 
terran you are defintly no noob only a noob would call you a noob mayby you might wanna PM DarkShadow he understands exactly how to make them
 
First check my campaign tutorial: http://www.wc3sear.ch/viewtopic.php?t=1405

I guess the problem is that you either use different names for both game caches or that there's a typo in the labels/categories. And remember to save the cache after every action that changes something in there.

If you don't find the error after reading the tutorial, you can send the map by mail (or else) so I can have a look at the issue.
 
That's pretty much what I've got. The only two problems I can think of is that I'm using spaces (which, as we speak, I am currently removing the spaces to see that that works), or that there is a mission between when I need to access the cache again (campaign so far goes: Mission 1, Mission 1 Cinematic, Mission 2). I'll post as soon as I get results from my next test.
 
Yes, it must have been the spaces. I'm quite happy at the moment because it works. I'm also happy to learn that the heroes' experience is stored, and not their levels. I found this out b/c I've not yet tinkered with the gameplay constants for mission 2, but made it much harder to level in mission 1. As a result, the max level in mission 1 was 3 (as I had set it to be). Harraxe had gotten to level 3 in mission 1. When he was restored in mission 2, he was level 4 with about 3/8 the bar filled for experience. Just nice to know.

Just a few suggestions for things to add to your tutorial:

-Don't use spaces (lol)
-Mention the WCIII Demo Campaign, as there are very good examples of game caches there (that is how I got to where I was). The Demo map also helps b/c it has a few triggers to check if the cache contains anything. If it contains nothing, you can then go about and create a standard hero with your choice of abils, etc...

The tutorial was quite good though, even if it didn't help me.
 
I'll definitly add the thing about spaces (never thought about it cause I never use spaces). Funny that WE doesn't complain when putting spaces there. I thought I mentioned the demo campaign somewhere, maybe I forgot it, will add it somewhere, too. Thx.
 
Status
Not open for further replies.
Back
Top