Skip to content

Posts from Changing a hero’s specialization and skills.

No ratings yet — be the first to rate!
#1
Auto-translated
Is it possible to change the specialization of a hero in a campaign? For example, could I give Ilay (instead of the useless Dark Ritual enhancement) Shadia's specialization (which reduces damage from ranged attacks)? Also, could I edit the starting skills to diversify the campaign playthrough?
In reply to }{0TT@6bI4
#3
Auto-translated
Thank you for the detailed instructions, Hottabych! If I understand correctly, I don't need to clone Eliah in the AdvHeroMap section, but simply change the specialization to evasion from dark_acolyte?
User Avatar
#4
Auto-translated
Yes, in AdvMapHeroShared, do exactly that, and everything will work as intended. Also, change the lines with the icon and description/name of the specialization to match those of the new bearer. For those who have the dark_acolyte, select all three fields: SpecializationIcon, Desc, and Name (click with Ctrl held down for each). Select the fields themselves, not their contents. Press Ctrl+C, then select the same fields for Elia and press Ctrl+V. If done correctly, the paths to the icon and the specialization description will change to the new ones.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to }{0TT@6bI4
#5
Auto-translated
That's exactly where I had trouble describing the specialist. I just couldn't set the path to the description. It kept resetting, and I couldn't enter it.
User Avatar
#6
Auto-translated
So, to highlight, and I repeat, you need to highlight not the content of the line, not the path. But the entire entry. It's called "SpecializationIconRef", just click on these words so that the entire line turns blue.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to }{0TT@6bI4
#7
Auto-translated
}{0TT@6bI4
To clarify, you need to highlight the entire row, not just the content of the string or the path. Specifically, highlight the entire field, which is called "SpecializationIconRef." Click on these words, and the entire row should turn blue.
Thank you, dear Hottab! It worked. I enjoyed playing through several campaigns with the new configuration. I noticed one thing: if you install a mod to unlock campaign heroes in scenarios, heroes with modified parameters will be missing when selecting them. For example, I can select Shadia with the spec_evasive specialization, but I can't select Ilia with the exact same specialization. Does the game consider them to be the same hero?
In reply to Nameless Hero
User Avatar
#8
Auto-translated
Nameless Hero

Thank you, dear Hottab! Everything worked out. I enjoyed playing through several campaigns with the new configuration. I noticed one thing: if you install a mod to unlock campaign heroes in scenarios, heroes with modified parameters will be missing when selecting. For example, I can select Shadia with the spec_evasive specialization, but I can't select Ilia with the exact same specialization. Does the game think they are the same hero?
Yes, in the mod that unlocks heroes (in addition to other important changes), the campaign heroes are modified - in their file, the "ScenarioHero" line has been changed from "true" to "false".

Your hero's file has priority because it is newer, which is why Ilia disappeared from the list.
Мои мини-моды

Мод RTF

Мои NCF существа
In reply to fktifzobr@mail.ru
#9
Auto-translated
fktifzobr@mail.ru
Yes, the mod that unlocks heroes (along with other important fixes) changes the campaign heroes – in their file, the line "ScenarioHero" is changed from "true" to "false".

Your hero's file has priority because it's newer, which is why Ilay disappeared from the list.

Can it be corrected using an editor?
#10
Auto-translated

I wanted to change Irann's starting skills, but in the end, I realized how completely incapable I am – I couldn't even figure out where to find the files where I could edit them. =\

In reply to BossGoblin
User Avatar
#12
Auto-translated
BossGoblin

I wanted to change Urunir's starting skills, but in the end, I realized I couldn't do it – I didn't even understand where to look for the files where I could edit this. =\

Well, if you're looking for Urunir, you need to find a mod that changes Urunir, and then see which files have been changed there – that's how I used to search.

Urunir's file: MapObjects\Dungeon\Urunir.(AdvMapHeroShared)
The skills are written like this:

           
                MASTERY_BASIC
                HERO_SKILL_LEARNING
           
       
       
            HERO_SKILL_INTELLIGENCE
       

I usually find the skill IDs using the map editor – I place the hero on the map, give him the skills I need (to access the hero and give him skills, you need to select him and press the spacebar), and then I look at the ID as in the screenshot (this window opens automatically when you launch the editor)
Attachments 1
1 file attached • Total size: 810.5 KB
Мои мини-моды

Мод RTF

Мои NCF существа
In reply to fktifzobr@mail.ru
#13
Auto-translated
Dear }{0TT@6bI4 and fktifzobr@mail.ru!
Is it possible to edit a hero in a custom campaign, and change their special ability and starting skills? I understand that if the campaign is running with a mod, it's a completely different story.
In reply to Nameless Hero
User Avatar
#14
Auto-translated
Nameless Hero
Dear }{0TT@6bI4 and fktifzobr@mail.ru!
Is it possible to edit a hero in a custom Campaign, and change their special ability and starting skills? I understand that if the Campaign uses a mod, it's a completely different story.
Hmm, there are a lot of nuances here.
What kind of hero are we talking about in the Campaign?
1) Standard hero
2) New hero
3) Modified standard hero

This determines where the file of the hero to be changed is located.
In the first case, there will be no hero file in the map; you need to extract it from data.pak.
In cases 2 and 3, the hero file will be in the map.

Nuance #2 - starting skills may be defined in the map, so they need to be changed in the map using the map editor (I might be wrong because I've never created Campaigns).

And there's also the factor of scripts - hero specializations may be implemented through scripts, so to change the specialization, you need to rewrite the scripts
Мои мини-моды

Мод RTF

Мои NCF существа
In reply to fktifzobr@mail.ru
#15
Auto-translated
fktifzobr@mail.ru
Hmm, a lot of nuances appear here.
What kind of hero is it in the campaign?
1) Standard hero
2) New hero
3) Modified standard hero

This determines where the file of the hero to be changed is located.
In the first case, there will be no hero file in the map; you need to extract it from data.pak.
In cases 2 and 3, the hero file will be in the map.

Nuance #2 - starting skills may be written in the map, so they need to be changed in the map using the map editor (I might be wrong because I've never made campaigns).

And there is also the factor of scripts - hero specializations may be made with scripts, so to change the specialization, you need to rewrite the scripts.

Let's say the heroes Maahir and Orlando from the "New Order" campaign. They seem to belong to the first case.

Statistics

Welcome our newest member: dodoD0D0