Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
Auto-translated
Please help me edit a hero and the additional troops below. Tents, ballistas, and carts have FavoriteEnemies and Talisman Level – what are these?
In reply to Kingof
User Avatar
Auto-translated
Kingof
Please help me edit the hero and the additional troops below. I have tents, ballistas, and wagons. What are FavoriteEnemies and Talisman Level?
FavoriteEnemies is the sworn enemy for elves. A clear example is the hero Dyraell, who initially has demons as her sworn enemies. Talisman Level is the number of starting spells for a barbarian hero. Barbarians have a total of 4 talismans with the spells "Summon Ship," "Call Reinforcements," "Astral Gate," and "Portal to Town," but they only appear at the start of the game if the hero has the necessary starting level to learn them. Otherwise, you can set up to 4 talismans (or even more, but the technical maximum is 4), but at the start, the hero will only have access to Summon Ship.
User Avatar
Auto-translated
Hello everyone!
I don't have the ability to test this, so I'll ask a deeply philosophical question:
Let's say several people are playing online. The OverrideObjectNameAndDescription function is working. One of the players has the text in Russian in their files, and the other has it in English.
Which one will be applied? Does it depend on the host, right? That is, if the host has Russian, then Russian will be applied...
What do you think?


Не уходи безропотно во тьму,
Будь яростней пред ночью всех ночей,
Не дай погаснуть свету своему!

Хоть мудрый знает – не осилишь тьму
Во мгле словами не зажжёшь лучей –
Не уходи безропотно во тьму.


                                                                                       
In reply to Jewily
User Avatar
Auto-translated
Jewill
Hello everyone!
I don't have the opportunity to test, so I'll ask a deeply philosophical question:
Let's say several people are playing online. The OverrideObjectNameAndDescription function is working. One of the players has the text in Russian in the files, and the other has it in English.
Which one will be applied? It depends on the host, right? That is, if the host has Russian, then Russian will be applied...
What do you think?
It depends on the content of the text file for each specific player.
In reply to Долгий
User Avatar
Auto-translated
Long

It depends on the content of the text file for each specific player.
So, each player will have their own text? Did I understand you correctly?
Interesting... thank you.
Okay, I'll test it through a virtual machine. It's still too raw to give to testers yet.


Не уходи безропотно во тьму,
Будь яростней пред ночью всех ночей,
Не дай погаснуть свету своему!

Хоть мудрый знает – не осилишь тьму
Во мгле словами не зажжёшь лучей –
Не уходи безропотно во тьму.


                                                                                       
User Avatar
Auto-translated
Hi! Basically, I want to create a hero and put all its files in one folder. For this, I chose the Characters folder, created a MyHero folder inside it, and then created Text, ModelAndAnim, and Music folders within MyHero. It seems to be working, but the hero's music doesn't play in the game. In the music file, I specified the following path: ..\Characters\Heroes\MyHero\Music\MyHeroMusic.ogg, but the music doesn't play. Where did I make a mistake? Or does the game not play music if it's not located in the same way as the developers' music, i.e., in the music folder?
User Avatar
Auto-translated
Yes, the music files should be placed inside the archives; alternatively, they can be placed in the "data" folder, and then the path to the music should be specified in the music properties as "../data/heroMusic/battleInTheSky.ogg".
С уважением, }{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
Yes, the music should be placed on top of the archives; you can also put it in the data folder, then specify it in the music properties as ../data/heroMusic/battleInTheSky.ogg
Okay, thank you)

Added 13 hours and 20 minutes later
Hello, could you please tell me how to add custom sounds to the game? I would really like to add one sound for the battle arena (at least to try it out), but I don't know how. I saw the sound files (like the sound of Biara laughing), and they have links to bin files. Is there a way to make my own sound into a similar file? Or can I only replace an existing one?
In reply to Азгалор
User Avatar
Auto-translated
Azgalor
Okay, thank you)

Added 13 hours 20 minutes ago
Hello, could you please tell me how to add my own sounds to the game? I would really like to add one sound for the battle arena (at least to try it out), but I don't know how. I saw files with sounds (like Biara's laughter), and they have links to bin files. Is there a way to make my own sound into a similar file? Or can I only replace an existing one?
It's easy to add your own sound. First, put the sound file in mp3 or ogg format into the Complete folder. Personally, I create the sound using the LoadingScreenSound parameter (this is the sound when the map starts, the monologues of heroes from 3.1). There, I create a new file (following the principle of adding your own image, but you don't need to change the parameters). The main thing is to set the is 3D parameter to false. Then, just export it. Now, a bin folder appears among the map files, and in the root folder, there is a sound file in xdb format with a link. Then, you can play this sound through the Play2DSound script directly in the arena or give this sound to a creature, like any other mod, by changing the link to your file. The main thing is to do this on a blank map first, and then manually add it to the main map. I hope I explained it clearly
Сценарий: "Наследие прошлого"
Кампании:
"
Новый порядок", "Серый Альянс""Поиски Истины"

Трейлер №2 кампании "Дыхание Пустоты": https://www.youtube.com/watch?v=XkHKXk5BctA&ab_channel=%D0%90ndrei_21

In reply to Andrei_21
User Avatar
Auto-translated
Andrei_21
Then we simply export it. Now, among the map files, a folder named "bin" appears, and in the root folder, there is a sound file in the xdb format with a reference.
And if it doesn't work? The desired sound is not exported to the map, the SrcName field remains empty, and there is no "bin" folder in the map folder.
In reply to Азгалор
User Avatar
Auto-translated
Azgalor
What if it doesn't work? The desired sound isn't exported to the map, the SrcName field remains empty, and there's no bin folder in the map folder.

Okay, there could be a few reasons. Perhaps you forgot to click Export in the list of files on the left. Changing the file extension to something else (wav or mp3, ogg is not supported, I just double-checked, sorry for the inaccuracy) might also help. If the editor still can't handle it, send it to me, and I'll try to upload the file myself.
Сценарий: "Наследие прошлого"
Кампании:
"
Новый порядок", "Серый Альянс""Поиски Истины"

Трейлер №2 кампании "Дыхание Пустоты": https://www.youtube.com/watch?v=XkHKXk5BctA&ab_channel=%D0%90ndrei_21

In reply to Andrei_21
User Avatar
Auto-translated
Andrei_21

Okay, there might be a few options. Perhaps you forgot to click Export in the list of files on the left due to inattention. Changing the file extension to something else (wav or mp3, ogg is not supported, I just rechecked, I apologize for the inaccuracy) might also help. If the editor still can't "handle" it, send it to me, and I'll try to upload the file myself.
I think I did everything as you described. I clicked New in LoadingScreenSound, created a file called Test_Stinger.xdb. In it, I unchecked Is3D, and then tried to load the sound in SrcName; it's on my desktop in mp3 format. I select it, but the editor doesn't react. That is, the xdb file appears in the map, and the index.bin was initially there (but then it disappeared for some reason), but the sound doesn't load into the map. And I don't understand what you mean by Export.
In reply to Азгалор
User Avatar
Auto-translated
Azgalor
I think I did everything as you described. I clicked "New" in LoadingScreenSound, created the Test_Stinger.xdb file. In it, I unchecked "Is3D," and then tried to load the sound in SrcName. The sound file is on my desktop in mp3 format. I select it, but the editor doesn't react. That is, the xdb file appears in the map, and the index.bin was initially there (although it disappeared later for some reason), but the sound doesn't load into the map. And I didn't quite understand what you meant by "Export."
The sound file needs to be placed in the Complete folder; otherwise, the game won't recognize it. That's probably why it wasn't working.
Сценарий: "Наследие прошлого"
Кампании:
"
Новый порядок", "Серый Альянс""Поиски Истины"

Трейлер №2 кампании "Дыхание Пустоты": https://www.youtube.com/watch?v=XkHKXk5BctA&ab_channel=%D0%90ndrei_21

In reply to Andrei_21
User Avatar
Auto-translated
Andrei_21

The sound file needs to be placed in the Complete folder; otherwise, the game won't recognize it. That's probably why it wasn't working.
I don't have such a folder.
In reply to Азгалор
User Avatar
Auto-translated
Azgalor
I don't have such a folder.

You need to create it directly in the game's folder. You can only add your own models, images, and music to the game through it. Otherwise, it won't work.
Сценарий: "Наследие прошлого"
Кампании:
"
Новый порядок", "Серый Альянс""Поиски Истины"

Трейлер №2 кампании "Дыхание Пустоты": https://www.youtube.com/watch?v=XkHKXk5BctA&ab_channel=%D0%90ndrei_21

Statistics

Welcome our newest member: Emil