Skip to content

Posts from NHF – new heroes for Heroes V 3.1.

4.9 (16 ratings)
In reply to Dyrman
Auto-translated
Dyrman
Can you bring up the console in the game and see what error appears?
Some of the scripts from NHF don't work in this mod because not all scripting functions from 3.1 are implemented.
As I said before, there is no compatibility. It's pointless to try to configure it.
Oh, thanks, I forgot there was a console here, I'll check it out now.
Yes, I know that there is no full compatibility, I'm just experimenting.
In general, I looked and realized that it shouldn't work with this mod at all, because if NHF doesn't like something, it blocks it, so that, as I understand it, there would be no crashes, etc., and to see the error...
In reply to NoNas
User Avatar
Auto-translated
NoNas

Basically, I looked into it and realized that it shouldn't work with this mod at all, because if NHF doesn't like something, it blocks it to prevent crashes and so on, and to display the error...
It's simpler: the parts of the NHF code that use functions from version 3.1 simply crash with an error: "such-and-such function not found," after which the entire code of one running thread fails. The main culprit is the mod's executable for faster AI turns: it requests something that it cannot process.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Dyrman
Auto-translated
Dyrman
It's simpler than that: the parts of the NHF code that use functions from version 3.1 simply crash with an error: "such-and-such function not found," after which the entire code of a running thread fails. The main culprit here is the mod's executable for faster AI turns: it requests something that it cannot process.
Yes, I understood that:smile01: It's a pity that everything is so difficult...
In reply to NoNas
User Avatar
Auto-translated
NoNas
Yeah, I figured that out:smile01: It's a shame that everything is so difficult...
Yeah, single-player enthusiasts suffer more in this case. Those who play online or use a hotseat mod to enhance the AI don't really need it.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
User Avatar
Auto-translated
Guys, I installed the mod not so long ago, but the skills of the new heroes aren't working. I was playing with NCF... is it possible to play with NCF? And why is it happening that the skills don't work?
YAAAHOOOOOOO:smile14:
In reply to MARKELL KRAMMER
Auto-translated
MARKELL KRAMMER
Hey guys, I installed the mod not too long ago, but the new heroes' skills aren't working. I was playing with NCF... is it possible to play with NCF? And why is it happening that the skills don't work?
If I understand you correctly: there's a program called NHF MC in the archive - you need to first run the map through it...
Screenshot: http://www.mediafire.com/view/xe6ezt5zcaraimw/222.png
User Avatar
Auto-translated
Video about the league:
https://www.youtube.com/watch?v=Zohz2EOU05A
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
User Avatar
Auto-translated
Interesting mod, I should give it a try.
User Avatar
Auto-translated
Update for Mirazel... we recommend checking it out directly in the game!

Attachments 1
1 file attached • Total size: 180.1 KB
С уважением, Psatkha (Псатха)

---------------------------------------------

Неудачное планирование ведёт к неудаче ...

NCF - мод, добавляющий дополнительных существ в HeroesV 3.1
User Avatar
Auto-translated
Dyrman, which functions from 3.1 are used in NHF? Perhaps some of them can be replaced to make the mod compatible with 3.0 and EE (which, strictly speaking, is also 3.0).
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
Auto-translated
RedHeavenHero
Dyrman, which functions from 3.1 are used in NHF? Perhaps they can be replaced to make the mod compatible with 3.0 and EE (which, strictly speaking, is also 3.0).
It seems the creator of the EE mod has returned, and I hope he will update it based on all the scripts from 3.1.
In reply to RedHeavenHero
User Avatar
Auto-translated
RedHeavenHero
Dyrman, which functions from 3.1 are used in NHF? Perhaps some of them can be replaced to make the mod compatible with 3.0 and EE (which, strictly speaking, is also 3.0).
It is impossible to replace them all.
+ Added an additional parameter to the SetObjectPosition() function, it only works for heroes; fx specifies the teleportation effect number (-1 = default, 0 - disabled, 1 - warp, 2 - teleport, 3 - dimension door, 4 - town portal)
+ Added an additional parameter to the AddHeroCreatures(), RemoveHeroCreatures(), AddObjectCreatures(), RemoveObjectCreatures() functions, specifying the slot number for which the action should be performed (if possible)
+ Added new triggers for heroes: HERO_ADD_SKILL_TRIGGER, HERO_REMOVE_SKILL_TRIGGER, passed parameters: heroName, skill, mastery
+ Added a new trigger for heroes: HERO_TOUCH_TRIGGER (only for heroes that are disabled by the SetObjectEnabled() function)

New script functions:

+ floor(n) - returns the nearest lower integer value for n (example: floor(1.75) returns 1, floor(-3.7) returns -3)
+ ceil(n) - returns the nearest upper integer value for n (example: ceil(2.25) returns 3, ceil(-7.1) returns -8)
+ intg(n) - rounds n to the nearest integer (example: intg(4.5) returns 5)
+ frac(n) - returns the fractional part of a number (example: frac(1.23) returns 0.23)
+ round(n) - returns the integer part of a number (example: round(1.23) returns 1)

+ GetPlayerRace( playerId ) - returns the race of the player by his number
+ IsAIPlayer( playerId ) - returns 1 if the player is AI, 0 if human
+ GetPlayerTeam( playerId ) - returns the player's team number
+ GetPlayerNecroEnergy( playerId ) - returns the amount of dark energy for the player (for necromancers)

+ GetObjectArmySlotCreature( objName, slotIndex ) - returns the type and number of creatures in the slot slotIndex of the object objName
+ GetTownRace( townName ) - returns the race of the town
+ GiveHeroBattleBonus( heroName, bonusType, amount ) - gives the hero heroName a bonus for the next battle of type bonusType, in the amount of amount (see advmap-startup.lua for bonus types)

+ WarpToMap( mapdbid, playerId = -1 ) - starts another map, where the player will play as player playerId (only for single player)
+ WarpHeroExp( heroName, exp ) - sets the amount of experience (experience) of the hero (and therefore his level), does not affect skills, etc.

+ TalkBoxForPlayers( playersFilter, iconRef, iconTooltipRef, textRef, addTextRef, callback, mode, titleTextRef, selectTextRef, defaultOption, optionTextRef [, optionTextRef, ...] )
- opens a dialog with several answer options (from 1 to 5) for the selected players (playersFilter)
- the function does not issue error messages because if the parameters are incorrect, the default values are used
- iconRef - link to the texture of the icon
- iconTooltipRef - path to the text of the icon tooltip
- textRef - path to the text of the dialog
- addTextRef - path to the text of the dialog (additional)
- callback - string with the name of the lua function, through the first parameter of which the player's answer is reported (number: 0 - cancel, -1 - closed by the game, 1.. - the number of the answer chosen by the player)
- mode - mode: 0 - with an OK button, 1 - OK/Close
- titleTextRef - path to the text of the window title
- selectTextRef - path to the text of the title before the selection options
- defaultOption - the number of the answer that is highlighted by default (number: 0 - no, 1.. - the number of the answer)
- optionTextRef - path to the text of answer #1
- ... - path to the text of answer # ...
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
User Avatar
Auto-translated
HERO_TOUCH_TRIGGER
IsAIPlayer
GetTownRace
GiveHeroBattleBonus
It probably won't be possible to replace this. :( We'll have to wait until the engine supports all the features of 3.1.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
Auto-translated
RedHeavenHero
I don't think it can be replaced. :( We'll have to wait until it supports all the features of 3.1.
Yes, I hope they will fix it.

There's a bug in the game where clicking on the hero icon on the map doesn't always open the hero's window. Any ideas what might be causing this?
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
User Avatar
Auto-translated
Maybe, SetObjectEnabled / HERO_TOUCH_TRIGGER has a negative effect on heroes. After all, the trigger was added in 3.1, which means that no one has fixed the bugs found during its existence. It could also be that a function like AddObjectCreatures slows down the game and partially blocks the interface (as in RM). Or maybe the scripts just take a long time to load.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4

Statistics

Welcome our newest member: Emil