| 07-08-2003, 10:48 PM | #1 |
1. How do I make a stash? Like the one in the Bonus Orc Campaign. 2. This question is asked a lot, but I have'nt found a straight simple answer. How do I make the loading thing like in the Orc Campaign (when you enter a zone and a seperate map loads). Then you can go back to the main map. Thanks |
| 07-08-2003, 11:25 PM | #2 |
1. not sure. extract the map and look at the unit config. 2. it depends what u want. if you want to actually save the settings on the current map you're on, like in the orc campaign, it's not possible. for example if you killed so and so unit in that map, when you load it it'll be there again. Now if you just want to load a map, all you need to do is create a trigger and call load map action. I think it's under "game". The only thing you can save is what it'll let u save in the game cache. as far as the Orc campaign, I'd like to clarify for you. The function to save a map is available to anybody. it has nothing to do with triggerdata.txt, or triggerstrings.txt. the problem is that blizzard encoded it so that unless you can make the computer think you're blizzard, it won't do any thing. Now this might be adjustable by altering those two text files, or calling the original function from blizzard.j, or common.j, i'm not sure, but it's not a matter of the user being unable to call those functions. I hope that was clear. PM me if you're still confused. |
| 07-09-2003, 12:16 AM | #3 |
You cant blizzard did not enable that option in maps that dont have blizzard and it ony works on sigle player when you can use it. Blizzard said this was to stop hacking . You can link data from map to map thoght but you can save then open like in orc campain |
| 07-09-2003, 01:59 AM | #4 |
im making it for single player only. |
| 07-09-2003, 02:27 AM | #5 |
The stash is easy, just give a unit the inventory ability. There is one for each race and one for heros. The one for the races works like the stash where you can store the item, but can't use it. The one for the hero is the same except you can use the item. Basically, you could give a normal unit the ability to carry items. Hope that helps. |
