| 11-22-2009, 12:11 PM | #1 |
Hi there. I've got 2 problems. When I open a TFT map provided by Blizzard for single games in map editor it's not correctly balanced (i.e. frost wyrms have piercing attack instead of magic, shops have other items than they should). However when I play that map in WarCraft everything is fine: all units have right attacks, abilities and armors - as long as the map is classified as a melee map. What if I want balanced units in my custom map? Is there any other way rather than edit all units by hand in the editor? Secondly I need a list of unit, item, doodads, etc. names. I mean those ones which are used for functions like CreateUnitByName. It is usually an English name without spaces, for example deathknight for Death Knight, blackcitadel for Black Citadel. The thing is that it's not always that name (like for barracks - it's because this name stands for orc barracks as well as for human ones) and also English isn't my native, so it happens that I don't know the English name. |
| 11-22-2009, 01:50 PM | #2 |
try selecting the melee data set under scenario -> map options. |
| 11-22-2009, 01:57 PM | #3 |
Wow, such a simple thing and did all that :D Thank you very much! What about names list? I thought of looking for that in WC3 mpq files, but didn't manage to find anything. |
| 11-22-2009, 02:01 PM | #4 |
You can get any unit's unit-type by making some sort of trigger to output a string of it using the Conversion: Convert Unit-Type To String option in the pull-down menu of available strings in GUI, or it's equivalent in jass, UnitId2String(GetUnitTypeId(GetTriggerUnit())). See attached map. |
| 11-22-2009, 02:49 PM | #5 |
Thanks for your time. It's helpful but I still need a list of those names. I wish to print it and use for my in-game command system for spawning units, killing them, setting mana, levels and more. My idea is that these names must be somewhere in WC3 files, just the question where. |
