Skip to content

Posts from Creating your own hero.

5.0 (1 rating)
User Avatar
Auto-translated
The following motivated me to create this guide:
a) In 9 pages of the topic, not everything about creating a hero was covered, and what was available was scattered across individual posts.
b) Over the past month, I had to answer questions about creating a hero three times.
Therefore, this guide contains everything you need to create your own hero. Following the guide, I was able to create this in 30 minutes (+ one day to find a nice icon):








Attachments 1
1 file attached • Total size: 2.3 MB
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
Auto-translated
Does anyone know how to replace a hero's model (skin) with a creature's model? For example, replace a hero-mage model with a battle mage model. And how can I create a custom specialization for a hero?
In reply to Callum
User Avatar
Auto-translated
I would ask that you avoid creating duplicate topics. The hero's specialization is created by scripts; how to change the skin can be found in the Manuals => /topic/at/1180764/
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to }{0TT@6bI4
User Avatar
Auto-translated
I followed the manual, but the created hero doesn't appear on the map.
In reply to Callum
User Avatar
Auto-translated
Remember the AdvMapHeroShared of your hero, place any hero on the map, and enter your hero's shared data. By default, this is Maps\SingleMissions\MapName\Name of the created hero resource.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to }{0TT@6bI4
User Avatar
Auto-translated
Thank you very much, I will try.
User Avatar
Auto-translated
I have another question. I searched through the thread about creating a hero, but I didn't find anything about this there. I want to give the hero the simplest specialization: for every 3 levels, he will gain +1 to his Knowledge skill. How can I do this?
In reply to Callum
User Avatar
Auto-translated
Callum
I have another question. I searched through the thread on creating heroes, but didn't find anything about this there. I want to give my hero the simplest specialization possible: for every 3 levels, he will gain +1 point to Knowledge. How can I do this?
Study the mechanics of NHF!
С уважением, Psatkha (Псатха)

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

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

NCF - мод, добавляющий дополнительных существ в HeroesV 3.1
In reply to Callum
User Avatar
Auto-translated
Or use scripts, but this will only work within the map. Attach the HERO_LEVELUP_TRIGGER, and in the function it triggers, add a check for divisibility by three (Level+1), and if it's true, increase the hero's knowledge by 1. But if you want to create a hero for the game as a whole, then yes, familiarize yourself with the principles of how game mechanics work in NHF.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to }{0TT@6bI4
User Avatar
Auto-translated
}{0TT@6bI4
Or use scripts, but this will only work within the map. Attach the HERO_LEVELUP_TRIGGER, and in the function it triggers, add a check for divisibility by three (Level+1), and if it's true, increase the hero's knowledge by 1. But if you want to create a hero for the game as a whole, then yes, familiarize yourself with the principles of how game mechanics work in NHF.
No, I was interested in creating a specialization strictly for a single scenario. Thank you, I'll try.

Added 23 minutes later
}{0TT@6bI4
Or use scripts, but this will only work within the map. Attach the HERO_LEVELUP_TRIGGER, and in the function it triggers, add a check for divisibility by three (Level+1), and if it's true, increase the hero's knowledge by 1. But if you want to create a hero for the game as a whole, then yes, familiarize yourself with the principles of how game mechanics work in NHF.
Could you tell me the symbol for checking the remainder of a division? % doesn't work; I don't know how it's implemented in LUA
In reply to Callum
User Avatar
Auto-translated
Nothing new: mod(x,n) determines the remainder of the division of x by n. If the remainder is zero, it means that x is divisible by n.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to }{0TT@6bI4
User Avatar
Auto-translated
}{0TT@6bI4
Nothing new: mod(x,n) determines the remainder of the division of x by n. If the remainder is zero, it means that x is divisible by n.
Thank you. I just got confused because in Python, mod is the same as %, so I looked it up in the Lua reference and found that it's implemented using the fmod module. Do I need to import anything beforehand?

UPD: Thanks again, it all works.
User Avatar
Auto-translated
Launch the advanced map editor mode, and in the main panel, find Resource. By the way, this isn't your map, is it – Archipelago of Life? If so, I'll delete that topic, and you can create a new one; is that okay?
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
Auto-translated
=======HOW TO CREATE A NEW SPECIALIZATION FOR YOUR HERO?======= I worked on it for a very long time because I kept switching between different ideas, but I finally finished it. I apologize for the long wait. The guide describes the process of creating new specializations in detail, but this does not mean that it exhaustively describes all the specializations you could come up with. I wish you a pleasant read, and may your new maps have new interesting heroes and equally interesting specializations for them!
Download
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________

Statistics

Welcome our newest member: Emil