Skip to content

Posts from Scripts

4.8 (8 ratings)
User Avatar
#3335
Auto-translated
Don't know where to find a guide? Where are all the hero names, the list of spells, the creature numbers, etc.?
Dishonestly yours, Liza
User Avatar
#3336
Auto-translated
1. From which guide? 2. Do you need a list of IDs?
С уважением, }{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
#3337
Auto-translated
}{0TT@6bI4
1. Which guide are you referring to? 2. Do you need a list of IDs?

Yes, in the scripts, to place a hero or an army, you need to know their numbers. You can find the hero IDs in the settings, but the creature IDs are not labeled.
Dishonestly yours, Liza
User Avatar
#3338
Auto-translated
I understand that you watched Remix's guide on scripts; in the description, there's a link to download the archive, which contains what you're looking for. This guide is also available in the game's documents folder. Also, the most complete list of identifiers can be found in types.xml (data/data.pak/); use Ctrl+F to find, for example, CREATURE_PEASANT with its ID and then look further. You can also find their IDs in the creature parameters. https://yadi.sk/d/W6cz5UBu3SGAvb
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#3339
Auto-translated
Could you provide a script to prevent artifacts from being removed? I need a script that prevents a hero from equipping artifacts that cannot be transferred or removed. Thank you in advance.
User Avatar
#3340
Auto-translated
Could you please remind me? I've forgotten a bit. In the StartCombat script, I need to initiate a battle with 3rd-tier zombies, but I need their ID. Where can I find it?
User Avatar
#3341
Auto-translated
types.xml in data.pak or Ctrl+Space on any empty line in the script editor (this will open a new window with all the IDs).
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#3342
Auto-translated
Thank you for your help.
User Avatar
#3343
Auto-translated
Hello everyone! Can anyone tell me how to make a dialogue play only once? So that the scene plays just one time.
User Avatar
#3344
Auto-translated
In what sense? All dialogue scenes and mini-dialogues play once. Or you have strangely disguised a cyclically playing animation, or you are running a video in a (conditional) loop, or I definitely don't understand something :smile42:
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#3345
Auto-translated

The problem is that I created a dialogue with a script. In the game, the dialogue plays, but if the character stays in a region that is within the dialogue area, it will play again. If the character leaves and re-enters the region, the dialogue will be duplicated again. I'm attaching the function:

function Dialog1()
StartAdvMapDialog(0);
end;

Trigger (REGION_ENTER_AND_STOP_TRIGGER, "DialogeNA1", "Dialog1");

--

User Avatar
#3346
Auto-translated
Okay. After the line StartAdvMapDialog(0), set the trigger to zero:
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "DialogeNA1", nil)
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#3347
Auto-translated
Thank you. I tested the dialogues, and there are no more instances of this issue.
User Avatar
#3348
Auto-translated
Please help me understand. In the map editor, I open the arena object section, select, for example, a tombstone, change its model to that of a demon lord, and set the demon lord's animation. Now I have a demon lord that can be resized. I reduce its size by 4 times, place it on the map, and everything works fine. It is not a hero and cannot perform any actions, but how do I make it interactive, for example, so that if I touch it, some script is triggered? I tried to explain my problem, but it's difficult to put into words. If you happen to understand what I'm talking about, please help me figure it out.
User Avatar
#3349
Auto-translated
Return the model for the tomb.
https://vk.com/h5mmmapeditors?w=wall-197578149_8%2Fall
Detailed description can be found here.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________

Statistics

Welcome our newest member: Emil