HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cant find the spell i added

10-04-2002, 09:50 PM#1
Lochen
Ok i was trying to add a spell to my map by doing this

what i added to OrcAbilityFunc.txt

// Apocalypse
[AOap]
Art=ReplaceableTextures\CommandButtons\BTNFire.blp
Researchart=ReplaceableTextures\CommandButtons\BTNFire.blp
Buttonpos=3,2
Researchbuttonpos=3,0
Targetart=Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
Order=apoc

what i added to OrcAbilityStrings.txt

//Apoc
[AOap]
Name=Apocalypse
Tip=Apo|cffffcc00c|ralypse
Ubertip="Deals 300 damage to everyone within a radius of 100"
Researchtip="Learn Apoca|cffffcc00l|rypse."
Researchubertip="Deals 300 damage to everyone within a radius of 100"
Hotkey=L
Researchhotkey=L
Bufftip=Apocalypse

what i added to AbilityData.slk

AOap AOap AOap Apocalypse 1 1 0 hero 1 1 6 ground,structure,debris,enemy,neutral 0 1 0 30 100 1000 -


after that its all -'s

to implement i used mpq2k, i used a batch file that did this

O Lochen.w3m
A OrcAbilityFunc.txt Units\OrcAbilityFunc.txt
A AbilityData.slk Units\AbilityData.slk
A OrcAbilityStrings.txt Units\OrcAbilityStrings.txt
C Lochen.w3m

can anyone show me where it screwed up? it wont show up in the map :(
10-04-2002, 11:46 PM#2
Urakkia
You can't import slk files into maps. Well, you can, but it won't work. The slk files are automatically loaded into memory when war3 is started up, and they are ignored if placed into a map. What you need to do is import the slk into war3patch.mpq, and the spell should work. You won't be able to use it in multiplayer, but for single player it will work fine.
10-05-2002, 01:05 AM#3
samsuffy
Quote:
Originally posted by Urakkia
...What you need to do is import the slk into war3patch.mpq, and the spell should work. You won't be able to use it in multiplayer, but for single player it will work fine.


no, this spell wont work!
because you cant make really "new" spells
Making totally new entry in the slk, never create a spell.
The only thing you can do is a copy an existing spell,
and modify his effect (model and spell effect)





samsuffy
10-05-2002, 04:06 AM#4
Lochen
oh, the tutorial said that you could make a new spell that used the same logic as a previous one (I used starfall's logic, just edited timings and dmg etc) =/

/me adds another thing to the list of things he wants in the next patch :bgrun:
10-05-2002, 01:46 PM#5
Guest
Quote:
Originally posted by Lochen
oh, the tutorial said that you could make a new spell that used the same logic as a previous one (I used starfall's logic, just edited timings and dmg etc) =/

/me adds another thing to the list of things he wants in the next patch :bgrun:


thats correct, but you used code=aoap and that aint the starfall id code. What Nic meant and what samsuffy meant was that the code field(second collumn) for your spell must have an existing code in it. in this case, you used aoap, an unknown spell id code.

insert the starcall idcode in it: AEsf
then it works

of course, you will stumble upon a problem which I seem to camp since the beta=you cant change buffer art =P unless you override the old one
10-05-2002, 07:33 PM#6
Lochen
sigh... i guess ill wait until blizz allows slk's to be imported into the maps =/..

i wont hold my breate :(