Skip to content

NHF – new heroes for Heroes V 3.1.

User Avatar
#1341
Auto-translated
RedHeavenHero
Wouldn't it be easier to assign names in advance than to rework an entire object type? Otherwise, you'll end up with a ton of bugs; there's probably a reason why garrisons were separated into a separate type, and the developers likely had their reasons.
So, then you'll need to process the map files with your program. And you'll have to rework the standard ones yourself.
Okay. Then the Dwarf Preserve and garrisons can be included in the naming system.
We also need to write scripts for capturing mines, elementals, and other things...

Added 2 minutes later
This way, it will be possible to create perks to increase the reward from guarded objects, for example, add to the "trophies" perk, which will increase the chance of an artifact dropping. Or give this ability as a hero specialization.

Added 5 minutes later
We'll need a unified list of in-game names, like: nhf_garrison_ .. i
Then there's another problem: what if the garrisons in the map are already named by the creator? Then you'll have to either fix the Lua file simultaneously or add all the names to an array, if they exist, add the names of the non-existent ones to the array, and then count by index. The last option is optimal, but it requires checking for an existing name.

So, will you rework the program? And I'll change the existing maps.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...