Current time: 23.04.2024, 20:01 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Вопросы по моддингу
» (обсуждаем моддинг здесь)
Author Message
SergOz Offline

Posts: 1292
Post: #1801

Bes, спасибо. А то уже начал писать скрипт... Mail1
А это значение - это биты, или магическое число полученное при помощи философского камня?


Карта-мод "Война на Холсте"
25.07.2021 17:28
Find all posts by this user Quote this message in a reply
feanor Offline

Posts: 622
Post: #1802

Магическое число.
Точнее как, значение в UN:A - это индекс таблицы, в которой лежит обычная битовая маска. Изначально таблица предполагает фиксированный набор значений, но никто не мешает выйти за её пределы, и подобрать другое значение из совершенно не относящейся к ней области данных, которое, тем не менее, будет иметь похожий на требуемое набор битов.
25.07.2021 17:36
Find all posts by this user Quote this message in a reply
SergOz Offline

Posts: 1292
Post: #1803

(25.07.2021 17:36)feanor Wrote:  никто не мешает выйти за её пределы, и подобрать другое значение из совершенно не относящейся к ней области данных, которое, тем не менее, будет иметь похожий на требуемое набор битов.
36


Карта-мод "Война на Холсте"
25.07.2021 17:42
Find all posts by this user Quote this message in a reply
Bes Offline

Posts: 5422
Post: #1804

вообще, хорошо бы в справке иметь больше таких комбинированных комбинаций, типа "любая рука или кольцо" или "любая голова или плечи" 96-copy но не вижу в них смысла.
Эти "магические" числа легко узнать, просто в текстовике ставить крестики для конкретного арта, и уже в игре через !!UN:A#/2/?(getMask:y) смотреть эти значения... но мне лень.
25.07.2021 18:47
Visit this user's website Find all posts by this user Quote this message in a reply
SergOz Offline

Posts: 1292
Post: #1805

Bes, вот теперь я понял эту магию. 145
В дополнительных комбинациях тоже не вижу смысла - в Хелпе их достаточно. Только подправить бы опечатку...

P.S. Кстати теперь и в текстовике получилось установить желаемое... Сила магии! (когда её понимаешь)


Карта-мод "Война на Холсте"
(This post was last modified: 25.07.2021 19:26 by SergOz.)
25.07.2021 19:22
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #1806

Hi, anywhere I can find the latest stable Emerald plugin for ERA 3?

Tried the one from ERA+, looks like it has dependancy on Typhon Unsure

The download link from Feanor's thread on DF2 is also dead


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 12.08.2021 16:50 by Archer30.)
12.08.2021 15:21
Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #1807

Подскажите пожалуйста, где производится выбор анимации для стека, который бьют? Это группы кадров 3, 4 и 5.


Создал новый глобальный мод: WoG Ultra Edition
12.08.2021 19:10
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #1808

A new question from me. Is it true that there is no way to replace an item from WoG Option menu with .ers if the item no. is -1?
Image: Xcd2CpJ.png


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 14.08.2021 16:29 by Archer30.)
14.08.2021 16:28
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #1809

Archer30, seems so.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
14.08.2021 19:23
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #1810

Berserker, got it. I just replaced all -1 items with their actual numbers to make them editable with .ers Yes


Latest ERA mods and scripts in development - My GitHub
15.08.2021 16:58
Find all posts by this user Quote this message in a reply
daemon_n Offline
Administrators

Posts: 4338
Post: #1811

Вопросы насчёт случайных карт:

1) Как получить номер зоны на карте?
2) Как получить тип зоны на карте?
3) как получить имя используемого шаблона?

Всю информацию надо из всего возможного собрать, чтобы для объектов на стадии вогификации выставить частоту генерации.


Image: widget.png?style=banner2

Новейший Heroes 3 Launcher
23.08.2021 15:56
Visit this user's website Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #1812

В структе _ZoneSettings_ первое поле - это номер зоны, а второе - тип. Как получить имя шаблона, к сожалению, не знаю. Как выйти на саму структуру - тоже.


Создал новый глобальный мод: WoG Ultra Edition
23.08.2021 18:27
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #1813

Is there a way to set part of an object sprite with player colour in ERA?

I'm talking about "general" objects. Mithril Smelter for example, type 63, subtype 27
How to change the colour of the flag/object?

Or mayber I have to use 9 different sprites? Unsure


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 24.08.2021 01:37 by Archer30.)
23.08.2021 23:05
Find all posts by this user Quote this message in a reply
daemon_n Offline
Administrators

Posts: 4338
Post: #1814

Archer30, is that gif inside?

Mb just use IF:M^defname.def^;?


Image: widget.png?style=banner2

Новейший Heroes 3 Launcher
23.08.2021 23:55
Visit this user's website Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #1815

daemon_n, yes but that's not part of the question


Latest ERA mods and scripts in development - My GitHub
23.08.2021 23:57
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group