Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5139
Auto-translated
Okay. This parameter determines what will be random: whether the player's affiliation or the city itself will be random, or whether it will be owned by someone or not.

Added 1 hour 13 minutes ago
planetixsixs
How do I create an animation for the destruction of a city or object on the map? (For example, in the Tribes of the East campaign, when a barbarian approaches or captures a hut or castle, and it collapses). And how do I create a script so that a siege of an enemy castle begins with a hero, so that the player can siege it themselves (so that there is no auto-battle)?
Look at the RazeTown and RazeBuilding functions. Inside them, you need to specify the name of the city/object, separated by a comma, and the path to the file of the object that should remain after the burning. The following address is recommended:
AdvMapStaticShared/_(AdvMapStaticShared)/Razed/NEEDED.xdb#xpointer(/AdvMapStaticShared).
You can start a manual siege in a similar way to the StartCombat function, using the SiegeTown function. You can study this function in detail here => https://yadi.sk/d/W6cz5UBu3SGAvb, in the Theory/Script Functions.pdf folder
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________

Statistics

Welcome our newest member: artem