Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
Auto-translated

Creature abilities are listed in the "abilities" column, and spells are listed in the "KnownSpells" column.

Attachments 1
1 file attached • Total size: 1.9 KB
С уважением, }{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 know that, but what if the creature doesn't have a spellbook initially? For example, I want to add the ability of invisibility, which can be activated, to ghosts, but they already have an ability to steal arrows, so that's why I had this question about adding a spellbook. Or, if I add a second active ability, will the spellbook become available automatically?
In reply to Dogenator
User Avatar
Auto-translated
Dogenator
I know, but what if the creature doesn't have a spellbook to begin with?
For example, I want to add the ability of invisibility to ghosts, which can be activated, but they already have an ability to steal arrows, so that's why I had this question about adding a spellbook.
Or, if I add a second active ability, will the spellbook become available automatically?
Why don't you try it yourself?
I added invisibility to the Ghosts, but if the spell isn't recorded in KnownSpells, the activation will be like that of a Stalker - as an ability.

If I remember correctly, not all activated abilities can be accessed through a spellbook, so it won't be possible for both "G-pike" and invisibility.

P.S. I'm talking about Ghosts, and you're talking about Spirits. Stealing ammunition cannot be accessed through a spellbook.
In reply to Dogenator
User Avatar
Auto-translated
Dogenator
I know that, but what if the creature initially doesn't have a spellbook?
For example, I want to add the ability of invisibility, which can be activated, to ghosts, but they already have an ability to steal arrows, so that's why I had this question about adding a spellbook. 
Or, if I add a second active ability, will the spellbook become available automatically?

Looks like I misled you a lot, lol. I somehow thought that it wasn't possible, although I haven't tried it myself before because I didn't need to.
It is possible, and it works.
Attachments 2
2 files attached • Total size: 256.3 KB
In reply to Mооnst@r
User Avatar
Auto-translated
Thank you for your help.
For some reason, I thought that creating a spellbook for units followed a different principle, so I decided to ask here.
User Avatar
Auto-translated

Hello everyone!

Could you please tell me in which file the path to the creature's camera is defined in the hiring/viewing window?

In reply to Dogenator
User Avatar
Auto-translated
Dogenator

Hello everyone!

Could you tell me in which file the path to the creature camera is defined in the hiring/viewing window?


UI/UIGameRoot.(UIGameRoot) look at
User Avatar
Auto-translated

Hello everyone.

A problem has arisen. I created another new hero; all paths are specified, and there definitely shouldn't be any errors. When launching the game, it says that the hero has no Selection, even though it is specified in the file.
Attachment 74230

I open it with the editor, and the Selection and Trace lines are empty, although they are specified in the file. Due to the large size of the map (almost 400mb), the editor glitches heavily and cannot save the changes made in it. The map file gets corrupted with the text "Archive truncated"

I tried packing the map via Resource -> Pack MOD, but it's the same story there.

I had an identical problem before, but I fixed it in the editor by entering the paths for the skirt and trace into the empty lines, but here I cannot use it.

I don't quite understand the nature of this error, as I have created dozens of new heroes before this and the game didn't complain, but now for some reason it doesn't see the paths to the hero's skirts and trace

UPD: I solved the problem by recreating the AdvMapHeroShared file. And by the way, it had the same things specified as in the first one. But why the error happened initially, I still don't understand

Attachments 1
1 file attached • Total size: 11.1 KB
User Avatar
Auto-translated

Here's another question:

I created new heroes, but during combat, when attacking or casting spells, there's no camera zoom, unlike with all the vanilla heroes.

In UIGameRoot.(UIGameRoot), I found the heroesCameras string, which lists the cameras for the hero classes, but it doesn't apply to the newly created heroes.

How can I add a camera to a new hero, and where is this configured?



Added 14 hours 55 minutes later
Only controls the viewing window, but not the zoom in combat, right?
In reply to Dogenator
User Avatar
Auto-translated
Dogenator

Another question:

I created new heroes, but in battle, during attacks or spellcasting, there's no camera zoom, like with all the vanilla heroes.

My hero has zoom during spellcasting, but his melee attack has become a ranged attack, and the zoom is gone. I don't know where this is configured individually, but in the game settings, you need to check the "Moving Camera" option.

Added after 14 hours 55 minutes
Dogenator
Doesn't that only control the viewing window, but not the zoom in battle?
Yes.
In reply to Mооnst@r
User Avatar
Auto-translated

Mооnst@r

My hero has a zoom effect when casting spells, but its melee attack has changed to a ranged attack, and the zoom effect is gone.
I don't know where to adjust this individually, but you need to check the "Moving Camera" option in the game settings.


I don't have zoom for either casting spells or ranged attacks. "Moving Camera" is enabled.

Did you replace an existing hero or create a new one?

In reply to Dogenator
User Avatar
Auto-translated
Dogenator



I don't have zoom, either when casting or during ranged attacks. "Moving camera" is enabled.

Did you replace an existing hero or create a new one?

Your Titan in the screenshot is casting Stone Spike.
Obvious advice: Only make the necessary changes in files like Titan-arena.(AnimSet).xdb, and then you'll keep the untouched

I replaced the hero. I don't think that's the issue.

P.S. The advice is questionable. Your Titan attacks with zoom, even though its attack has been modified. Perhaps if a creature doesn't have either a ranged attack or a cast ability initially, it won't have zoom either when you add everything.
Attachments 1
1 file attached • Total size: 226.7 KB
In reply to Mооnst@r
User Avatar
Auto-translated
I didn't quite grasp the point you were making. Are you using Titan as an example?

Am I correct in understanding that the animations are responsible for the zoom? I looked at the hero-arena.(AnimSet).xdb file, which contains the animations, as well as each individual animation, such as cast, attack00, and rangeattack. None of the files contain any mention of the camera or zoom.
In reply to Dogenator
User Avatar
Auto-translated
Dogenator

Hello everyone.

I have a problem. I created a new hero, all paths are specified, and there definitely shouldn’t be any errors. When I launch the game, it says that the hero has no Selection, but it is written in the file.
Attachment 74230

When I open it with an editor, the Selection and Trace lines are empty, although they are written in the file. Due to the large size of the map (almost 400 MB), the editor glitches badly and cannot save the changes made in it. The map file fails with the message "Archive broken".

I tried packing the map through Resource -> Pack MOD, but the same thing happens there.

I had exactly the same problem before, but I fixed it in the editor by adding skirt and trail paths to the empty lines, but now I can't use it.

I don't quite understand the nature of this error, because before that I created dozens of new heroes and the game didn't complain, but now it somehow doesn't see the paths to the hero's skirts and trails

UPD: I solved the problem by recreating the AdvMapHeroShared file. And by the way, it also contained the same information as the first one. But why the initial error occurred, I still don’t understand.

Somewhere during the process of making changes, a newer version of Shared was used, where this parameter was not specified. Recreating solves such a problem temporarily, either because the name is new, or the name is the same, but the modification date is later
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________

Statistics