Posts from Scripts
Auto-translated
By the way, how do I know where to insert the "sleep" command?
If you still don't understand, the best thing to do is to open the map files of the original campaign and take a look at any MapScript.lua or script.lua or mapname_script.lua (there might be something like that in the original Heroes of Might and Magic V).
"The page is only available to authorized users."
I logged in with a password. It shows his detailed information, and that there are no entries on his wall.
He only posts maps for friends, or am I just slow? – Keep in mind that I've only been on this "VKontakte" for a week, and I don't know what to click on.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
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"
_________________
At the right moment, startThread(SulfurCheck). X, y, fl are coordinates, effect_type is the teleport effect type, from 1 to 4 (see Novik for details) or -1.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
Кампании: "Новый порядок", "Серый Альянс", "Поиски Истины"
Трейлер №2 кампании "Дыхание Пустоты": https://www.youtube.com/watch?v=XkHKXk5BctA&ab_channel=%D0%90ndrei_21
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
arts = {
[1] = {mass = 1},
[2] = {mass = 14},
[3] = {mass = 7},
[4] = {mass = 8},
[5] = {mass = 11},
}
function GetRandomArt()
local sum
local n
for id, props in arts do
sum = sum + props.mass
end
n = random(sum)+1
local start, finish, shift = 0, 0, 0
for id, props in arts do
finish = start + props.mass
if start<=n and n<finish then
return id
else shift = finish-start
start = finish
finish = start+shift
end
end
return 0
end
You can also manually create a table of 95 elements (not necessarily all of them), specifying a weight for each — the higher the weight, the greater the chance of it dropping.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
Кампании: "Новый порядок", "Серый Альянс", "Поиски Истины"
Трейлер №2 кампании "Дыхание Пустоты": https://www.youtube.com/watch?v=XkHKXk5BctA&ab_channel=%D0%90ndrei_21
Or, use the table method mentioned above.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________