HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

importing custom files

03-30-2003, 10:59 AM#1
sheepofdoom
This might sound like a newbie question, but I'm having some problems importing files into a map. I have mpq2k, have successfully imported stuff a few months ago, and have read the tutes, so I think i know what I'm doing.

I am importing a custom humanabilityfunc.txt, orcabilitystrings.txt, humanabilitystrings.txt file using the lines:

mpq2k a a.w3m humanabilityfunc.txt humanabilityfunc.txt
mpq2k a a.w3m humanabilitystrings.txt humanabilitystrings.txt
mpq2k a a.w3m orcabilitystrings.txt orcabilitystrings.txt

and when I list the contents of the w3m file (using mpq2k l a.w3m) I can see the files there. Then without opening the map in an editor (I know this removes the attachments) I load the map in warcraft using my usual username. The changes are not made and the spells are still the same.

I have attached the map and the attachments in a zip file, because I am not sure if I've made a mistake in the txt files or whether they are not attaching.

Thanks,
SheepOfDoom

EDIT: I have also tried importing the files into the map as /unit/humanabilityfunc.txt etc.
03-30-2003, 12:47 PM#2
Guest
I recommend you use winmpq instead if you are having trouble with techmpq's syntax.
03-30-2003, 06:17 PM#3
Guest
You really messed that bugger up, and you took out the war3map files, and without them your screwed, but heres the map is with the files in and working.
03-30-2003, 09:34 PM#4
sheepofdoom
Thanks for your help :)

Any ideas how I managed to mess up the file? What should I do different next time? I simply extracted those txt files from the mpq, edited the fields and used mpq2k to attach them to the map. How did I manage to make that bad of a mess?

Thanks,
SheepOfDoom
03-31-2003, 09:06 AM#5
Krakou
You attached the files at the wrong location, they have to be in Units\

Use this syntaxe :
mpq2k a a.w3m humanabilityfunc.txt Units\humanabilityfunc.txt
mpq2k a a.w3m humanabilitystrings.txt Units\humanabilitystrings.txt
mpq2k a a.w3m orcabilitystrings.txt Units\orcabilitystrings.txt
03-31-2003, 09:50 PM#6
sheepofdoom
Thanks to everyone for their help, and Spectre for the map :)

It's working now. I think the main problem was the missing (listfile).

Thanks again,
SheepOfDoom