| 09-22-2002, 06:15 PM | #1 |
I have two questions for those out there who have some experience fooling around with the slk files and whatnot. 1) How do I properly limit the levels at which a hero spell can be researched? For instance, I have made a new hero spell, Troll Frenzy, based on Bloodlust. I want it to act like a normal hero spell, so that if you research it at hero-level 1, you need to be hero-level 3 before you can research it again. As it stands now, I can have ability-level 3 at hero-level 3, which is obviously undesirable. There are two fields in the AbilityData.slk file, checkDep (check for dependency) and reqLevel (required level for first researching ability). Here's the lo-down: Both fields 0 --> Spell works perfectly, but can research al3 at hl3. One field 1, the other 0 --> Spell is disabled, replaced by a green box, and can still research al3 at hl3. Both fields 1 --> Spell is disabled, replaced by a green box, but now requires hl3 to get al2. Does anyone have any experience with this and know how to correct the problem ? I would be much obliged. And now my other question... 2) How do you make tooltips for buffs? Take a look at this pic. That's my Troll Frenzy at work, but I want it to say Troll Frenzy. I thought it was the "buffertip" field in the xAbilityStrings.txt files, but that turned out not to be it. Once again, I would be very appreciative of any help. |
| 09-15-2003, 02:18 AM | #2 |
Question 1 is quite easy to solve as follows: 1. Use TFT WE or UMSWE they both work here then go to the Object Editor (NOT Object Manager) 2. Go to the Abilities tab 3. Go to Bloodlust and make the following changes: 4. Stats - Hero Ability (Change to true) 5. Now click on another hero ability (I don't know why you need to do this, but it won't allow you to set the number of levels without this) Then open bloodlust again. 6. Stats - Levels (Set to 3 or however many you want) 7. Stats - Level Skip Requirem... (Set to 1) 8. Now set all the other data in the spell you would like. As for question 2 I am still searching for a method to affect buff icons and tooltips. |
