Skip to content

Mod requests (orders).

#350
Auto-translated
Ment
I haven't heard of NFS. If you mean NHF, then everything related to it is in the scripts. The easiest way is to run a search using the mask *.lua (I don't remember the exact name of the script file).
I made a slight mistake with the mod's name. There are 2 text files in it, one contains the essence of the specializations, and the other contains some quantitative values. In the first one, I found the following:
----------------VERES---------------------
NHF_Veres_textPath = "/MapObjects/Necropolis/NewHeroes/Veres/";
NHF_Veres_index_battle_next = -1;
NHF_Veres_kill_mass = {11,12,111,23,24,135,51,52,149,77,78,141,96,97,168,89, 90, 183, 337, 346, 349, 351, 372, 360, 223, 224, 248, 282, 284, 387, 400, 428, 277, 605}; --Array of Unicorns, Horses, Riders +NCF
function error_NHF_Veres_F ()
print("error:NHF_Veres_F");
end;
function NHF_HERO_F.Veres ()
errorHook(error_NHF_Veres_F);
local index_battle = GetLastSavedCombatIndex();
if (GetSavedCombatArmyHero(index_battle, 1)== "Veres") and (NHF_Veres_index_battle_next ~= index_battle) then
NHF_Veres_index_battle_next = index_battle;
local temp_name = NHF_tempName_F("Veres");
local count_stacks = GetSavedCombatArmyCreaturesCount(index_battle,0);
local id_creatures, count_creatures,dead_count ;
local itogo_dead_stacs = 0;
for i_kill = 0, count_stacks - 1 do
id_creatures, count_creatures, dead_count = GetSavedCombatArmyCreatureInfo(index_battle,0,i_kill);
for i, Veres_kill in NHF_Veres_kill_mass do
if Veres_kill == id_creatures then
itogo_dead_stacs = itogo_dead_stacs + dead_count;
break;
end;
end;
end;
itogo_dead_stacs = (itogo_dead_stacs*((NHF_Veres_percent_base)+(floor(NHF_Veres_percent*GetHeroLevel("Veres"))/100)));
if (itogo_dead_stacs > 0)and(itogo_dead_stacs < 1) then itogo_dead_stacs = 1 else itogo_dead_stacs = floor(itogo_dead_stacs) end;
if itogo_dead_stacs > 0 then
AddHeroCreatures("Veres", 90, itogo_dead_stacs );
startThread(NHF_ShowFlyMessage, {NHF_Veres_textPath.."NHF_Veres_prirost.txt";count_pribavka=itogo_dead_stacs},temp_name,5);
end;
end;
end;

But I don't understand scripts at all, I can only assume that the creatures are - NHF_Veres_kill_mass = {11,12,111,23,24,135,51,52,149,77,78,141,96,97,168,89, 90, 183, 337, 346, 349, 351, 372, 360, 223, 224, 248, 282, 284, 387, 400, 428, 277, 605}; Could you tell me if this is correct? And if so, where can I find the values of the arrays? If not, where exactly are these creatures defined?