| 12-29-2002, 07:37 AM | #1 |
Guest | I've just gotten around to playing with the spell editor and I'm having some troubles and I'm hoping for a little help. All I want to do is copy the Carrion Swarm spell and give it a new name and insert it into my map. I just want to learn how to use the MPQ thingy and the spell editor thingy. So I use excel to copy Carrion Swarm into a new line in the .slk and all I really change are the alias, code, and uber alias of the spell, which I change to BWbl for all 3, and the number of levels from 3 to 1 and the minimum level from 1 to 6. I then add this to undeadabilityfunc.txt: // Black Lotus [BWbl] Art=ReplaceableTextures\CommandButtons\BTNCarrionSwarm.blp Researchart=ReplaceableTextures\CommandButtons\BTNCarrionSwarm.blp Buttonpos=0,1 Researchbuttonpos=0,0 Missileart=Abilities\Spells\Undead\CarrionSwarm\CarrionSwarmMissile.mdl Missilespeed=1100 Specialart=Abilities\Spells\Undead\CarrionSwarm\CarrionSwarmDamage.mdl Order=carrionswarm and I add this to undeadabilitystring.txt // Black Lotus [BWbl] Name=Black Lotus Tip=|cffffcc00C|rarrion Swarm - [|cffffcc00Level 1|r],|cffffcc00C|rarrion Swarm - [|cffffcc00Level 2|r],|cffffcc00C|rarrion Swarm - [|cffffcc00Level 3|r] Ubertip="Sends a horde of bats to deal <AUcs,Data11> damage to each enemy unit in a line, up to <AUcs,Data12> max damage.","Sends a horde of bats to deal <AUcs,Data21> damage to each enemy unit in a line, up to <AUcs,Data22> max damage.","Sends a horde of bats to deal <AUcs,Data31> damage to each enemy unit in a line, up to <AUcs,Data32> max damage." Hotkey=C Researchtip="Learn |cffffcc00C|rarrion Swarm - [|cffffcc00Level %d|r]" Researchubertip="Sends a horde of bats to damage enemies. |n|n|cffffcc00Level 1|r - <AUcs,Data11> damage per unit, max <AUcs,Data12>. |n|cffffcc00Level 2|r - <AUcs,Data21> damage per unit, max <AUcs,Data22>. |n|cffffcc00Level 3|r - <AUcs,Data31> damage per unit, max <AUcs,Data32>." Researchhotkey=C I then put them into my map with WINMPQ so it looks like this: units\abilitydata.slk units\undeadabilityfunc.txt units\undeadabilitystrings.txt When I load up World Editor however my spell isn't listed under the name I gave it, it's listed as Unknow(BWbl) and when I give it to a hero to use it has no icon and can't be clicked or used. What gives? Thanks in advance for any help. |
| 12-29-2002, 08:06 AM | #2 | |||
Guest | Quote:
Don't change the "code". Only change the alias and uberalias. Quote:
You need to make a "local" folder in your War3 directory to in order for WE to see the changes. So create a folder called units\ in the War3 directory and put your files in it. Quote:
It looks like this... [0,0] [1,0] [2,0] [3,0] [0,1] [1,1] [2,1] [3,1] [0,2] [1,2] [2,2] [3,2] Your putting your spell in the [0,1] spot. Try changing that to [0,2] instead. Also, all your tooltip data has the Carrion Swarm title. You'll need to change that if you want the spell to look correct. |
