Skip to content

Posts from Is it possible to edit objects on the map?

No ratings yet — be the first to rate!
Auto-translated
Is it possible to edit the parameters of objects on the map? If so, how? Specifically, I am interested in the Citadel of Enlightenment / Library of Enlightenment. Also, is it possible to set a timer for such buildings so that, for example, they can be visited again after a month?
User Avatar
Auto-translated
If by "parameters" you mean a bonus given to objects visited by a hero, then there are two options: 1. Create a mod. The mod will affect all objects on all maps, but this is elegant in its own way. If you dig through the game's resources and find the numbers that need to be changed... And if they can be changed. 2. Write a script. This eliminates the drawbacks of a mod; it always works and only affects the objects you want. You need to reset the object's standard trigger: SetObjectEnabled(object name in quotes, nil); And write your own touch trigger.
 

К А
Стикеры GBF в Telegram
In reply to Ment
Auto-translated
By parameters, I actually meant the stats that this object provides. I've never worked with scripts before, so it's a dark art for me. I tried to figure something out in the editor for a long time, but it was also unsuccessful, and in the game files, I found documents about this object, but I couldn't determine where the necessary parameters are, and whether they even exist there.
In reply to AcCaMuT
User Avatar
Auto-translated
AcCaMuT
By parameters, I actually meant the stats that this object provides. I've never worked with scripts, so it's a dark forest for me. I tried to figure something out in the editor for a long time, but it was also unsuccessful, and in the game files, I found documents about this object, but I couldn't determine where the necessary parameters are, and whether they even exist there.

It's much easier to study a couple of scripts than to dig through the game files and try to find something there.
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира

Statistics

Welcome our newest member: Emil