HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

more slk woes (adding new units)

11-11-2002, 07:33 PM#1
Guest
what im trying to do is create a new race without overwriting any of the original ones. see the thread on race editing for how im selecting a new race. my issue here is on how to create new units. as a test, ive made a variation on the archer, we'll call it the dead cat for now. the dead cat has been referenced in the following slk and txt files:
NightElfUnitFunc.txt
NightElfUnitStrings.txt
UnitAbilities.slk
UnitBalance.slk
UnitData.slk
UnitUI.slk
UnitWeapons.slk
ive changed the slk files so that they no longer crash the game when the map is loaded (http://www.wc3campaigns.com/forums/s...?threadid=5847)
and so heres where im stuck now: the dead cat is set to be built by the ancient of war, and it is selectable on the ancients menu. but there is no gold or lumber cost that shows in the pop-up and if it is selected for training the ancient will just sit there never actually completing the dead cat. im also noticing that none of the changes ive made will show up in the world editor and im wondering if such a thing is possible, just to make my day easier. suggestions anyone?
11-11-2002, 09:21 PM#2
Guest
To have the world editor use the new data, place the edited files in your warcarft directory in the corresponding folders. (IE abilitydata.slk must go in the Units folder [units/abilitydata.slk])

As for the gold/lumber and building problems. The cost should be in the one of the slks (forgot which). I don't know what could be causing it not to build, but I do have one idea. If a unit (or anything really, ie upgrade) has a build time of zero, the progression bar will pop up, but it will never "start". You might have a similar problem.
11-11-2002, 09:31 PM#3
Guest
well what i just discovered is that if i load all the slk files into the war3patch.mpq as opposed to the map file, everything works fine, and i can see it all in the world editor. so now im wondering if maybe the patch file is still overriding the map in some ways. terribly mysterious