HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell upgrades

01-19-2003, 08:33 AM#1
Xaran Alamas
ok could someone tell me how to set what a research well, researches? For an example I need to make Warlock Adept and Master training but I tried by just using shaman training but that didn't work it didn't give you the ability to use the upgraded spells so could someone tell me what I need to do to do this? Also any upgrade editing tuts would be appreciated.:D
01-19-2003, 02:52 PM#2
DoctorDoom
In the unit editor there is a section called researches available. Add whatever you want there.
01-19-2003, 05:42 PM#3
Xaran Alamas
nonono I know how to make something research an upgrade but what I mean is I don't know how to make an upgrade make a new spell available, like the shaman training for instance.
01-20-2003, 03:17 PM#4
BoddoZerg
You will need to extract the following files from War3.mpq:

OrcAbilityFunc.txt
OrcUnitFunc.txt
OrcUpgradeFunc.txt
OrcUpgradeStrings.txt
UpgradeData.slk

1) Go to UpgradeData. Copy the Shaman Training upgrade to a new line; rename its Code from Rost to Rokt, and change its Flag to a higher power of 2. The rest can remain the same.

2) Go to UpgradeFunc and UpgradeString. Copy and paste the "Shaman Adept/Master Training", and rename it to be "Warlock Adept/Master Training". Make sure to rename the four-letter code from [Rost] to [Rokt]. Also, change the button position to 2,2 so that it won't interfere with the shaman and witchdoctor.

3) Go to OrcAbilityFunc.txt. Find the Warlock skills that you want to require upgrades, and put in the requirements. For example, if you want Firebolt to require Adept Training, insert "Requires=Rokt". If you want it to require Master Training, insert "Requires=Rokt" and "Requiresamount=2".

4) Now go to OrcUnitFunc.txt. Find the Spirit Lodge, and in the section "Researches", add Rokt. (It should say : Researches=Rowt,Rost,Rokt) You can also add the Warlock in the "Builds=" section.

5) Now you are done with the MPQ editing. Insert the files into a fresh copy of War3Patch.mpq, then open up the map in World Editor. Go to the units editor, and if you didn't do it in OrcUnitFunc, set the Spirit Lodge to build Warlocks. Then go to the Warlock and set the following:
- set the gold/lumber/buildtime.
- set the HP a bit lower, since with Master Training he'll get +150 hp.
- set the "Upgrades Used" to "Orc Warlock Training". If you have done the MPQ editing right, you should see "Orc Warlock Training" show up in WorldEdit.

Now test your map, and see if master training works! If not, go back and make sure you've done everything right.
01-20-2003, 03:34 PM#5
Xaran Alamas
THANKS A LOT!!!!:D :D :D