Posts from Working with map objects without using the editor.
Yes, it's possible to do it without using the editor. Create a copy of the data.pak archive, extract the necessary files, copy them, and edit them using Notepad (xdb files can be edited with any text editor). Important: copy the files along with their folder paths.
Then, open the map file with any archiver and add the modified files, including their folders.
However, I believe this is beyond your current modding skills, and it would be better to first familiarize yourself with the basics; I can recommend a couple of resources that will help you understand everything.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
I'll add my question here as it's related to the same issue. I want to set up the main hero selection in the map editor, so that when creating a scenario in the game, the desired hero is already displayed in the hero selection window. Problem: the hero I need is in the campaign folder of the original game, which doesn't appear in the selection window, just like the Hammers of Fate campaigns. Can you suggest a solution?
Which hero do you need? All heroes from the original game and Hammers of Fate should be available in the map editor (including Godric, Frida, Duncan, and Saint Isabel, etc.). To allow selecting scenario-specific heroes, in AdvMapHeroShared, set Scenario Hero to false and Hide in editor to false for that hero.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
Which hero do you need? All the heroes from the original game and from the Tribes of the East are available in the map editor (including Godric, Frida, Duncan, and Saint Isabel, etc.). To make scenario heroes selectable when choosing a hero, set Scenario Hero to false and Hide in editor to false for that hero in AdvMapHeroShared.
But all heroes, except those that appear in scenarios and those that are in the campaigns of the Tribes of the East, are not displayed in the Mainhero setting.
Added 1 minute ago
I'm attaching a screenshot of the desired result.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
Then, I'm sorry, I don't understand what you want.
Added 1 minute ago
Try the option I suggested and check it in the game.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
You can. You place the hero on the map, then go to Map Properties => Players Properties => Player 1 => Main Hero => and select by name in Russian.
If it's not possible to customize the properties of map objects through the map editor.
I'm trying to create another town that has the same characteristics as the original, but with a different model.
When copying the properties of a standard town, half of the options are reset (Combat). And all the settings inside are also reset. Because of this, it's impossible to attack the town. I managed to solve the problem, but if there's a fort built in the town, the game crashes immediately.
Also, it's impossible to end the day because it also crashes. Manually re-setting the properties is very inconvenient and takes a long time, and it's not even certain that the changes will solve the problem. Is there a way to work with the same objects, but through the game files?
If you somehow managed to create a map.xdb file through the editor, you can edit it. If not, I don't know how to create it, but people have done it.
< Item href="#n:inline(AdvMapTown)" id="item_ххххххххххххх">
28
116
0
.....
Make a copy of the original and save it.
Close the Heroes editors and the game, open it with a normal text editor (if you have Notepad++, select Menu Language->XML). Search for this (using "AdvMapTown"), find the coordinates of the original town and the target town. Be careful when copy-pasting (do not change the position of town B). And your file should be correctly formatted (opening and closing tags). At the same time, close the editor or the game, as they may be using the file and prevent you from editing it during the replacement. Then replace it (open the map with WinRAR, go to the desired folder, drag the file into the desired folder. Don't forget to save the original first). If something goes wrong, restore the original file