| 08-23-2003, 06:56 PM | #1 |
Hi! I've been trying lately to edit UpgradeData.slk to add my own upgrades for life, mana, armor, and damage. However, I can't seem to get any of my upgrades to work. Just about anything I change in the slk crashes the world editor when I click Player Settings, and the game just ignores my upgrades. I know it should be possible to set up upgrades for this; I've seen it before in a map called HeroQuest (I was actually trying to figure out how the map managed to gradually increase your hp, mana, and damage, and since the map was protected I had to open it up with WinMPQ, guess at the .j, and find that it used upgrades). Unfortunately, this map doesn't start anymore since 1.12 came out, so I can't even get the name of the mapmaker to put his name in the credits. Anyway, so I was wondering if there's a set of rules or directions or some kind of tutorial on how to edit this file, or if anyone has any information at all; I've searched the forums and found nothing on it. In the meantime, I'm going to start from square 1, and edit one piece at a time to isolate the problem. If there isn't a tutorial out there for 1.12, maybe I'll write one. Anyway, any help would be appreciated. [edit: I also don't have TFT; not sure if that would make a difference, but I'm just mentioning it in case it does.] |
| 08-23-2003, 07:40 PM | #2 |
Um... I think I figured out why it was crashing... Turns out that whatever you set the max level to, it tries to load that many of the upgrade into the upgrade tree in the upgrades screen. So turns out that 1000 * 12 turns out to be a lot, which explains why my system would complain about resources (you'd think 12000 entries in a list wouldn't take THAT many resources...) Anyway, I started over by copying the Human Melee Weapons upgrade and changing the id tag and a few other things, and I can't seem to get it to actually affect the unit. The upgrade is completely ignored, whether I use triggers or I set it as already researched in the upgrades screen. I'll keep trying to see if I can figure out what the problem is, but in the meantime, if anybody knows anything, once again please let me know. Thanks! |
| 08-23-2003, 07:59 PM | #3 |
Well, I know that problem and for my maps I have 2 Versions of UpgradeData.slk One with only 1 Level for all my Upgrades in my local Folder for WE and one with my 5000 Levels which will be used in game... Works like a charm for me |
| 08-24-2003, 08:02 PM | #4 |
Ah! Sounds like a great idea. There's only one problem; how do you get it to work??? I can't seem to make ANY changes that I make to either of UpgradeData.slk or HumanUpgradeStrings/Func.txt actually appear in game; I even tried changing the names in the txt files and base/mod values in the slk of existing upgrades such as Human Melee Attack, and this had no effect in game; the uprades remained the same. And yes, Allow Local Files is on. What am I doing wrong? |
| 08-24-2003, 08:24 PM | #5 |
Hmph. Interestingly enough, I embedded the files into my map, and they worked. Is there some reason these files don't work under Allow Local Files? |
| 08-25-2003, 04:36 AM | #6 |
GARR! I can't get this stupid thing to work outside of the map! I even tried replacing the files in War3Patch.mpq, and they still don't take effect! The only way I can get the game to read my modified slk is if I embed it in the map. This is ridiculous. I must be doing something wrong. Does anybody else have any problems like this?!? |
| 08-25-2003, 06:02 AM | #7 |
Yes, you'r doing something wrong, if you have the files in the units\ folder. This folder will work if you have it inside your map because files in the map have first priority. But if you use local files or your war3x.mpq the game first checks Custom_V1\Units\ and will use the files there if it finds them... So you will have to put them into your local Custom_V1\Units folder. Regards.. |
| 08-25-2003, 06:10 AM | #8 |
Thanks! -Why Custom_V1? For AbilityData.slk and the ability strings/func, i just put them in the WC3 root and it reads them. Anyway, I'll try that out and see what happens. Thanks! |
| 08-25-2003, 06:15 AM | #9 |
Er, it didn't work. I don't have TFT; does that make a difference? |
| 08-25-2003, 06:17 AM | #10 |
Look, there's an edit button. Try not to triple-post and double-post. :D |
| 08-25-2003, 09:51 AM | #11 |
If you don't have TFT it would be Custom_V0 for you. |
