Skip to content

Posts from Current questions and answers regarding the map editor. Auto-translated

5.0 (12 ratings)
User Avatar
#5356
Auto-translated
And for do blocks.
С уважением, }{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
#5357
Auto-translated
Thank you! And here's my last question: where can I find a list of available animations for creatures? Specifically, for catapults and ballistae – they aren't creatures in the traditional sense, but in campaign maps, they did have firing animations.
User Avatar
#5358
Auto-translated
In AdvMapXXXShared=>AnimSet=>animations

Shared can be found in the properties of any object (even static ones) => Shared. If you select any static object, click the three dots in Shared, and go to MapObjects/TESTS/, you can choose a tank, an airplane, or a catapult. Select one, click OK, and that's it. You've assigned a catapult object.
С уважением, }{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
#5359
Auto-translated
Great, thanks again!

Added 1 hour and 1 minute ago
Everything works in terms of animations. I decided to download the map scripts editor for convenience, but when I open the map, the editor gives an error: there is no .lua file, although the script is present in the main editor, but it is not in the map folder. Please advise on what to do.
User Avatar
#5360
Auto-translated
I've never encountered this error before. Could you please explain in more detail what's happening?
С уважением, }{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
#5361
Auto-translated
I open the map script editor, then I open my map with the script from the map editor, but the script editor gives an error: "error processing map.xdb".
User Avatar
#5362
Auto-translated
You can ignore this error. It appeared every time I opened the BTD_RMS map in the script editor, but it didn't affect anything. Probably because this map had the "rmg" tag.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#5364
Auto-translated
Could you send a screenshot of what you see on the left in the file tree?
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to HeroAlan
User Avatar
#5366
Auto-translated
Please check what’s wrong here. The attack animations work, and I was able to remove the skirts from the creatures, but the death animations are not displaying.
Attachments 1
1 file attached • Total size: 57.3 KB
In reply to HeroAlan
User Avatar
#5367
Auto-translated
HeroAlan
here
Just expand the Maps/ folder on the left in the directory tree!
С уважением, }{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
#5368
Auto-translated
Oh, I found it, thanks. And what about the animation of the undead? This is the last thing I need, and then I'll finally leave you alone, hehe.
In reply to HeroAlan
User Avatar
#5369
Auto-translated
HeroAlan
Please check what might be wrong here. Attack animations are working, I was able to remove skirts from the creatures, but death animations are not displayed.
The SetObjectEnabled function has a noticeable execution time: simply add sleep(1). I also recommend simplifying the structure:
do
local monsters={"Name1", "Name2", ... list here the names of all monsters that need to "die"}
for n, monster in monsters do
SetObjectEnabled(monster, nil)
sleep(1)
PlayObjectAnimation(monster, "death", ONESHOT_STILL)
end
end
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
In reply to HeroAlan
User Avatar
#5370
Auto-translated
HeroAlan
Oh, I found it, thanks! And what about the undead animation? This is the last thing I need, and then I'll finally leave you alone, hehe.
I'm not sure. You'll probably have more questions later.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________