Posts from Mod requests (orders).
Блистает там воздушностью прогалин.
Но между кедров, полных тишиной,
Расщелина по склону ниспадала.
О, никогда под бледною луной
Так пышен не был тот уют лесной...
It is impossible to combine existing specializations.
In NHF, scripts are used to create new specializations, but their capabilities are limited.
Added 2 hours 27 minutes ago
Is my question really that difficult? Surely someone understands these scripts, so why not answer?
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).
----------------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?
And this, yes, is an array of various unicorns, obviously. It says so in the comment.
In the folder with the editor manuals, in the game folder. There's a file called IDs for scripts. And it contains everything.
And yes, that's an array of various unicorns, obviously. It says so in the comment.
This is in the NCF description. But only if you actually need to rework the influence on creatures from this mod; maybe you aren't using it.
Yeah.