Four problems

Status
Not open for further replies.
Level 5
Joined
Dec 2, 2009
Messages
94
I have a few problems:

1 .- Save a hero at a level that appears at the next level with the same objects, experience ... that the hero had in the previous level

2 .- I want the mouse cursor is placed on the humans and, instead get a random cursor

3 .- I want the gold from a gold mine falls one by one and, at the same time, workers collect the gold by twenties

4 .- I want to know where are the maps of the campaigns of Warcraft 3 (Silvermoon falls, the oracle...)

I hope you can help me
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
Only understandable question was 4.

You can get the campaigns from the data mpqs. The RoC mpq has RoC campagins, the expations mpq has the expansion campaigns and the patch mpq has the lattest versions of both. Basically extract the campaigns from the patch mpq using an mpq archive editor (yes they suck but they still work well enough to do this). You will need a patch mpq filelist inorder to find the campaigns or atleast look them up in the corrosponding mpqs which had the orignals.

The individual maps will eithor be given separatly (I doubt this) or as a WC3 campaign file. Simply open the WC3 campaign file in WE and select which maps you want to view / edit. Be warned that the lattest WC3 patch has been said to make some versions of the campaings unopenable due to curropted GUI. As a result it is advisiable to use the patched ones (they may be fixed) or download a GUI fix (which will stop the crash).
 
Level 8
Joined
Jan 8, 2010
Messages
493
you are talking about campaigns? :eek:

1. you should create a Game Cache. then save the hero's level, experience and items/objects with integers. when you load the next map, load the values of that hero's level, experience and items/objects from the Game Cache you made. note that you can't save items in the Game Cache, that's why i suggested you save them using integers. on the next map when you load that item integer, create an item equal to the value of that integer from your next map.

2. from what i understood is you want a mouse cursor (on campaign selection screen with the animated background) to be random. i don't think it's possible, since there are only 4 selectable cursors in the Campaign Editor. i don't know if importing a custom cursor can work, since i haven't yet did it.

3. modifying a worker's Harvest (Gold and Lumber) ability can make the worker harvest 20 gold, but at the same time it will also deduct 20 gold from a mine. it is not possible to make a worker take 20 gold from a gold mine but deduct 1 gold from it, unless it is triggered, or unless you make that gold mine a tree, switching both gold and lumber resources. (well, both need to be worked on :p)
 
Level 5
Joined
Dec 2, 2009
Messages
94
Thanks for answering, but:

1.-I meant to finish a level that the hero has experience and various objects. I want to know how to make to begin the next level, the hero has the same experience and the same objects

3.-I have seen levels in gold mine of gold decreases one by one and want to know how to do it

4.-I meant I wanted to know the path to the folder containing the maps of the campaigns of the game (The Invasion of Kalimdor, The scourge of the blood elves, The End of Eternity ...)
 
Level 4
Joined
Dec 12, 2008
Messages
98
well, you cant just open up the campaigns, they are in a "mpq" file. U need an program that opens the mpq file, just google on it. "mpq file opener" or something :p in that program open the file and u see a map named campaign. in that map are the campaign maps :)

EDIT: here is a program: click here
 
Level 3
Joined
Feb 23, 2010
Messages
73
well ok. let's explain one thing at a time.

-First off, the campaign maps are stored in war3.mpq or war3x.mpq (depending on what map you are looking for). The mpq files are sort of like a .zip file, but windows can't open it on its own. Download "winMPQ" (do a google search for "winMPQ") and use it to open war3.mpq (again, this file is in your Warcraft III folder, probably in C:/Program Files.)
Now search for the campaign map you are looking for, and extract it where you would like. You can now open it and edit it as you please.

-As for your mouse cursor: All you have to do is set the player race to human under Scenario/Player Properties. Make sure you X the fix player start location box, and once done, click on the forces tab. Now you want to X the "Use Custom Forces" box. Forces are like teams, so set everyone on the teams you want them on, then X the "Fixed Player Settings" Box. Now everyone will have a human cursor, because they are the human race.

-For your gold mining problem: You will open your object editor. Now click the abilities tab. Go into the "Special" Folder. Inside that, Go to the "Units" Folder. Now scroll down and click on the "Harvest (Gold and Lumber)" ability. Now look for the line that says "Data - Gold Capacity" It should be set to 10. to mine 20 gold at a time, change that number to 20. **This won't work for night elf wisps and undead acolytes**

- Finally, to solve your saving problem. You need to know a little bit about triggers and how to use them. this trigger will save your hero and his inventory and level for the next map. The save will take place when the game ends.

  • Events
    • Player - Player 1 (Red) leaves game with a victory
    • Player - Player 1 (Red) leaves game with a defeat
  • Conditions
  • Actions
    • Game Cache - Create a Game Cache from MapName.w3v
    • Game Cache - Store YourHero as Hero of Units in (last created game cache)
    • Game Cache - Save (last created game cache)
that is just a simple trigger that saves your hero to the file named MapName.w3v (You can chage MapName; for instance to CoolCampaign.w3v, just make sure when you load you type the filename correctly). You can use this same file to keep a save file of your hero through your entire campaign.
 
Status
Not open for further replies.
Top