HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem with Abilities

02-05-2003, 12:53 AM#1
Guest
OK. I have a problem. I cannot get a new skill to research properly. Here is what I have done:

I have added new lines to these .slk files that add new units, skills and abilities:
AbilityData:
Alias = Aspn, Code = Awar, Uberalias = Aspn
UnitAbilities:
abliList = Aspn (for the correct unit)
UnitBalance:
upgrades = Rtsp (which is in the .txt files and UpgradeData)
UnitData
unitUI
UnitWeapons
UpgradeData:
Rtsp (added the line corresponding to the new race)

I have modified all the proper <race>.txt files to note all the icon posistions, tooltips, names, etc.

So far everything works fine. The units are there, they build the proper buildings, the buildings build the proper units. I can do armor and weapon upgrades, no problem. Heroes have the new skills on them, piece of cake.

The ability is a modification of the <Awar> ability (Pulverise) called <Aspn> (Spin Attack). The unit shows the ability (greyed out, because it is not yet researched). The Barracks has the ability ready to research. I click the icon, it researches. Once finished, the icon is removed from the barracks, but the ability is still greyed out on the unit (saying that it still needs to be researched).

If you need the files to look at tell me, and I will e-mail them to you. This is really bugging me, and I've been stuck on this for a while.

Cyclone Jack
02-05-2003, 05:31 PM#2
Guest
You need to edit the correct RACEabilityfunc.txt file which contains your "Aspn" ability. Then you need to edit its "Requires" field to:
"Requires=Rtsp" (assuming Rtsp is the upgrade the skill requires)