Skip to content
User Avatar
#3212
Auto-translated
Loli Nikita
Hello, I need help with a script, but I don't know how to do it. When interacting with a specific object, a dialog should appear, similar to the messagebox command, but with several answer options. Thank you in advance to whoever writes me how to implement this command.
And another question, is it possible and if so, how can I make a script that performs the following command: the hero can move around the map and explore areas, but only a small piece of the map around the hero will be visible, and the area beyond the hero's vision range will be black, thus allowing for a labyrinth where the hero can see only a little bit, and all the places he has been will not be visible on the map. I hope you understand what I wanted to ask, as I don't quite know how to explain my idea.
Hello. I won't provide the TalkBoxForPlayers function script here because everything is described in detail by the highly respected Jack_of_shadows.
Here is his material FAQ from Jack_of_Shadows
Be sure to check it out.
I assume you want to reduce the hero's view distance? Install an extended map editor (search online for how to do it). Then, View=>Game Database=>New Window.
Next, select Resource=>Select Tables=>Put ticks on all. Then open the map for which you need a reduced view distance. In the upper left window, click on the panel; a large list of "unclear" lines should appear. Look for something like RPGStats, although I can't say exactly. Click on it, and a folder will appear in the window; click on the plus sign, another one will appear; click on that too, then a gray inscription GameMechanics will appear; double-click on it. A table with values will appear in the lower left window. Click the plus sign next to adventure, find BaseHeroLookRange, and change it from 12 to 1, for example. Voila. I recommend disabling Scouting and Silent Stalker via script.Attention! After performing the described procedure to reduce the viewing range, your map will become a mod, and the viewing range will be reduced everywhere where there is your map nearby.

Added after 5 minutes
Loli Nikita
And another question, is it possible and if so, how can I make a script that performs the following command: the hero can move around the map and explore areas, but only a small piece of the map around the hero will be visible, and the area beyond the hero's vision range will be black, thus allowing for a labyrinth where the hero can see only a little bit, and all the places he has been will not be visible on the map. I hope you understand what I wanted to ask, as I don't quite know how to explain my idea.
I look forward to seeing your labyrinth) No offense to anyone and no self-praise; I hope my labyrinth will be a worthy response to yours, despite the lack of scripts and mods;)
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________