| 12-20-2003, 03:12 PM | #1 |
I don't know where Coffein went, but he claimed he can do that like the Orc Campaign. I remember it was August sometime... I want to know if anyone found the loophole to do it... |
| 12-20-2003, 03:34 PM | #2 |
i've been asking this for days now but nobody seem to know how to use the save/load. |
| 12-20-2003, 03:36 PM | #3 |
I'm making a small demo to go in the Trigger Repository. Wait a few days. (It's harder than everyone thought). |
| 12-20-2003, 04:03 PM | #4 |
The save and load is rather easy. But it doesn't store every variable you also need to cache as well. Check out the blizz campaign its really is pretty ingenious how they got it down to a sience. |
| 12-20-2003, 04:49 PM | #5 |
Blizzard made it too complicated they use like 5 variable for 1 thing. I dont have trouble saving and loading cache now. I can use the variable I stored in my previous map. A big problem remain: --In map1-- - Save game as Map1.w3z and change level to Maps\HeroRPG\Map2.w3x I want to save my current game and I have to change level instend of loading because its the first time the map is runned. --In map2-- - Save game as Map2.w3z and load Map1.w3z Nothing happen but theres supposed to be a savedmap called Map1.w3z because I saved it in the previous level. When I go in the save folder of warcraft3.... Heres where the game as been saved on my disk: D:\Program Files\Warcraft III\save\Profile1\CustomSaves\Map1\Map1.w3z D:\Program Files\Warcraft III\save\Profile1\CustomSaves\Map2\Map2.w3z I think my problem is that I dont enter the right path when I try to load. Blizz save their map in this D:\Program Files\Warcraft III\save\Profile1\Blizzard\Orc Campaigns\OrcX02.w3z D:\Program Files\Warcraft III\save\Profile1\Blizzard\Orc Campaigns\OrcX02_02.w3z You see the difference? All their save are in the same folder(called Orc Campaigns) and mine all have thier own folder. It might be the problem, maybe all save need to be in the same folder to be loaded from another map. Anyway even if its not the problem I want to know what must I wrote if I want all my map save there: D:\Program Files\Warcraft III\save\Profile1\CustomSaves\HeroRPG\Map1.w3z D:\Program Files\Warcraft III\save\Profile1\CustomSaves\HeroRPG\Map2.w3z I think the load path must work like the change level to Maps\... you have to specify exactly where is the map from the warcraft 3 folder, must be the same for save file. The problem is that I dont know what must I wrote to get there. ---------------------------------- Since I dont have more problem with game cache I will write what I did so you can base yours on mine. --Map1-- - Set Test(a string variable) = blabla - Create a game cache from HeroRPG.w3v(no need of path, name it anything you want) - Store Test(select the variable) as Test(type it dont select the variable) of HeroRPG(this is like a folder in which all your data with this category will be saved) in last created game cache -Save last created game cache -Use savegame (or set next level to path, victory to player 1) --Map2-- -Create a game cache from HeroRPG.w3v(must be the same name as in the last map) -Set Test = Load Test(type it dont select the variable) of HeroRPG from last created game cache -Display text: Test(select the variable) when you run the first map, its will set the variable, store it, change the level, load it then show it. Where is the Game cache file saved on the computer? cant find any HeroRPG.w3v |
| 12-20-2003, 11:09 PM | #6 |
that should be moved to the tutorials section, its helpful, good job:ggani: |
| 12-21-2003, 12:19 AM | #7 |
Where are the orc campaign maps located, and how do you open .w3z files? |
| 12-21-2003, 12:39 AM | #8 |
w3x -> Expension map w3m -> Reing of Chaos map w3z -> Saved-Map w3v -> Game Cache Try to remember which extension is used. To open a w3z, you must load it either manualy(if you have a save of the map) or using trigger(cant help this is my problem;)). I saw someone on the battle.net forum who used save/load and selected the current map hes was in and its made a fatal error, dont load a map youre in. ----- So anyone know whats the path of the load and of the save? |
| 12-21-2003, 01:30 AM | #9 |
Where are the .w3x of the Orc Campaign located? |
| 12-21-2003, 02:58 AM | #10 |
In the war3x.mpq You have to extract those map with a mpq program. |
| 12-21-2003, 03:18 AM | #11 |
Darkone you need to change maps, then load the save game( on the map that it was saved from). |
| 12-21-2003, 03:35 AM | #12 | |
Quote:
What are the paths, and do I need that 1.13 list file thing? |
| 12-21-2003, 04:55 AM | #13 |
I save the game as Map1.w3z and change level to Map2.w3x the first time and I do save game as Map2.w3z(because now im in the second map) and load Map1.w3z but its doesnt work. Save and change work but Save and load doesnt. Can you show me the code or something. dragon, I dont know the path myself but its written in the list file. You dont extract it using the editor or using a trigger. You must use WinMPQ and the list file to extract it from the mpq then do what you want with it. For some unknow reason, WinMPQ AND WinRAR doesnt work on my comp so I cant tell you what exactly do. I got it from a friend. Wait a sec weedaar, Are you saying I have to do save as and change level to map2 then in map2 load the savedgame map2.w3z? This doesnt make sense because blizzard use a if/then/else in map1 to either save and change or save and load. As I said, show me an example please or are you just good talking? EDIT: Do you think simply use game cache and set next level could do the exact thing the save/load is supposed to? -You play map1,QuestCompleted is a boolean with false as default, if questcompleted = to false then run a cinematic called Cin1 -After the cinematic, the game change level to Map2 -You do the quest, change questcompleted to true, save to cache and return to map1 -In map1, load cache and if questcompleted = true then run Cin2. At the start of the map you need to make a boolean check to verify if theres a label called questcompleted. This is to check if the boolean was saved in the cache. If theres theres no label with questcompleted, then its the first time the map is run. I didnt test it(I will tomorrow) but I want to know if theres a way to make this more simple and if this could work. If its work, this means all the time save/load was useless and we could have done that since 1½ year. |
| 02-22-2004, 07:11 AM | #14 |
i tried to set the game cache in a linked map to set the quest req to be finished in the main map but there isn't any load quest req from game cache, i think that i'm going to set an integer variable to 1 if the quest is completed set it to 2 load the variable to the game cache and use if then to change the quest rec in the main map |
| 02-22-2004, 05:29 PM | #15 |
Stop with the thread necromancy. CLOSED |
