Skip to content

Posts from Scripts

4.8 (8 ratings)
User Avatar
Auto-translated
EnterEsc, I also have a pirated copy. But the manuals are included... Apparently, some pirates included manuals, while others didn't.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
Auto-translated
I tried to use the AllowPlayerTavernRace command to make it so that only heroes of a specific race could be recruited, but for some reason, the game still randomizes the initial pool of heroes from all races, despite the restrictions.
User Avatar
Auto-translated
As far as I remember, strict limitations on the number of heroes that can be recruited were successfully implemented in the last mission of the campaign for Arantir (Undead) in Tribes of the East. There, you can only recruit about 3-4 heroes, and all of them are Necromancers; no other types of heroes can be recruited. I need to take a look at how this is done there.
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
The simplest option in Map Properties => Heroes is to uncheck all heroes except for the desired faction. After that, you won't be able to hire them in the tavern.
С уважением, }{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
An even simpler solution has been found: in the map properties, there is a filter for the tavern for each individual player, where you can ban both individual heroes and entire factions.
User Avatar
Auto-translated
Yes, that's possible. But the method I mentioned above has a slight advantage: you can discard individual heroes you don't like, so I recommend using it.
С уважением, }{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
Good day, I'm having trouble again with simple scripts that display text messages :(
For some reason, when I write a script like this:

--Starting messages
path=GetMapDataPath();
MessageBox(path.."message-day1.txt");
function newday()
if GetDate(DAY)==2 then
MessageBox(path.."message-day2.txt");
end;
end;
Trigger(NEW_DAY_TRIGGER, "newday");

everything works perfectly, but when I try to expand these messages to include several other days:

--Starting messages
path=GetMapDataPath();
MessageBox(path.."message-day1.txt");
function newday()
if GetDate(DAY)==2 then
MessageBox(path.."message-day2.txt");
if GetDate(DAY)==3 then
MessageBox(path.."message-day3.txt");
if GetDate(DAY)==7 then
MessageBox(path.."message-day7.txt");
if GetDate(DAY)==9 then
MessageBox(path.."message-day9.txt");
end;
end;
Trigger(NEW_DAY_TRIGGER, "newday");

nothing happens, not even the initial message loads. Of course, the text documents with the desired names have been created:)
In reply to Ment
User Avatar
Auto-translated
Thank you very much, everything is working now.
Мои карты для:
Heroes 5: Битвы кланов - Борьба за ресурсы - Обитель друидов - Падший рыцарь - Побег
Heroes 4: Немеджихра - Приключения ифрита
Heroes 3: Крюлод и Таталия
Heroes 2: Вторжение - Эктор - Сэр Мильтен - Чёртовы Топи
Мой ютуб канал: Navkratis
In reply to Navkratis
User Avatar
Auto-translated
I am developing a cooperative scenario. I have created several combat scripts. When I launch the map through a single-player game, everything works perfectly. But when I launch it through multiplayer, the console says that the combat scripts are not available. Is there a way to make them work in multiplayer?
User Avatar
Auto-translated
in general, it's possible through an EXE patch; dredknight posted it here, and you can find the message in this thread. Currently, if I'm not mistaken, this patch is already used in RTA, although there's one problem that RedHeavenHero fixes with a rather crude method. I should say that I managed to find another way to fix it, but that's a secret for now.
Нет войне.
In reply to Gerter
User Avatar
Auto-translated
Yes, I found your conversation with Dreadnought. The problem is that the page opened by the link no longer exists. Could you upload this patch?
User Avatar
Auto-translated
Yes, here is the file I used to apply the patch.
Attachments 1
1 file attached • Total size: 772 B
Нет войне.
In reply to Gerter
User Avatar
Auto-translated
Thank you very much!

Added 40 minutes later
Excellent, everything works. Thank you again. You mentioned some kind of problem. What is it? Perhaps it will affect my map as well.

Statistics

Welcome our newest member: Emil